Title | Encapsulation in Host (Automatic Tunnel) |
CommandLine | ./automatic_encapsulation_host.seq -pkt ./automatic_encapsulation_host.def -log 2.html -ti Encapsulation in Host (Automatic Tunnel) |
TestVersion | REL_1_1 |
ToolVersion | REL_1_1 |
Start | 2000/07/31 19:32:09 |
Tn | /usr/local/v6eval//etc//tn.def |
Nu | /usr/local/v6eval//etc//nut.def |
Pkt | ./automatic_encapsulation_host.def |
System | kame-freebsd |
TargetName | FreeBSD-3.4 Release + KAME-stable-20000704 |
HostName | target1.toba.tahi.org |
Type | host |
19:32:09 | Start |
19:32:09 | Start Capturing Packets (Link0) |
19:32:09 | Clear Captured Packets (Link0) |
19:32:09 |
vSend(Link0,echo_request_tn2nut_LLA) send echo_request_tn2nut_LLA |
19:32:09 | vRecv(Link0,echo_reply_nut2tn_LLA ns_nut2tn_sourceLLA_targetLLA_nooption ns_nut2tn_sourceLLA_targetLLA_optionSLL ns_nut2tn_sourceGA_targetLLA_nooption ns_nut2tn_sourceGA_targetLLA_optionSLL) timeout:5 cntLimit:0 seektime:0 recv ns_nut2tn_sourceLLA_targetLLA_optionSLL |
19:32:09 |
vSend(Link0,na_tn2nut_sourceLLA_destinationLLA_targetLLA) send na_tn2nut_sourceLLA_destinationLLA_targetLLA |
19:32:09 | vRecv(Link0,echo_reply_nut2tn_LLA) timeout:5 cntLimit:0 seektime:0 recv echo_reply_nut2tn_LLA |
19:32:10 |
vSend(Link0,ra) send ra |
19:32:10 | Wait 5 second |
19:32:15 | Clear Captured Packets (Link0) |
--- TN can make TN's link local address NCE in TN --- |
|
19:32:15 | Clear Captured Packets (Link0) |
19:32:15 |
vSend(Link0,echo_request_tn2nut_GA) send echo_request_tn2nut_GA |
19:32:15 | vRecv(Link0,echo_reply_nut2tn_GA ns_nut2tn_sourceLLA_targetGA_nooption ns_nut2tn_sourceLLA_targetGA_optionSLL ns_nut2tn_sourceGA_targetGA_nooption ns_nut2tn_sourceGA_targetGA_optionSLL) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 19:32:15 recv ns_nut2tn_sourceGA_targetGA_optionSLL |
19:32:15 |
vSend(Link0,na_tn2nut_sourceGA_destinationGA_targetGA) send na_tn2nut_sourceGA_destinationGA_targetGA |
19:32:15 | vRecv(Link0,echo_reply_nut2tn_GA) timeout:5 cntLimit:0 seektime:0 recv echo_reply_nut2tn_GA |
--- TN can make TN's global address NCE in TN --- |
|
19:32:15 | Clear Captured Packets (Link0) |
19:32:15 |
vSend(Link0,echo_request_LINK0_v4_tn2nut) send echo_request_LINK0_v4_tn2nut |
19:32:15 | vRecv(Link0,arp_LINK0_nut2tn_request echo_reply_LINK0_v4_nut2tn) timeout:5 cntLimit:0 seektime:0 recv arp_LINK0_nut2tn_request |
19:32:16 |
vSend(Link0,arp_LINK0_tn2nut_reply) send arp_LINK0_tn2nut_reply |
19:32:16 | vRecv(Link0,echo_reply_LINK0_v4_nut2tn) timeout:5 cntLimit:0 seektime:0 recv unexpect packet at 19:32:16 vRecv() return status=1 |
TN(Router) can not receive arp request from NUTNUT can not convert v4 address to ethernet address !!NG |
|
19:32:21 | End |
Frame_Ether (length:68) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:54) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 14 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = fe80::200:ff:fe00:100 | | | DestinationAddress = fe80::2a0:24ff:fe95:a491 | | ICMPv6_EchoRequest (length:14) | | | Type = 128 | | | Code = 0 | | | Checksum = 46574 calc(46574) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = fe80::2a0:24ff:fe95:a491 | | | DestinationAddress = ff02::1:ff00:100 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 58639 calc(58639) | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:100 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:a0:24:95:a4:91 ===echo_reply_nut2tn_LLA================================= ng compare _HETHER_nut2tn.DestinationAddress received:33:33:ff:0:1:0 = 0:0:0:0:1:0 ng compare _HDR_IPV6_echo_reply_nut2tn_LLA.DestinationAddress received:ff02::1:ff00:100 = fe80::200:ff:fe00:100 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS ===ns_nut2tn_sourceLLA_targetLLA_nooption================================= ng count Packet_IPv6.ICMPv6_NS != Packet_IPv6.ICMPv6_NS ===ns_nut2tn_sourceLLA_targetLLA_optionSLL=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | 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:100 | | | DestinationAddress = fe80::2a0:24ff:fe95:a491 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 51801 calc(51801) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = fe80::200:ff:fe00:100 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:1:0
Frame_Ether (length:68) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 34525 | Packet_IPv6 (length:54) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 14 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = fe80::2a0:24ff:fe95:a491 | | | DestinationAddress = fe80::200:ff:fe00:100 | | ICMPv6_EchoReply (length:14) | | | Type = 129 | | | Code = 0 | | | Checksum = 46318 calc(46318) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff ===echo_reply_nut2tn_LLA=================================
Frame_Ether (length:110) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:0:0:0:1 | | SourceAddress = 0:0:0:0:1:0 | | 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:100 | | | DestinationAddress = ff02::1 | | ICMPv6_RA (length:56) | | | Type = 134 | | | Code = 0 | | | Checksum = 206 calc(206) | | | CurHopLimit = 254 | | | MFlag = 0 | | | OFlag = 0 | | | Reserved = 0 | | | LifeTime = 3600 | | | ReachableTime = 0 | | | RetransTimer = 1005 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:1:0 | | | Opt_ICMPv6_Prefix (length:32) | | | | Type = 3 | | | | Length = 4 | | | | PrefixLength = 64 | | | | LFlag = 1 | | | | AFlag = 1 | | | | Reserved1 = 0 | | | | ValidLifetime = 3600005 | | | | PreferredLifetime = 3600005 | | | | Reserved2 = 0 | | | | Prefix = 3ffe:501:ffff:100::
Frame_Ether (length:68) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:54) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 14 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100::1 | | | DestinationAddress = 3ffe:501:ffff:100:2a0:24ff:fe95:a491 | | ICMPv6_EchoRequest (length:14) | | | Type = 128 | | | Code = 0 | | | Checksum = 10481 calc(10481) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:a0:24:95:a4:91 | | | SenderPAddr = 192.168.0.2 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.1 | [Needless] (length:18) | | data = 00010001 00010001 00010001 00010001 0001 ===echo_reply_nut2tn_GA================================= ng compare _HETHER_nut2tn.DestinationAddress received:ff:ff:ff:ff:ff:ff = 0:0:0:0:1:0 ng compare _HETHER_nut2tn.Type received:2054 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_ARP ===ns_nut2tn_sourceLLA_targetGA_nooption================================= ng compare HETHER_nut2tn_oneof.DestinationAddress received:ff:ff:ff:ff:ff:ff = oneof(tnether(),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,v6merge("3ffe:501:ffff:100::",64,v6("::1")))),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,tnv6()))) ng compare HETHER_nut2tn_oneof.Type received:2054 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_ARP ===ns_nut2tn_sourceLLA_targetGA_optionSLL================================= ng compare HETHER_nut2tn_oneof.DestinationAddress received:ff:ff:ff:ff:ff:ff = oneof(tnether(),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,v6merge("3ffe:501:ffff:100::",64,v6("::1")))),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,tnv6()))) ng compare HETHER_nut2tn_oneof.Type received:2054 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_ARP ===ns_nut2tn_sourceGA_targetGA_nooption================================= ng compare HETHER_nut2tn_oneof.DestinationAddress received:ff:ff:ff:ff:ff:ff = oneof(tnether(),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,v6merge("3ffe:501:ffff:100::",64,v6("::1")))),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,tnv6()))) ng compare HETHER_nut2tn_oneof.Type received:2054 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_ARP ===ns_nut2tn_sourceGA_targetGA_optionSLL================================= ng compare HETHER_nut2tn_oneof.DestinationAddress received:ff:ff:ff:ff:ff:ff = oneof(tnether(),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,v6merge("3ffe:501:ffff:100::",64,v6("::1")))),v62ethermulti(v6merge("FF02:0:0:0:0:1:FF00:0000",104,tnv6()))) ng compare HETHER_nut2tn_oneof.Type received:2054 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_ARP
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 33:33:ff:0:0:1 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100:2a0:24ff:fe95:a491 | | | DestinationAddress = ff02::1:ff00:1 | | ICMPv6_NS (length:32) | | | Type = 135 | | | Code = 0 | | | Checksum = 22801 calc(22801) | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100::1 | | | Opt_ICMPv6_SLL (length:8) | | | | Type = 1 | | | | Length = 1 | | | | LinkLayerAddress = 0:a0:24:95:a4:91 ===echo_reply_nut2tn_GA================================= ng compare _HETHER_nut2tn.DestinationAddress received:33:33:ff:0:0:1 = 0:0:0:0:1:0 ng compare _HDR_IPV6_echo_reply_nut2tn_GA.DestinationAddress received:ff02::1:ff00:1 = 3ffe:501:ffff:100::1 ng meta Packet_IPv6.ICMPv6_EchoReply != Packet_IPv6.ICMPv6_NS ===ns_nut2tn_sourceLLA_targetGA_nooption================================= ng compare _HDR_IPV6_ns_nut2tn_sourceLLA_targetGA_nooption.SourceAddress received:3ffe:501:ffff:100:2a0:24ff:fe95:a491 = fe80::2a0:24ff:fe95:a491 ng count Packet_IPv6.ICMPv6_NS != Packet_IPv6.ICMPv6_NS ===ns_nut2tn_sourceLLA_targetGA_optionSLL================================= ng compare _HDR_IPV6_ns_nut2tn_sourceLLA_targetGA_optionSLL.SourceAddress received:3ffe:501:ffff:100:2a0:24ff:fe95:a491 = fe80::2a0:24ff:fe95:a491 ===ns_nut2tn_sourceGA_targetGA_nooption================================= ng count Packet_IPv6.ICMPv6_NS != Packet_IPv6.ICMPv6_NS ===ns_nut2tn_sourceGA_targetGA_optionSLL=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 58 | | | HopLimit = 255 | | | SourceAddress = 3ffe:501:ffff:100::1 | | | DestinationAddress = 3ffe:501:ffff:100:2a0:24ff:fe95:a491 | | ICMPv6_NA (length:32) | | | Type = 136 | | | Code = 0 | | | Checksum = 63452 calc(63452) | | | RFlag = 1 | | | SFlag = 1 | | | OFlag = 1 | | | Reserved = 0 | | | TargetAddress = 3ffe:501:ffff:100::1 | | | Opt_ICMPv6_TLL (length:8) | | | | Type = 2 | | | | Length = 1 | | | | LinkLayerAddress = 0:0:0:0:1:0
Frame_Ether (length:68) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 34525 | Packet_IPv6 (length:54) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 14 | | | NextHeader = 58 | | | HopLimit = 254 | | | SourceAddress = 3ffe:501:ffff:100:2a0:24ff:fe95:a491 | | | DestinationAddress = 3ffe:501:ffff:100::1 | | ICMPv6_EchoReply (length:14) | | | Type = 129 | | | Code = 0 | | | Checksum = 10225 calc(10225) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff ===echo_reply_nut2tn_GA=================================
Frame_Ether (length:48) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2048 | Packet_IPv4 (length:34) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 34 | | | Identifier = 0 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 14983 calc(14983) | | | SourceAddress = 192.168.0.1 | | | DestinationAddress = 192.168.0.2 | | ICMPv4_EchoRequest (length:14) | | | Type = 8 | | | Code = 0 | | | Checksum = 63487 calc(63487) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff
Frame_Ether (length:60) | Hdr_Ether (length:14) | | DestinationAddress = ff:ff:ff:ff:ff:ff | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 1 | | | SenderHAddr = 0:a0:24:95:a4:91 | | | SenderPAddr = 192.168.0.2 | | | TargetHAddr = 0:0:0:0:0:0 | | | TargetPAddr = 192.168.0.1 | [Needless] (length:18) | | data = 00010001 00010001 00010001 00010001 0001 ===arp_LINK0_nut2tn_request=================================
Frame_Ether (length:42) | Hdr_Ether (length:14) | | DestinationAddress = 0:a0:24:95:a4:91 | | SourceAddress = 0:0:0:0:1:0 | | Type = 2054 | Packet_ARP (length:28) | | Hdr_ARP (length:28) | | | Hardware = 1 | | | Protocol = 2048 | | | HLEN = 6 | | | PLEN = 4 | | | Operation = 2 | | | SenderHAddr = 0:0:0:0:1:0 | | | SenderPAddr = 192.168.0.1 | | | TargetHAddr = 0:a0:24:95:a4:91 | | | TargetPAddr = 192.168.0.2
Frame_Ether (length:106) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 2048 | Packet_IPv4 (length:92) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 92 | | | Identifier = 50 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 30 | | | Protocol = 41 | | | HeaderChecksum = 5108 calc(5108) | | | SourceAddress = 192.168.0.2 | | | DestinationAddress = 192.168.7.1 | | Packet_IPv6 (length:72) | | | Hdr_IPv6 (length:40) | | | | Version = 6 | | | | TrafficClass = 0 | | | | FlowLabel = 0 | | | | PayloadLength = 32 | | | | NextHeader = 0 | | | | HopLimit = 1 | | | | SourceAddress = fe80::2a0:24ff:fe95:a491 | | | | DestinationAddress = ff02::1:ff95:a491 | | | Hdr_HopByHop (length:8) | | | | NextHeader = 58 | | | | HeaderExtLength = 0 | | | | Opt_PadN (length:2) | | | | | OptionType = 1 | | | | | OptDataLength = 0 | | | | Opt_RouterAlert (length:4) | | | | | OptionType = 5 | | | | | OptDataLength = 2 | | | | | Value = 0 | | | ICMPv6_MLDReport (length:24) | | | | Type = 131 | | | | Code = 0 | | | | Checksum = 27918 calc(27918) | | | | MaxResponseDelay = 0 | | | | Reserved = 0 | | | | MulticastAddress = ff02::1:ff95:a491 ===echo_reply_LINK0_v4_nut2tn================================= ng compare _HDR_IPV4_echo_reply_LINK0_v4_nut2tn.Protocol received:41 = 1 ng compare _HDR_IPV4_echo_reply_LINK0_v4_nut2tn.DestinationAddress received:192.168.7.1 = 192.168.0.1 ng meta Packet_IPv4.ICMPv4_EchoReply != Packet_IPv4.Packet_IPv6