Title | Redirect vs RA w/ RouterLifetime=0 #2 |
CommandLine | ./hostRecvRedirect4RouterLifetime02.seq -pkt ./hostRecvRedirect4RouterLifetime02.def -log 73.html -ti Redirect vs RA w/ RouterLifetime=0 #2 |
TestVersion | REL_2_1_1 |
ToolVersion | REL_3_3_2 |
Start | 2011/10/24 01:41:54 |
Tn | .//tn.def |
Nu | /usr/local/v6eval//etc//nut.def |
Pkt | ./hostRecvRedirect4RouterLifetime02.def |
System | freebsd-i386 |
TargetName | freebsd-head |
HostName | ipv6-conf |
Type | host |
01:41:54 | Start |
Initialization |
|
01:41:54 | Start Capturing Packets (Link0) |
New LLA of TN: 00:00:00:00:01:e7 Set R1 as the default router |
|
01:41:54 |
vSend(Link0,ra_rone2allnode_sll unicast_na_rone2nut_RSO_tll) Router R1 sends RA w/ SLL, then STALE Router R1 sends NA w/ TLL, then REACHABLE |
Wait for DAD |
|
01:41:54 | vRecv(Link0,) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
Test *** Verify that the default router work *** |
|
01:41:57 |
vSend(Link0,echo_request_a) Send echo-request that is forwarded from the default router (R1) |
01:41:57 | vRecv(Link0,echo_reply_a) timeout:2 cntLimit:0 seektime:1319445717.835427 Got echo-reply that was thrown to the default router (R1) |
*** Verify that redirect work *** |
|
01:41:57 |
vSend(Link0,redirect_rone2nut_tll) Send redirect to the second router (TN) |
*** Verify that RouterLifetime=0 removes Destination Cache entry *** |
|
01:41:57 |
vSend(Link0,ra_tn2allnode_clrrtr) Send RA w/ RouterLifetime=0 |
01:41:57 |
vSend(Link0,echo_request_b) Send echo-request that is forwarded from the default router (R1) |
01:41:57 | vRecv(Link0,echo_reply_b echo_reply_b2 multicast_ns_nut2tnsol_sll) timeout:2 cntLimit:0 seektime:1319445717.925757 Got echo-reply that was thrown to the second router (TN) |
Redirect is accepted WARN: The echo-reply was thrown to the second router whose RouterLifetime is 0. *** The next step is to verify that NUD delete the redirected entry. *** Wait unicast NS |
|
01:41:57 | vRecv(Link0,) timeout:9 cntLimit:0 seektime:0 recv a packet at 01:42:02 recv a packet at 01:42:03 recv a packet at 01:42:04 vRecv() return status=1 |
01:42:06 |
vSend(Link0,echo_request_b) Send echo-request that is forwarded from the default router (R1) |
01:42:06 | vRecv(Link0,echo_reply_b echo_reply_b2 multicast_ns_nut2tnsol_sll) timeout:2 cntLimit:0 seektime:1319445726.984846 Got echo-reply that was thrown to the default router (R1) |
Redirect is ignored Termination |
|
01:42:07 |
vSend(Link0,ra_rone2allnode_clrrtr ra_tn2allnode_clrrtr) Clear R1 from the Default Router List Clear TN from the Default Router List |
*** OK *** |
|
01:42:07 | End |
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:01 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:96) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 56 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:56) | | | Type = 134 | | | Code = 0 | | | Checksum = 58617 calc(58617) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 600 | | | ReachableTime = 0 | | | RetransTimer = 0 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a0:a0 | | | Opt_ICMPv6_Prefix (length:32) | | | | Type = 3 | | | | Length = 4 | | | | PrefixLength = 64 | | | | LFlag = 1 | | | | AFlag = 1 | | | | RFlag = 0 | | | | Reserved1 = 0 | | | | ValidLifetime = 2592000 | | | | PreferredLifetime = 604800 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = fe80::21c:23ff:fe09:f4e8 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 40240 calc(40240) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:a0a0 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:a0:a0
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | | DestinationAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 55216 calc(55216) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = ffffffff ffffffff ffffffff ffffffff
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a0:a0 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 54960 calc(54960) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = ffffffff ffffffff ffffffff ffffffff ===echo_reply_a=================================
Frame_Ether (length:102) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:88) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 48 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = fe80::21c:23ff:fe09:f4e8 | | ICMPv6_Redirect (length:48) | | | Type = 137 | | | Code = 0 | | | Checksum = 28837 calc(28837) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:1e7 | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 00:00:00:00:01:e7
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:01 | | SourceAddress = 00:00:00:00:01:e7 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:1e7 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:16) | | | Type = 134 | | | Code = 0 | | | Checksum = 31049 calc(31049) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 0 | | | ReachableTime = 0 | | | RetransTimer = 0
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | | DestinationAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 29002 calc(29002) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:01:e7 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 28746 calc(28746) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc ===echo_reply_b================================= ng compare hether_nut2rone.DestinationAddress received:00:00:00:00:01:e7 = 00:00:00:00:a0:a0 ===echo_reply_b2=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:01:e7 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::21c:23ff:fe09:f4e8 | | | DestinationAddress = fe80::200:ff:fe00:1e7 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 17719 calc(17719) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:1e7 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:1c:23:09:f4:e8
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:01:e7 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::21c:23ff:fe09:f4e8 | | | DestinationAddress = fe80::200:ff:fe00:1e7 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 17719 calc(17719) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:1e7 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:1c:23:09:f4:e8
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:01:e7 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::21c:23ff:fe09:f4e8 | | | DestinationAddress = fe80::200:ff:fe00:1e7 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 17719 calc(17719) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:1e7 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 00:1c:23:09:f4:e8
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:1c:23:09:f4:e8 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | | DestinationAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | ICMPv6_EchoRequest (length:24) | | | Type = 128 | | | Code = 0 | | | Checksum = 29002 calc(29002) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc
Frame_Ether (length:78) | Hdr_Ether (length:14) | | DestinationAddress = 00:00:00:00:a0:a0 | | SourceAddress = 00:1c:23:09:f4:e8 | | Type = 34525 | Packet_IPv6 (length:64) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 24 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:21c:23ff:fe09:f4e8 | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:1e7 | | ICMPv6_EchoReply (length:24) | | | Type = 129 | | | Code = 0 | | | Checksum = 28746 calc(28746) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:16) | | | | data = cccccccc cccccccc cccccccc cccccccc ===echo_reply_b=================================
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:01 | | SourceAddress = 00:00:00:00:a0:a0 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:a0a0 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:16) | | | Type = 134 | | | Code = 0 | | | Checksum = 55951 calc(55951) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 0 | | | ReachableTime = 0 | | | RetransTimer = 0
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:00:00:00:01 | | SourceAddress = 00:00:00:00:01:e7 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::200:ff:fe00:1e7 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:16) | | | Type = 134 | | | Code = 0 | | | Checksum = 31049 calc(31049) | | | CurHopLimit = 0 | | | MFlag = 0 | | | OFlag = 0 | | | HFlag = 0 | | | Preference = 0 | | | Reserved = 0 | | | LifeTime = 0 | | | ReachableTime = 0 | | | RetransTimer = 0