dual stack ipv6 routing with tunnel broker

32
Dual Stack Routing Demo by Muneeb K

Upload: muneeb-kalathil

Post on 09-Aug-2015

95 views

Category:

Technology


2 download

TRANSCRIPT

Dual Stack Routing

Demo by Muneeb K

Dual IP stack implementation Dual-stack (or native dual-stack) IP implementations provide complete IPv4 and IPv6 protocol stacks in the same network node. This facilitates native communications between nodes using either protocol. This is the most desirable IPv6 implementation during the transition from IPv4 to IPv6, as it avoids the complexities of tunneling, such as security, increased latency, management overhead, and a reduced PMTU. However, it is not always possible, since outdated network equipment may not support IPv6. Dual-stack software design is a transitional technique to facilitate the adoption and deployment of IPv6. Wiki

Tunneling Many current Internet users do not have IPv6 dual-stack support, and thus cannot reach IPv6 sites directly. Instead, they must use IPv4 infrastructure to carry IPv6 packets. This is done using a technique known as tunneling, which encapsulates IPv6 packets within IPv4, in effect using IPv4 as a link layer for IPv6. IP protocol 41 indicates IPv4 packets which encapsulate IPv6 datagrams. Some routers or network address translation devices may block protocol . To pass through these devices, UDP packets may be used to encapsulate IPv6 datagrams. Other encapsulation schemes, such as AYIYA or Generic Routing Encapsulation, are also popular. Conversely, on IPv6-only Internet links, when access to IPv4 network facilities is needed, tunneling of IPv4 over IPv6 protocol occurs, using the IPv6 as a link layer for IPv4.

Wiki

Client Side

Using Tunnel Broker & Windows 8.1/Ubuntu 14.04

In computer networking terminology, a tunnel broker is the phrase used to describe a service that provides a network tunnel. The Tunnel Broker model is based on dedicated servers called Tunnel Brokers that automatically manage tunnel requests coming from users. The most common usage of the phrase is in reference to IPv6, where a tunnel broker provides IPv6 tunnels to Web sites and users. The Network Working Group defines IPv6 Tunnel Broker in RFC 3053. The IPv6 global Internet uses a lot of tunnels over the existing IPv4 infrastructure. The tunnels are difficult to configure and maintain and too complex for the isolated end user, so the concept of the tunnel broker was presented to help early IPv6 adopters to hook up to an existing IPv6 network. www.webopedia.com

Before Beginning …….

Create an Account on

https://tunnelbroker.net/

Browse https://tunnelbroker.net/

Now the Tunnel is Created

For Ubuntu

1. Select Example Configurations 2. Choose Linux-route2 from the drop down list 3. Copy the Script

<sample script> modprobe ipv6 ip tunnel add he-ipv6 mode sit remote 216.218.221.6 local 117.216.64.124 ttl 255 ip link set he-ipv6 up ip addr add 2001:470:18:69::2/64 dev he-ipv6 ip route add ::/0 dev he-ipv6 ip -f inet6 addr Change the client’s public ip address to local ip modprobe ipv6 ip tunnel add he-ipv6 mode sit remote 216.218.221.6 local 192.168.1.4 ttl 255 ip link set he-ipv6 up ip addr add 2001:470:18:69::2/64 dev he-ipv6 ip route add ::/0 dev he-ipv6 ip -f inet6 addr

Open the terminal Login to root or with sudo , run the script

New Interface he-ipv6 is added

ping6 –c3 ipv6.google.com If success, Will get the above result with no packet loss

Check the ipv6 Connectivity Browse -> Test-ipv6.com

For Windows

1. Select Example Configurations 2. Choose Windows Vista/2008/7/8 from the drop down list 3. Copy the Script

<sample script> netsh interface teredo set state disabled netsh interface ipv6 add v6v4tunnel interface=IP6Tunnel 117.216.64.124 216.218.221.6 netsh interface ipv6 add address IP6Tunnel 2001:470:18:69::2 netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:18:69::1 Change the client’s public ip address to local ip netsh interface teredo set state disabled netsh interface ipv6 add v6v4tunnel interface=IP6Tunnel 192.168.1.3 216.218.221.6 netsh interface ipv6 add address IP6Tunnel 2001:470:18:69::2 netsh interface ipv6 add route ::/0 IP6Tunnel 2001:470:18:69::1

Run cmd (command prompt) as Administrator

Copy & Run the Script

New Interface IP6Tunnel is created

Allow icmpv6 packets on firewall Control Panel -> System Security -> Windows Firewall Advanced Settings -> Inbound & Outboud Rules ----> File & Printer Sharing (Echo Request - ICMPv6In / ICMPv6Out) -> Right Click -> Enable Rule

Choose Your Network Public/ Private/ Domain

ping -6 ipv6.google.com If success, Will get the above result with no packet loss

Check the ipv6 Connectivity Browse -> Test-ipv6.com