Title | Encapsulation in Host |
CommandLine | ./encapsulation_host.seq -pkt ./encapsulation_host.def -log 5.html -ti Encapsulation in Host |
TestVersion | REL_1_1 |
ToolVersion | REL_1_1 |
Start | 2000/07/31 19:32:52 |
Tn | /usr/local/v6eval//etc//tn.def |
Nu | /usr/local/v6eval//etc//nut.def |
Pkt | ./encapsulation_host.def |
System | kame-freebsd |
TargetName | FreeBSD-3.4 Release + KAME-stable-20000704 |
HostName | target1.toba.tahi.org |
Type | host |
19:32:52 | Start |
19:32:52 | Start Capturing Packets (Link0) |
19:32:53 | Clear Captured Packets (Link0) |
19:32:53 |
vSend(Link0,echo_request_tn2nut_LLA) send echo_request_tn2nut_LLA |
19:32:53 | 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 echo_reply_nut2tn_LLA |
19:32:53 | vRecv(Link0,ns_nut2tn_sourceLLA_targetLLA_nooption ns_nut2tn_sourceLLA_targetLLA_optionSLL ns_nut2tn_sourceGA_targetLLA_nooption ns_nut2tn_sourceGA_targetLLA_optionSLL) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
19:32:56 |
vSend(Link0,na_tn2nut_sourceLLA_destinationLLA_targetLLA) send na_tn2nut_sourceLLA_destinationLLA_targetLLA |
19:32:56 | vRecv(Link0,echo_reply_nut2tn_LLA) timeout:5 cntLimit:0 seektime:0 vRecv() return status=1 |
19:33:01 |
vSend(Link0,ra) send ra |
19:33:01 | Wait 5 second |
19:33:06 | Clear Captured Packets (Link0) |
--- TN can make TN's link local address NCE in TN --- |
|
19:33:06 | Clear Captured Packets (Link0) |
19:33:06 |
vSend(Link0,echo_request_tn2nut_GA) send echo_request_tn2nut_GA |
19:33:06 | 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 echo_reply_nut2tn_GA |
19:33:06 | vRecv(Link0,ns_nut2tn_sourceLLA_targetGA_nooption ns_nut2tn_sourceLLA_targetGA_optionSLL ns_nut2tn_sourceGA_targetGA_nooption ns_nut2tn_sourceGA_targetGA_optionSLL) timeout:3 cntLimit:0 seektime:0 vRecv() return status=1 |
19:33:09 |
vSend(Link0,na_tn2nut_sourceLLA_destinationLLA_targetGA) send na_tn2nut_sourceLLA_destinationLLA_targetGA |
19:33:09 | vRecv(Link0,echo_reply_nut2tn_GA) timeout:5 cntLimit:0 seektime:0 vRecv() return status=1 |
--- TN can make TN's global address NCE in TN --- |
|
19:33:14 | Clear Captured Packets (Link0) |
19:33:14 |
vSend(Link0,echo_request_LINK0_v4_tn2nut) send echo_request_LINK0_v4_tn2nut |
19:33:14 | vRecv(Link0,arp_LINK0_nut2tn_request echo_reply_LINK0_v4_nut2tn) timeout:5 cntLimit:0 seektime:0 recv echo_reply_LINK0_v4_nut2tn |
--- NUT can convert v4 address to ethernet address --- |
|
19:33:14 |
vRemote(ping6.rmt) ``/usr/local/v6eval//bin/kame-freebsd/ping6.rmt -t kame-freebsd -u root -p v6eval -d cuaa0c -o 1 addr=3ffe:501:ffff:109:200:ff:fe00:a0a0 ''
connected target1# target1# /usr/local/v6/sbin/ping6 -n -c 1 -i 1 -h 64 -s 2 -p 00 3ffe:501:ffff:109:200:ff:fe00:a0a0 PATTERN: 0x00 PING6(50=40+8+2 bytes) 3ffe:501:ffff:100:2a0:24ff:fe95:a491 --> 3ffe:501:ffff:109:200:ff:fe00:a0a0 --- 3ffe:501:ffff:109:200:ff:fe00:a0a0 ping6 statistics --- 1 packets transmitted, 0 packets received, 100% packet loss target1# echo $status 1 target1# ~ [EOT] |
19:33:28 | vRecv(Link0,echo_request_LINK0_nut2tn v6overv4_echo_request_LINK0_nut2tn) timeout:5 cntLimit:0 seektime:0 recv v6overv4_echo_request_LINK0_nut2tn |
TN can receive Echo Request from NUTOK |
|
19:33:28 | 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: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 = 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: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: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: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: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 = 34010 calc(34010) | | | 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: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 = 0:0:0:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 2048 | Packet_IPv4 (length:34) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 34 | | | Identifier = 52 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 255 | | | Protocol = 1 | | | HeaderChecksum = 14931 calc(14931) | | | SourceAddress = 192.168.0.2 | | | DestinationAddress = 192.168.0.1 | | ICMPv4_EchoReply (length:14) | | | Type = 0 | | | Code = 0 | | | Checksum = 0 calc(0) | | | Identifier = 0 | | | SequenceNumber = 0 | | | Payload (length:6) | | | | data = ffffffff ffff | [Needless] (length:12) | | data = ffffffff ffffffff ffffffff ===arp_LINK0_nut2tn_request================================= ng compare _HETHER_nut2broadcast.DestinationAddress received:0:0:0:0:1:0 = ff:ff:ff:ff:ff:ff ng compare _HETHER_nut2broadcast.Type received:2048 = 2054 ng meta Frame_Ether.Packet_ARP != Frame_Ether.Packet_IPv4 ===echo_reply_LINK0_v4_nut2tn=================================
Frame_Ether (length:84) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:a0:24:95:a4:91 | | Type = 2048 | Packet_IPv4 (length:70) | | Hdr_IPv4 (length:20) | | | Version = 4 | | | IHL = 5 | | | TypeOfService = 0 | | | TotalLength = 70 | | | Identifier = 53 | | | Reserved = 0 | | | DF = 0 | | | MF = 0 | | | FragmentOffset = 0 | | | TTL = 30 | | | Protocol = 41 | | | HeaderChecksum = 5127 calc(5127) | | | SourceAddress = 192.168.0.2 | | | DestinationAddress = 192.168.7.1 | | Packet_IPv6 (length:50) | | | Hdr_IPv6 (length:40) | | | | Version = 6 | | | | TrafficClass = 0 | | | | FlowLabel = 0 | | | | PayloadLength = 10 | | | | NextHeader = 58 | | | | HopLimit = 64 | | | | SourceAddress = 3ffe:501:ffff:100:2a0:24ff:fe95:a491 | | | | DestinationAddress = 3ffe:501:ffff:109:200:ff:fe00:a0a0 | | | ICMPv6_EchoRequest (length:10) | | | | Type = 128 | | | | Code = 0 | | | | Checksum = 34350 calc(34350) | | | | Identifier = 286 | | | | SequenceNumber = 0 | | | | Payload (length:2) | | | | | data = 0000 ===echo_request_LINK0_nut2tn================================= ng compare _HETHER_nut2tn.Type received:2048 = 34525 ng meta Frame_Ether.Packet_IPv6 != Frame_Ether.Packet_IPv4 ===v6overv4_echo_request_LINK0_nut2tn=================================