Wednesday, December 15, 2010

LAB: IPv6 network tunneled over IPv4 network

We can say that this type of implementation will be an interim solution when you're starting to build up your IPVv6 network. If some part of your network is still using IPv4, you can use tunneling in order for the IPv6 network able to reach the each other.

tulip setup:

ipv6 unicast-routing
!
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address FEC0:0:0:1::2/64
ipv6 rip flowerpot enable
!
!
ipv6 router rip flowerpot
!

daisy:
ipv6 unicast-routing
!
!
interface Tunnel0
description tunnel Daisy -> Rose
no ip address
ipv6 address FEC0:0:0:A::1/124
ipv6 rip flowerpot enable
tunnel source Ethernet0/0
tunnel destination 10.10.10.2
tunnel mode ipv6ip
!
interface Ethernet0/0
ip address 10.10.10.1 255.255.255.0
full-duplex
!
interface Ethernet0/1
no ip address
full-duplex
ipv6 address FEC0:0:0:1::1/64
ipv6 rip flowerpot enable
!
!
ipv6 router rip flowerpot
!

rose:
!
ipv6 unicast-routing
!
!
interface Tunnel0
description tunnel Rose -> Daisy
no ip address
ipv6 address FEC0:0:0:A::2/124
ipv6 rip flowerpot enable
tunnel source Ethernet0/0
tunnel destination 10.10.10.1
tunnel mode ipv6ip
!
interface Ethernet0/0
ip address 10.10.10.2 255.255.255.0
full-duplex
!
interface Ethernet0/1
no ip address
full-duplex
ipv6 address FEC0:0:0:2::1/64
ipv6 rip flowerpot enable
!
!
ipv6 router rip flowerpot
!

lily:

ipv6 unicast-routing
!
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address FEC0:0:0:2::2/64
ipv6 rip flowerpot enable
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
!
ipv6 router rip flowerpot
!

VERIFICATION:
tulip#show ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
L FE80::/10 [0/0]
via ::, Null0
C FEC0:0:0:1::/64 [0/0]
via ::, Ethernet0/0
L FEC0:0:0:1::2/128 [0/0]
via ::, Ethernet0/0
R FEC0:0:0:2::/64 [120/3]
via FE80::CE05:29FF:FEB8:1, Ethernet0/0
R FEC0:0:0:A::/124 [120/2]
via FE80::CE05:29FF:FEB8:1, Ethernet0/0
L FF00::/8 [0/0]


lily#show ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
L FE80::/10 [0/0]
via ::, Null0
R FEC0:0:0:1::/64 [120/3]
via FE80::CE06:29FF:FEB8:1, Ethernet0/0
C FEC0:0:0:2::/64 [0/0]
via ::, Ethernet0/0
L FEC0:0:0:2::2/128 [0/0]
via ::, Ethernet0/0
R FEC0:0:0:A::/124 [120/2]
via FE80::CE06:29FF:FEB8:1, Ethernet0/0
L FF00::/8 [0/0]
via ::, Null0



tulip#TRACEROUTE IPV6 FEC0:0:0:2::2

Type escape sequence to abort.
Tracing the route to FEC0:0:0:2::2

1 FEC0:0:0:1::1 16 msec 12 msec 8 msec
2 FEC0:0:0:A::2 32 msec 12 msec 12 msec
3 FEC0:0:0:2::2 20 msec 28 msec 24 msec