80 likes | 417 Views
Setting up IPv6 Network. Usman Shaukat. Background. Worked Multicast IPv6 addressing Need Deploy actual IPv6 Nodes Transition between IPv6 and IPv4. Tunneling. Moving IPv6 packets through a hybrid network Based on theoretical work done by M. Aazam Techniques explored Teredo ISATAP
E N D
Setting up IPv6 Network Usman Shaukat
Background • Worked • Multicast • IPv6 addressing • Need • Deploy actual IPv6 Nodes • Transition between IPv6 and IPv4
Tunneling • Moving IPv6 packets through a hybrid network • Based on theoretical work done by M. Aazam • Techniques explored • Teredo • ISATAP • 6to4 • 6over4 • Techniques deployed • Teredo, ISATAP, 6to4
LAB Setup • H1 = Host 1 (IPv6, Windows XP) • H2 = Host 2 (IPv6, Windows XP) • DNS = DNS Server (IPv6, Windows 2003 Server) • R1 = Router 1 + ISATAP Server (IPv6, Windows Server 2003) • R2 = Router 1 (IPv6, Windows Server 2003) • TS = Teredo Server (Miredo, Linux FC8) R1 + IS H1 R2 DNS TS H2
IPv6 Setup Dual Stack • Make nodes dual stack • Netsh interface ipv6 install • Enable routing at R1 and R2 • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\\IPEnableRouter to 1 • Enable IPv6 Routing on R1 & R2 • netsh interface ipv6 set interface "Subnet 1 " forwarding=enabled advertise=enabled • Add route to routing table and advertise for for global configuration • netsh interface ipv6 add route 2001:db8:0:1::/64 "Subnet 1 Connection" publish=yes • Default route • netsh interface ipv6 add route ::/0 "Subnet 2 Connection" nexthop=ROUTER2Address publish=yes Dual Stack Dual Stack R1 H1 R2 DNS H2 10.0.3.x 2001:db8:0:3::/64 10.0.2.x 2001:db8:0:2::/64 Dual Stack 10.0.1.x 2001:db8:0:1::/64 My boys be like 2001:db8:0::/64 Me forward IPv4 an IPv6 Packets Dual Stack Me Too….. You become 2001:db8:0:3::/64
Logical ISATAP Subnet 2001:db8:0:10:10.0.1.1 • Disable IPv6 forwarding on R1 and R2 • netsh interface ipv6 set interface "Subnet 2 Connection" forwarding=disabled advertise=disabled • Advertise logical isatap subnet • netsh interface ipv6 isatap set router 10.0.2.1netsh interface ipv6 set interface "Automatic Tunneling Pseudo-Interface" forwarding=enabled advertise=enabled • Add route to logical subnet • netsh interface ipv6 add route 2001:db8:0:10::/64 "Automatic Tunneling Pseudo-Interface" publish=yes • Renew ip address configuration • netsh interface ipv6 renew IPv4 Network Dual Stack 2001:db8:0:10:10.0.1.2 H1 R2 DNS H2 R1 2001:db8:0:10:10.0.2.1 Dual Stack Dual Stack 2001:db8:0:10:10.0.3.2 2001:db8:0:10:10.0.1.3
6to4Setup IPv4 Network Dual Stack • Disable IPv6 on R1 • Enable 6to4 Tunneling on router 2 • netsh interface ipv6 set interface "6to4 Tunneling Pseudo-Interface" forwarding=enabled • Advertise addresses for auto configuration • netsh interface ipv6 add route 2002: WWXX : YYZZ : Subnet_ID ::/64 Interface_Name_Or_Index publish=yes • Add default route • netsh interface ipv6 add route 2002: WWXX : YYZZ ::/64 Interface_Name_Or_Index publish=yes Dual Stack Dual Stack R1 DNS H2 R2 H1 Subnet 3 203.10.10.x 192.168.0.x 2002:ca0a:02:5::/64 Subnet 2 202.10.10.x Dual Stack Subnet 1 201.10.10.x Dual Stack
Teredo (II) Dual Stack IPv4 Only • Ask for prefix and create a NAT entry • Send UDP messages to Teredo Client without involving Teredo Server / Relay • Periodic Bubble packets to refresh the entry IPv4 Internet IPv4 Only DNS H2 H1 R1 T R2 Private IPv4 Network Private IPv4 Network Dual Stack Dual Stack