Test Information

TitleRule5[Prefer outgoing interface] with temporary address
CommandLine./SrcSelectRule5_TempAddr.seq -pkt ./ADDR_SELECT.def -log 11.html -ti Rule5[Prefer outgoing interface] with temporary address
TestVersionREL_2_1_1
ToolVersionREL_3_3_2
Start2011/10/24 06:57:40
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:57:40Start

#### Test for Default Source Address Selection Rule5(Prefer outgoing interface) with temporary address ####
#### Jump to Test Result ####

#### Check 01: Start (Destination = 3fff::2
Candidate Source = 3ffd:: random%bge0(temporary), 3ffe::1%ue0, fec0::1%bge0, SOURCE4=fe80::021c:23ff:fe09:f4e8%bge0
Expected Source = 3ffd:: random%bge0(temporary)) ####


--- NUT Initialization ---

--- NUT: Add IPv6 Default Route (fe80::0200:00ff:fe00:0100) ---
06:57:40 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:07:03 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 enable temporary address ---
06:57:43 vRemote(useTempAddr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//useTempAddr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 useTempAddr=enable''
Connected

# 
# /sbin/sysctl net.inet6.ip6.use_tempaddr=1
net.inet6.ip6.use_tempaddr: 0 -> 1
# echo $status
0~
[EOT]

--- NUT enable temporary address : Success ---

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

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

--- NUT: Add IPv6 Address (3ffe::1/64 Link1) Success ---
06:57:46 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 
        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 
        inet6 3ffe::1 prefixlen 64 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]


--- Check Source Addresses (3ffe::1) ---
06:57:48Start Capturing Packets (Link1)
06:57:48Clear Captured Packets (Link1)
06:57:48 vSend(Link1,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:57:48 vRecv(Link1,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:57:48 vSend(Link1,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
06:57:48 vRecv(Link1,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:1319464668.275921
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:57:48 vRecv(Link1,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:1319464668.275921
vRecv() return status=1

--- Check Source Addresses (3ffe::1) : Success ---

--- NUT: Add Auto Configuration IPv6 Address (3ffd:: + NUT'sEUI64) ---
06:57:55 vSend(Link0,ra_NORMAL)
NUT <------------------- DefaultRouter : RA
06:57:55 Wait 5 second



--- NUT: Add IPv6 Address (fec0::1/64) ---
06:58:00 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 ---
06:58:03 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 3ffd::21c:23ff:fe09:f4e8 prefixlen 64 autoconf 
        inet6 3ffd::7025:975f:d222:c54c prefixlen 64 autoconf temporary 
        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 
        inet6 3ffe::1 prefixlen 64 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]


--- Check Source Addresses (fec0::1, , , ) ---
06:58:04Start Capturing Packets (Link0)
06:58:04Clear Captured Packets (Link0)
06:58:04 vSend(Link0,echo_request_DESTINATION2SOURCE1)
NUT <------------------- DefaultRouter : ICMPv6 Echo Request
06:58: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:58:05 vSend(Link0,na_DESTINATION_R_2NUT_TLLA)
NUT <------------------- Destination(offLink) : NA with TLLA & no R flag
06:58:05 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA ns_NUT2DEFAULT_ROUTER_noOPT ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT echo_reply_SOURCE12DESTINATION) timeout:7 cntLimit:0 seektime:1319464685.059280
NUT -------------------> DefaultRouter : ICMPv6 Echo Reply
06:58:05 vRecv(Link0,ns_NUT2DESTINATION_SLLA ns_NUT2DESTINATION_noOPT) timeout:7 cntLimit:0 seektime:1319464685.059280
vRecv() return status=1

--- Check Source Addresses (fec0::1 ) : Success ---

--- NUT: Delete IPv6 Address (3ffd::021c:23ff:fe09:f4e8/64) ---
06:58:12 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=3ffd::021c:23ff:fe09:f4e8 len=64 type=delete''
Connected

# 
# /sbin/ifconfig bge0 inet6 3ffd::021c:23ff:fe09:f4e8 prefixlen 64 delete
# echo $status
0
# ~
[EOT]

--- NUT: Delete IPv6 Address (3ffd::021c:23ff:fe09:f4e8/64) Success ---
06:58:14Start Capturing Packets (Link0)
06:58:14Clear Captured Packets (Link0)


--- NUT: Ping6 to 3fff::2 (Async) ---
06:58:14 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 3ffd::7025:975f:d222:c54c prefixlen 64 autoconf temporary 
        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 
        inet6 3ffe::1 prefixlen 64 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
# 
# echo $status
0~
[EOT]
06:58:16 vRemoteAsync(ping6.rmt) ``/usr/local/v6eval//bin/freebsd-i386//ping6.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 addr=3fff::2''

Link to remote control log
06:58:16 vRecv(Link0,ns_NUT2DEFAULT_ROUTER_SLLA_any ns_NUT2DEFAULT_ROUTER_noOPT_any ns_NUT2DESTINATION_SLLA_any ns_NUT2DESTINATION_noOPT_any echo_request_NUT2DESTINATION_oneof echo_request_NUT2DESTINATION_any) timeout:10 cntLimit:0 seektime:0
NUT(any Source) -------> Destination(offLink) : ICMPv6 Echo Request

#### Probably 3ffd::7025:975f:d222:c54c is temporary address. ####
06:58:20 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 3fff::2

PATTERN: 0x00
PING6(50=40+8+2 bytes) 3ffd::7025:975f:d222:c54c --> 3fff::2

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

#### Check 01: PASS ####

--- Delete All Source Addresses ---
06:58:21 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:58: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:58:24 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
3ffe::1 (3ffe::1) deleted
cannot locate 3ffe::3
fe80::5a55:caff:fe24:588d%ue0 (fe80::5a55:caff:fe24:588d%ue0) deleted
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]
06:58:29 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 ---

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

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

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

--- NUT disable temporary address ---
06:58:37 vRemote(useTempAddr.rmt) ``/usr/local/v6eval//bin/freebsd-i386//useTempAddr.rmt -t freebsd-i386 -u root -p v6eval -d cuau0 -o 1 useTempAddr=disable''
Connected

# 
# /sbin/sysctl net.inet6.ip6.use_tempaddr=0
net.inet6.ip6.use_tempaddr: 1 -> 0
# echo $status
0~
[EOT]

--- NUT disable temporary address : Success ---

#### Test (Test for Default Source Address Selection Rule5(Prefer outgoing interface) with temporary address) Result ####

Destination Address & Candidate Source AddressJudgment
01Destination = 3fff::2
Candidate Source = 3ffd:: random%bge0(temporary), 3ffe::1%ue0, fec0::1%bge0, SOURCE4=fe80::021c:23ff:fe09:f4e8%bge0
Expected Source = 3ffd:: random%bge0(temporary)
PASS
#### All Check: PASS ####
06:58:37End

Packet Reverse Log