Presentation is loading. Please wait.

Presentation is loading. Please wait.

[Lab] 6to4 Tunnels.

Similar presentations


Presentation on theme: "[Lab] 6to4 Tunnels."— Presentation transcript:

1 [Lab] 6to4 Tunnels

2 Pre-requisite Reading
RFC 3056 – Connection of IPv6 Domains via IPv4 Clouds Y. Hei and K. Yamazaki, " Traffic analysis and worldwide operation of open 6to4 relays for IPv6 deployment", Proceedings of 2004 International Symposium on Applications and the Internet (SAINT 2004), pp Authors from KDDI, Japan.

3 Network Environment If you get a native IPv6 address, you don’t need a 6to4 tunnel. If you get a private IPv4 address, 6to4 tunnel cannot be created. Configure your IPv4 address to xx. Now you see the 6to4 interface.

4 6to4 Tunnel Interface (RFC 3068)

5 Try to ping each other Capture the ICMPv6 packets, and mail to me.
What is your capture filter? ip6? ip?

6 Routing to 2002:: is easy 2002:8C6E:C7FA:2::5 2002:83F3:812C:1::3
6to4 Router1 6to4 Router2 IPv4 IPv6 Network IPv6 Network E0 E0 6to4 Host Network prefix: 2002:83F3:812C::/48 Network prefix: 2002:8C6E:C7FA::/48 IPv4 SRC The example shows one of the many possible 6to4 tunnel scenarios. It shows Cisco routers connecting IPv6 domains using the 6to4 mechanism. Router1 has the IPv4 address From this IPv4 address, the site 6to4 prefix used for the internal IPv6 network is 2002:c0a8:6301::/48, which can be used subnetted in a site with many subnetworks. The router interface is configured on subnet 1 (SLA = 0x0001) so the interface is assigned the IPv6 address 2002:c0a8:6301:1::/64 with the EUI-64 interface ID. The router 6to4 tunnel interface tunnel0 has no IPv4 or IPv6 address specifically configured for it. It uses the Loopback0 IPv4 address, as the source address for the tunnel. The destination address is unspecified since it is constructed automatically. As packets are forwarded from its internal network to the 6to4 cloud, the router generates a new tunnel with the IPv4 destination used from the IPv4 address embedded inside the IPv6 address of the IPv6 packet being forwarded. The command tunnel mode ipv6ip 6to4 identifies a 6to4 tunnel. Depending on the routing domain and topology, route entries should be added. Except in special cases, the routing entry shown is generally needed to forward all 2002: packets through tunnel0. Router2 has a similar configuration for its end. IPv4 DEST IPv6 SRC 2002:83F3:812C:1::3 IPv6 SRC 2002:83F3:812C:1::3 IPv6 SRC 2002:83F3:812C:1::3 IPv6 DEST 2002:8C6E:C7FA:2::5 IPv6 DEST 2002:8C6E:C7FA:2::5 IPv6 DEST 2002:8C6E:C7FA:2::5 Data Data Data 6 6

7 How about 2001:: ? 2002:83F3:812C:1::3 6to4 Router1 6to4 Relay Router
IPv4 2001:48a8:68fe::151 6to4 Host 2002::/16 IPv4 6to4 Relay Router The example shows one of the many possible 6to4 tunnel scenarios. It shows Cisco routers connecting IPv6 domains using the 6to4 mechanism. Router1 has the IPv4 address From this IPv4 address, the site 6to4 prefix used for the internal IPv6 network is 2002:c0a8:6301::/48, which can be used subnetted in a site with many subnetworks. The router interface is configured on subnet 1 (SLA = 0x0001) so the interface is assigned the IPv6 address 2002:c0a8:6301:1::/64 with the EUI-64 interface ID. The router 6to4 tunnel interface tunnel0 has no IPv4 or IPv6 address specifically configured for it. It uses the Loopback0 IPv4 address, as the source address for the tunnel. The destination address is unspecified since it is constructed automatically. As packets are forwarded from its internal network to the 6to4 cloud, the router generates a new tunnel with the IPv4 destination used from the IPv4 address embedded inside the IPv6 address of the IPv6 packet being forwarded. The command tunnel mode ipv6ip 6to4 identifies a 6to4 tunnel. Depending on the routing domain and topology, route entries should be added. Except in special cases, the routing entry shown is generally needed to forward all 2002: packets through tunnel0. Router2 has a similar configuration for its end. 2002::/16 IPv6 Network 7

8 ping6

9 Capture Filter of Wireshark
ip host host or host ip[9]==41

10 tracert6 Tracing route to [2001:e10:6840:67:4c33:e188:4d59:364f] from 2002:a316:1e08::a316:1e08 over a maximum of 30 hops: ms ms ms 2002:a319:f6fb::1 ms ms ms 2001:288:0:1659:192:83:196:111 ms ms ms 2001:288:0:f:111::1 ms ms ms 2001:e10:ffff:101::1 ms ms ms 2001:e10:ffff:1a00::1 ms ms ms 2001:e10:ffff:1a01::2 ms ms ms [2001:e10:6840:67:4c33:e188:4d59:364f] traceroute6 to 2002:a316:1e08::a316:1e08 (2002:a316:1e08::a316:1e08) from 2001:e10:6840:20:204:76ff:fee2:b1bd, 64 hops max, 12 byte packets :e10:6840:20:: ms ms ms :e10:6840:1:: ms ms ms :e10:ffff:1a01:: ms ms ms :e10:ffff:1100:: ms ms ms :e10:ffff:300:: ms ms ms :e10:ffff:304:: ms ms ms 7 xe rtr.wash.net.internet2.edu ms ms ms 8 internet2-virt-internet2-xe rox.net ms ms ms 9 bar-internet2-ge rox.net ms ms ms 10 6to4-bar-f4-0.3rox.net ms ms ms :a316:1e08::a316:1e ms ms ms

11 tracert tracert ms ms ms ms ms ms ip098.puli ncnu.edu.tw [ ] ms ms ms ip091.puli ncnu.edu.tw [ ] ms ms ms tracert (6to4-bar-f4-0.3rox.net) ms ms ms ms ms ms ip098.puli ncnu.edu.tw [ ] ms ms ms ip091.puli ncnu.edu.tw [ ] ms ms ms bb-MOE-TWAREN.TANet.edu.tw [ ] ms ms ms ms ms ms ms ms ms ms ms ms tpr5-taiwan.jp.apan.net [ ] ms ms ms losa-tokyo-tp2.transpac2.net [ ] ms ms ms abilene-1-lo-jmb-702.lsanca.pacificwave.net [ ] ms ms ms xe rtr.hous.net.internet2.edu [ ] ms ms ms xe rtr.atla.net.internet2.edu [ ] ms ms ms xe rtr.wash.net.internet2.edu [ ] ms ms ms internet2-virt-internet2-xe rox.net [ ] ms ms ms bar-internet2-ge rox.net [ ] ms ms ms 6to4-bar-f4-0.3rox.net [ ]

12 ping Does your Windows 7/XP prefer to send packets via IPv4 or IPv6? ping iptv.bupt.edu.cn

13 Further Reading Advisory Guidelines for 6to4 Deployment draft-ietf-v6ops-6to4-advisory-01 Request to move Connection of IPv6 Domains via IPv4 Clouds (6to4) to Historic status draft-ietf-v6ops-6to4-to-historic-03


Download ppt "[Lab] 6to4 Tunnels."

Similar presentations


Ads by Google