Test Information

TitleRule1[Prefer same address]
CommandLine./SrcSelectRule1.seq -pkt ./ADDR_SELECT.def -log 2.html -ti Rule1[Prefer same address]
TestVersionREL_2_1_1
ToolVersionREL_3_3_2
Start2011/10/24 06:28:49
Tn/usr/local/v6eval//etc//tn.def
Nu/usr/local/v6eval//etc//nut.def
Pkt./ADDR_SELECT.def
Systemfreebsd-i386
TargetNamefreebsd-head
HostNameipv6-conf
Typehost

Test Sequence Execution Log

06:28:49Start

#### Test for Default Source Address Selection Rule1(Prefer same address) ####
#### Jump to Test Result ####

#### Check 01: Start (Destination = 3ffe::1
Candidate Source = 3ffe::1, fec0::1, fe80::021c:23ff:fe09:f4e8
Expected Source = 3ffe::1) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
06:28:49 vRemote(route.rmt) ``/usr/local/v6eval//bin/freebsd-i386//route.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 prefix=default cmd=add addrfamily=inet6 gateway=fe80::0200:00ff:fe00:0100 if=bge0''
Connected


FreeBSD/amd64 (ipv6-conf) (cuau0)

login: root
Password:
Last login: Tue Oct 25 02:05:52 on cuau0
FreeBSD 9.0-RC1 (HOWARD) #0 r226574M: Mon Oct 24 17:51:43 PDT 2011

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.

You have new mail.
# 
# /sbin/route add -inet6  default fe80::0200:00ff:fe00:0100%bge0
add net default: gateway fe80::0200:00ff:fe00:0100%bge0
# echo $status
0~
[EOT]

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100): Success ---
--- NUT Initialization : Success ---

--- NUT: Add IPv6 Address (3ffe::1/64) ---
06:28:52 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (3ffe::1/64) Success ---

--- NUT: Add IPv6 Address (fec0::1/64) ---
06:28:54 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (fec0::1/64) Success ---

--- Check Source Addresses (3ffe::1, fec0::1, , ) ---
06:28:57Start Capturing Packets (Link0)
06:28:57Clear Captured Packets (Link0)
06:28:57 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:28:57 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
06:28:57 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
06:28:57 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:1319462937.511050
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:28:57 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:1319462937.511050
vRecv() return status=1
06:29:04Start Capturing Packets (Link0)
06:29:04Clear Captured Packets (Link0)
06:29:04 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:29:04 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
06:29:04 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
06:29:04 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:1319462944.640588
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:29:04 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:1319462944.640588
vRecv() return status=1

--- Check Source Addresses (3ffe::1 fec0::1 ) : Success ---
06:29:11Start Capturing Packets (Link0)
06:29:11Clear Captured Packets (Link0)


--- NUT: Ping6 to 3ffe::1 ---
06:29:11 vRemote(showAddr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//showAddr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /sbin/ifconfig -a
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:1c:23:09:f4:e8
        inet6 fe80::21c:23ff:fe09:f4e8%bge0 prefixlen 64 scopeid 0x1 
        inet6 3ffe::1 prefixlen 64 
        inet6 fec0::1 prefixlen 64 
        nd6 options=8023<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL,DEFAULTIF>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 58:55:ca:24:58:8d
        inet6 fe80::5a55:caff:fe24:588d%ue0 prefixlen 64 scopeid 0x8 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]
06:29:13 vRemote(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 addr=3ffe::1''
Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 3ffe::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) 3ffe::1 --> 3ffe::1
10 bytes from 3ffe::1, icmp_seq=0 hlim=64

--- 3ffe::1 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
# echo $status
0~
[EOT]
06:29:14 vRecv(Link0,echo_request_NUT2DESTINATION_any echo_request_NUT2DESTINATION_ON_LINK_any) timeout:5 cntLimit:0 seektime:0
vRecv() return status=1

#### Please check by your eyes ####
#### Source address = Destination = 3ffe::1 ?####
#### Check 01: CEHCK ####

--- Delete All Source Addresses ---
06:29:19 vRemote(clearprefix.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearprefix.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nP
# echo $status
0~
[EOT]


--- NUT: Delete IPv6 Address (3ffe::1/64) ---
06:29:20 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (3ffe::1/64) Success ---

--- NUT: Delete IPv6 Address (fec0::1/64) ---
06:29:22 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (fec0::1/64) Success ---
06:29:25 vRemote(clearnc.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearnc.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nc
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate fec0::3
cannot locate 3ffe::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
# 
# echo $status
0
# ~
[EOT]
06:29:30 vRemote(cleardefr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//cleardefr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nR
# echo $status
0
# ~
[EOT]

--- Delete All Source Addresses and Clear prefix list : Success ---

#### Check 02: Start (Destination = fec0::1
Candidate Source = fec0::1, 3ffe::1, fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
06:29:34 vRemote(route.rmt) ``/usr/local/v6eval//bin/freebsd-i386//route.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 prefix=default cmd=add addrfamily=inet6 gateway=fe80::0200:00ff:fe00:0100 if=bge0''
Connected

# 
# /sbin/route add -inet6  default fe80::0200:00ff:fe00:0100%bge0
route: writing to routing socket: File exists
add net default: gateway fe80::0200:00ff:fe00:0100%bge0: route already in table
# echo $status
1~
[EOT]

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100): Success ---
--- NUT Initialization : Success ---

--- NUT: Add IPv6 Address (fec0::1/64) ---
06:29:35 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (fec0::1/64) Success ---

--- NUT: Add IPv6 Address (3ffe::1/64) ---
06:29:38 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (3ffe::1/64) Success ---

--- Check Source Addresses (fec0::1, 3ffe::1, , ) ---
06:29:40Start Capturing Packets (Link0)
06:29:40Clear Captured Packets (Link0)
06:29:40 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:29:40 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:29:40 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
06:29:45 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
06:29:45Start Capturing Packets (Link0)
06:29:45Clear Captured Packets (Link0)
06:29:45 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:29:45 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:29:45 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
06:29:50 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag

--- Check Source Addresses (fec0::1 3ffe::1 ) : Success ---
06:29:51Start Capturing Packets (Link0)
06:29:51Clear Captured Packets (Link0)


--- NUT: Ping6 to fec0::1 ---
06:29:51 vRemote(showAddr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//showAddr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /sbin/ifconfig -a
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:1c:23:09:f4:e8
        inet6 fe80::21c:23ff:fe09:f4e8%bge0 prefixlen 64 scopeid 0x1 
        inet6 fec0::1 prefixlen 64 
        inet6 3ffe::1 prefixlen 64 
        nd6 options=8023<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL,DEFAULTIF>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 58:55:ca:24:58:8d
        inet6 fe80::5a55:caff:fe24:588d%ue0 prefixlen 64 scopeid 0x8 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]
06:29:52 vRemote(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 addr=fec0::1''
Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 fec0::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) fec0::1 --> fec0::1
10 bytes from fec0::1, icmp_seq=0 hlim=64

--- fec0::1 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
# echo $status
0~
[EOT]
06:29:53 vRecv(Link0,echo_request_NUT2DESTINATION_any echo_request_NUT2DESTINATION_ON_LINK_any) timeout:5 cntLimit:0 seektime:0
vRecv() return status=1

#### Please check by your eyes ####
#### Source address = Destination = fec0::1 ?####
#### Check 02: CEHCK ####

--- Delete All Source Addresses ---
06:29:58 vRemote(clearprefix.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearprefix.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nP
# echo $status
0~
[EOT]


--- NUT: Delete IPv6 Address (fec0::1/64) ---
06:29:59 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (fec0::1/64) Success ---

--- NUT: Delete IPv6 Address (3ffe::1/64) ---
06:30:01 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (3ffe::1/64) Success ---
06:30:04 vRemote(clearnc.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearnc.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nc
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate fec0::3
cannot locate 3ffe::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
# echo $status
0
# ~
[EOT]
06:30:09 vRemote(cleardefr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//cleardefr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nR
# echo $status
0
# ~
[EOT]

--- Delete All Source Addresses and Clear prefix list : Success ---

#### Check 03: Start (Destination = fe80::021c:23ff:fe09:f4e8
Candidate Source = fe80::021c:23ff:fe09:f4e8, 3ffe::1, fec0::1
Expected Source = fe80::021c:23ff:fe09:f4e8) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
06:30:13 vRemote(route.rmt) ``/usr/local/v6eval//bin/freebsd-i386//route.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 prefix=default cmd=add addrfamily=inet6 gateway=fe80::0200:00ff:fe00:0100 if=bge0''
Connected

# 
# /sbin/route add -inet6  default fe80::0200:00ff:fe00:0100%bge0
route: writing to routing socket: File exists
add net default: gateway fe80::0200:00ff:fe00:0100%bge0: route already in table
# echo $status
1~
[EOT]

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100): Success ---
--- NUT Initialization : Success ---

--- NUT: Add IPv6 Address (3ffe::1/64) ---
06:30:14 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (3ffe::1/64) Success ---

--- NUT: Add IPv6 Address (fec0::1/64) ---
06:30:17 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=unicast''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 alias
# echo $status
0
# ~
[EOT]

--- NUT: Add IPv6 Address (fec0::1/64) Success ---

--- Check Source Addresses (3ffe::1, fec0::1, , ) ---
06:30:20Start Capturing Packets (Link0)
06:30:20Clear Captured Packets (Link0)
06:30:20 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:30:20 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:30:20 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
vRecv() return status=1
06:30:27Start Capturing Packets (Link0)
06:30:27Clear Captured Packets (Link0)
06:30:27 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:30:27 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:0
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:30:27 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
06:30:32 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag

--- Check Source Addresses (3ffe::1 fec0::1 ) : Success ---
06:30:32Start Capturing Packets (Link0)
06:30:32Clear Captured Packets (Link0)


--- NUT: Ping6 to fe80::021c:23ff:fe09:f4e8 %Link0 ---
06:30:32 vRemote(showAddr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//showAddr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /sbin/ifconfig -a
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
        ether 00:1c:23:09:f4:e8
        inet6 fe80::21c:23ff:fe09:f4e8%bge0 prefixlen 64 scopeid 0x1 
        inet6 3ffe::1 prefixlen 64 
        inet6 fec0::1 prefixlen 64 
        nd6 options=8023<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL,DEFAULTIF>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 127.0.0.1 netmask 0xff000000 
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 58:55:ca:24:58:8d
        inet6 fe80::5a55:caff:fe24:588d%ue0 prefixlen 64 scopeid 0x8 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]
06:30:34 vRemote(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addr=fe80::021c:23ff:fe09:f4e8''
Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 fe80::021c:23ff:fe09:f4e8%bge0
PATTERN: 0x00
PING6(50=40+8+2 bytes) fe80::21c:23ff:fe09:f4e8%bge0 --> fe80::21c:23ff:fe09:f4e8%bge0
10 bytes from fe80::21c:23ff:fe09:f4e8%bge0, icmp_seq=0 hlim=64

--- fe80::021c:23ff:fe09:f4e8%bge0 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
# echo $status
0~
[EOT]
06:30:34 vRecv(Link0,echo_request_NUT2DESTINATION) timeout:5 cntLimit:0 seektime:0
vRecv() return status=1

#### Please check by your eyes ####
#### Source address = Destination = fe80::021c:23ff:fe09:f4e8 ?####
#### Check 03: CEHCK ####

--- Delete All Source Addresses ---
06:30:39 vRemote(clearprefix.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearprefix.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nP
# echo $status
0~
[EOT]


--- NUT: Delete IPv6 Address (3ffe::1/64) ---
06:30:40 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=3ffe::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffe::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (3ffe::1/64) Success ---

--- NUT: Delete IPv6 Address (fec0::1/64) ---
06:30:43 vRemote(manualaddrconf.rmt) ``/usr/local/v6eval//bin/freebsd-i386//manualaddrconf.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addrfamily=inet6 addr=fec0::1 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 fec0::1 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (fec0::1/64) Success ---
06:30:45 vRemote(clearnc.rmt) ``/usr/local/v6eval//bin/freebsd-i386//clearnc.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nc
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate fec0::3
cannot locate 3ffe::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
# echo $status
0
# ~
[EOT]
06:30:50 vRemote(cleardefr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//cleardefr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 ''
Connected

# 
# /usr/sbin/ndp -nR
# echo $status
0
# ~
[EOT]

--- Delete All Source Addresses and Clear prefix list : Success ---

#### Test (Test for Default Source Address Selection Rule1(Prefer same address)) Result ####

Destination & Candidate SourceJudgment
01Destination = 3ffe::1
Candidate Source = 3ffe::1, fec0::1, fe80::021c:23ff:fe09:f4e8
Expected Source = 3ffe::1
CHECK
02Destination = fec0::1
Candidate Source = fec0::1, 3ffe::1, fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1
CHECK
03Destination = fe80::021c:23ff:fe09:f4e8
Candidate Source = fe80::021c:23ff:fe09:f4e8, 3ffe::1, fec0::1
Expected Source = fe80::021c:23ff:fe09:f4e8
CHECK
#### All Check: Please check by your eyes ####
06:30:55End

Packet Reverse Log