Test Information

TitleExample 1 - 4[Prefer appropriate scope]
CommandLine./SrcSelectExample1.seq -pkt ./ADDR_SELECT.def -log 15.html -ti Example 1 - 4[Prefer appropriate scope]
TestVersionREL_2_1_1
ToolVersionREL_3_3_2
Start2011/10/24 07:08:29
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

07:08:30Start

#### Test for Default Source Address Selection Example 1 - 4 (Prefer appropriate scope) ####
#### Jump to Test Result ####

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


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
07:08:30 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) ---
07:08:30 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 (3ffe::1, , , ) ---
07:08:33Start Capturing Packets (Link0)
07:08:33Clear Captured Packets (Link0)
07:08:33 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
07:08:33 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
07:08:33 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
recv unexpect packet at 07:08:34
NUT(known Source) -----> Destination(offLink) : NS with SLLA
07:08:38 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag

--- Check Source Addresses (3ffe::1 ) : Success ---
07:08:38Start Capturing Packets (Link0)
07:08:38Clear Captured Packets (Link0)


--- NUT: Ping6 to 2001::1 %Link0 (Async) ---
07:08:38 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 
        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]
07:08:40 vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addr=2001::1''

Link to remote control log
07:08:40 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:0
NUT(known Source) -----> DefaultRouter : NS with SLLA
07:08:43 vSend(Link0,na_DEFAULT_ROUTER2NUT_TLLA)
NUT <------------------- DefaultRouter : NA with TLLA
07:08:43 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:1319465323.995746
NUT(Expected Source) --> Destination(offLink) : ICMPv6 Echo Request
07:08:44 vRemoteAsyncWait()

Link to remote control start point
sleep 3 [sec] for escaping critical point of asynchronous remoteconf.

Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 -I bge0 2001::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) 3ffe::1 --> 2001::1


--- 2001::1 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
# # echo $status
2~
[EOT]

#### Check 1: PASS ####

--- Delete All Source Addresses ---
07:08:45 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) ---
07:08:45 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 ---
07:08:48 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
cannot locate 3ffe::3
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate 3ffe:1234:1234:1234::2
cannot locate fec0::2
cannot locate 3fff::2
cannot locate 2001::3
cannot locate 3ffe:1234:1234:1235::3
cannot locate 3ffe:1234:1234:1234::3
cannot locate 3ffe::3
cannot locate 2002:c0a8:1::3
cannot locate fec0::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
fe80::200:ff:fe00:100%bge0 (fe80::200:ff:fe00:100%bge0) deleted
# 
# echo $status
0
# ~
[EOT]
07:08:53 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 3: Start (Destination = 2001::1
Candidate Source = fec0::1, , fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
07:08:58 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) ---
07:08:58 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 (fec0::1, , , ) ---
07:09:01Start Capturing Packets (Link0)
07:09:01Clear Captured Packets (Link0)
07:09:01 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
07:09:01 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
07:09:01 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
07:09:06 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag

--- Check Source Addresses (fec0::1 ) : Success ---
07:09:06Start Capturing Packets (Link0)
07:09:06Clear Captured Packets (Link0)


--- NUT: Ping6 to 2001::1 %Link0 (Async) ---
07:09:06 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 
        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]
07:09:08 vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addr=2001::1''

Link to remote control log
07:09:08 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:0
NUT(known Source) -----> DefaultRouter : NS with SLLA
07:09:11 vSend(Link0,na_DEFAULT_ROUTER2NUT_TLLA)
NUT <------------------- DefaultRouter : NA with TLLA
07:09:12 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:1319465351.998218
NUT(Expected Source) --> Destination(offLink) : ICMPv6 Echo Request
07:09:12 vRemoteAsyncWait()

Link to remote control start point
sleep 3 [sec] for escaping critical point of asynchronous remoteconf.

Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 -I bge0 2001::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) fec0::1 --> 2001::1


--- 2001::1 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
# # echo $status
2~
[EOT]

#### Check 3: PASS ####

--- Delete All Source Addresses ---
07:09:13 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) ---
07:09:13 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 ---
07:09:16 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
cannot locate 3ffe::3
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate 3ffe:1234:1234:1234::2
cannot locate fec0::2
cannot locate 3fff::2
cannot locate 2001::3
cannot locate 3ffe:1234:1234:1235::3
cannot locate 3ffe:1234:1234:1234::3
cannot locate 3ffe::3
cannot locate 2002:c0a8:1::3
cannot locate fec0::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
fe80::200:ff:fe00:100%bge0 (fe80::200:ff:fe00:100%bge0) deleted
# 
# echo $status
0
# ~
[EOT]
07:09:21 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 3: Start (Destination = fec0::1
Candidate Source = 2001::1, , fe80::021c:23ff:fe09:f4e8
Expected Source = 2001::1) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
07:09:26 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 (2001::1/64) ---
07:09:26 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=2001::1 len=64 type=unicast''
Connected

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

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

--- Check Source Addresses (2001::1, , , ) ---
07:09:29Start Capturing Packets (Link0)
07:09:29Clear Captured Packets (Link0)
07:09:29 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
07:09:29 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
07:09:29 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
07:09:34 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag

--- Check Source Addresses (2001::1 ) : Success ---
07:09:34Start Capturing Packets (Link0)
07:09:34Clear Captured Packets (Link0)


--- NUT: Ping6 to fec0::1 %Link0 (Async) ---
07:09:34 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 2001::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]
07:09:36 vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addr=fec0::1''

Link to remote control log
07:09:36 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:0
NUT(known Source) -----> DefaultRouter : NS with SLLA
07:09:39 vSend(Link0,na_DEFAULT_ROUTER2NUT_TLLA)
NUT <------------------- DefaultRouter : NA with TLLA
07:09:40 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_request_NUT2DESTINATION) timeout:10 cntLimit:0 seektime:1319465380.000549
NUT(Expected Source) --> Destination(offLink) : ICMPv6 Echo Request
07:09:40 vRemoteAsyncWait()

Link to remote control start point
sleep 3 [sec] for escaping critical point of asynchronous remoteconf.

Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 -I bge0 fec0::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) 2001::1 --> fec0::1


--- fec0::1 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
# # echo $status
2~
[EOT]

#### Check 3: PASS ####

--- Delete All Source Addresses ---
07:09:41 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 (2001::1/64) ---
07:09:41 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=2001::1 len=64 type=delete''
Connected

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

--- NUT: Delete IPv6 Address (2001::1/64) Success ---
07:09:44 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
cannot locate 3ffe::3
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate 3ffe:1234:1234:1234::2
cannot locate fec0::2
cannot locate 3fff::2
cannot locate 2001::3
cannot locate 3ffe:1234:1234:1235::3
cannot locate 3ffe:1234:1234:1234::3
cannot locate 3ffe::3
cannot locate 2002:c0a8:1::3
cannot locate fec0::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
fe80::200:ff:fe00:100%bge0 (fe80::200:ff:fe00:100%bge0) deleted
# 
# echo $status
0
# ~
[EOT]
07:09:49 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 4: Start (Destination = ff05::1
Candidate Source = fec0::1, 2001::1, fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
07:09:54 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) ---
07:09:55 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 (2001::1/64) ---
07:09:58 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=2001::1 len=64 type=unicast''
Connected

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

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

--- Check Source Addresses (fec0::1, 2001::1, , ) ---
07:10:01Start Capturing Packets (Link0)
07:10:01Clear Captured Packets (Link0)
07:10:01 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
07:10:01 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
07:10:01 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
NUT(known Source) -----> Destination(offLink) : NS with SLLA
07:10:06 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
07:10:06Start Capturing Packets (Link0)
07:10:06Clear Captured Packets (Link0)
07:10:06 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
07:10:06 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
07:10:06 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:0
vRecv() return status=1

--- Check Source Addresses (fec0::1 2001::1 ) : Success ---
07:10:13Start Capturing Packets (Link0)
07:10:13Clear Captured Packets (Link0)


--- NUT: Ping6 to ff05::1 %Link0 (Async) ---
07:10:13 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 2001::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]
07:10:15 vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 if=bge0 addr=ff05::1''

Link to remote control log
07:10:15 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_ON_LINK_SLLA ns_NUT2DESTINATION_ON_LINK_noOPT echo_request_NUT2DESTINATION_ON_LINK) timeout:10 cntLimit:0 seektime:0
NUT(Expected Source) --> Destination(onLink) : ICMPv6 Echo Request
07:10:18 vRemoteAsyncWait()

Link to remote control start point
sleep 3 [sec] for escaping critical point of asynchronous remoteconf.

Connected

# 
# /sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 -I bge0 ff05::1
PATTERN: 0x00
PING6(50=40+8+2 bytes) fec0::1 --> ff05::1


--- ff05::1 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
# # echo $status
2~
[EOT]

#### Check 4: PASS ####

--- Delete All Source Addresses ---
07:10: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 (fec0::1/64) ---
07:10: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=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 (2001::1/64) ---
07:10:23 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=2001::1 len=64 type=delete''
Connected

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

--- NUT: Delete IPv6 Address (2001::1/64) Success ---
07:10: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
cannot locate 3ffe::3
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
cannot locate 3ffe:1234:1234:1234::2
cannot locate fec0::2
cannot locate 3fff::2
cannot locate 2001::3
cannot locate 3ffe:1234:1234:1235::3
cannot locate 3ffe:1234:1234:1234::3
cannot locate 3ffe::3
cannot locate 2002:c0a8:1::3
cannot locate fec0::3
fe80::21c:23ff:fe09:f4e8%bge0 (fe80::21c:23ff:fe09:f4e8%bge0) deleted
# echo $status
0
# ~
[EOT]
07:10: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 ---

#### Test (Test for Default Source Address Selection Example 1 - 4 (Prefer appropriate scope)) Result ####

Destination Address & Candidate Source AddressJudgment
1Destination = 2001::1
Candidate Source = 3ffe::1, , fe80::021c:23ff:fe09:f4e8
Expected Source = 3ffe::1
PASS
3Destination = 2001::1
Candidate Source = fec0::1, , fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1
PASS
3Destination = fec0::1
Candidate Source = 2001::1, , fe80::021c:23ff:fe09:f4e8
Expected Source = 2001::1
PASS
4Destination = ff05::1
Candidate Source = fec0::1, 2001::1, fe80::021c:23ff:fe09:f4e8
Expected Source = fec0::1
PASS
#### All Check: PASS ####
07:10:35End

Packet Reverse Log