Sunday, February 3, 2013

Lab 211 - Automatic 6to4 Tunnel


Prerequisites: CCNP level skills.

Topology

Pic 1. Topology Diagram.

Task 1
Enable connectivity between two IPv6 sites (presented in the topology diagram in green). Vlans 7, 9, 27, 79, 99, 107 should have connectivity to Vlan 215. The following stipulations should be considered while creating the solution to the problem:
  • The tunnel IPv6 address should use 2002:: prefix reserved for this method.
  • You are allowed to use one static route on R1 and SW4 to solve the problem.
  • Use RIPng on both sites, but there is not supposed to be RIPng prefix exchange between Vlan 215 and other Vlans on the remote site.

Solution

Task 1
Enable connectivity between two IPv6 sites (presented in the topology diagram in green). Vlans 7, 9, 27, 79, 99, 107 should have connectivity to Vlan 215. The following stipulations should be considered while creating the solution to the problem:
  • The tunnel IPv6 address should use 2002:: prefix reserved for this method.
  • You are allowed to use one static route on R1 and SW4 to solve the problem.
  • Use RIPng on both sites, but there is not supposed to be RIPng prefix exchange between Vlan 215 and other Vlans on the remote site.

The method implies Automatic 6to4 tunnelling. Configure appropriate addressing scheme for all the Vlans in question. The method assumes the following prefix to be used:
2002:border-router-ipv4-address-in-hex::/48

Step 1
Create addressing scheme for all Vlans in question and the tunnel interface.

Border-Router-Prefix (based on the loopbacks) of R1 and SW4 (leading 0s in IPv6 address groups can be omitted).

Step 2
Configure the addresses on all interfaces in question and enable RIPng on those.

Vlans:
Dec: 7     ==> Hex: 7
Dec: 9     ==> Hex: 9
Dec: 27   ==> Hex: 1B
Dec: 79   ==> Hex: 4F
Dec: 99   ==> Hex: 63
Dec: 107 ==> Hex: 6B
Dec: 215 ==> Hex: D7


Site 1 (behind R1) Addressing Scheme (based off of R1's Loopback0):
2002:A00:101::/48

Site 2 (behind SW4) Addressing Scheme (based off of SW4's Loobpack0):
2002:A00:A0A::/48

Pic. 2 - IPv6 addresses.

SITE 1 ADDRESSES

R1 IPv6 Address and RIPng Config:
!
interface FastEthernet0/1
 no ip address
 speed 100
 full-duplex
 ipv6 address 2002:A00:101:D7::1/64
 ipv6 rip CCIE enable
!


R5 IPv6 Address and RIPng Config:
!
interface FastEthernet0/1
 no ip address
 speed 100
 full-duplex
 ipv6 address 2002:A00:101:D7::5/64
 ipv6 rip CCIE enable
!


SW2 IPv6 Address and RIPng Config:
!
interface Vlan215
 no ip address
 ipv6 address 2002:A00:101:D7::8/64
 ipv6 rip CCIE enable
!


SITE 2 ADDRESSES

SW1 IPv6 Address and RIPng Config:
!
interface Vlan7
 no ip address
 ipv6 address 2002:A00:A0A:7::7/64
 ipv6 rip CCIE enable
!

interface Vlan79
 no ip address
 ipv6 address 2002:A00:A0A:4F::7/64
 ipv6 rip CCIE enable
!

interface Vlan107
 no ip address
 ipv6 address 2002:A00:A0A:6B::7/64
 ipv6 rip CCIE enable
!

interface FastEthernet1/2
 no switchport
 no ip address
 duplex full
 speed 100
 ipv6 address 2002:A00:A0A:1B::7/64
 ipv6 rip CCIE enable
!


SW3 IPv6 Address and RIPng Config:
!
interface Vlan9
 no ip address
 ipv6 address 2002:A00:A0A:9::9/64
 ipv6 rip CCIE enable
!

interface Vlan79
 no ip address
 ipv6 address 2002:A00:A0A:4F::9/64
 ipv6 rip CCIE enable
!



SW4 IPv6 Address and RIPng Config:
!
interface Vlan99
 no ip address
 ipv6 address 2002:A00:A0A:63::9/64
 ipv6 rip CCIE enable

!

interface Vlan107
 no ip address
 ipv6 address 2002:A00:A0A:6B::A/64
 ipv6 rip CCIE enable
!


After checking neighbor-to-neighbor connectivity proceed to step 3.

Step 3
Configure tunnel and static routing between the sites.

R1 Config:
!
interface Tunnel0
 no ip address
 no ip redirects
 ipv6 address 2002:A00:101::1/64
 tunnel source Loopback0
 tunnel mode ipv6ip 6to
4
!

!
! Since we only have two sites, we can use easy static routing like the one shown below:
!
ipv6 route 2002::/16 tunnel 0
!
ipv6 router rip CCIE
 redistribute static metric 1
!


SW4 Config:
!
interface Tunnel0
 no ip address
 no ip redirects
 ipv6 address 2002:A00:A0A::A/64
 tunnel source Loopback0
 tunnel mode ipv6ip 6to4

!

ipv6 route 2002::/16 tunnel 0
!
ipv6 router rip CCIE
 redistribute static metric 1

!

Verification
Pic. 3 - Simple Ping Test.
Pic. 4 - Traceroute Test.