Cisco IPv6 6to4 tunnel

en
conf t
host R1
int s1/2
ip add 16.16.16.1 255.255.255.0
no shut
int loop0
ip add 129.53.1.1 255.255.255.0
router rip
ver 2
network 0.0.0.0
no auto
!
int loop1
ipv6 address 2002:8135:101:1::1/64
!
interface tunnel 126
tunnel source loop0
tunnel mode ipv6ip 6to4
ipv6 address 2002:8135:101::1/64
!
ipv6 route 2002::/16 tunnel 126

en
conf t
host R2
int s1/2
ip add 26.26.26.2 255.255.255.0
no shut
int loop0
ip add 129.53.2.2 255.255.255.0
router rip
ver 2
network 0.0.0.0
no auto
!
int loop2
ipv6 address 2002:8135:202:2::2/64
!
interface tunnel 126
tunnel source loop0
tunnel mode ipv6ip 6to4
ipv6 address 2002:8135:202::1/64
!
ipv6 route 2002::/16 tunnel 126

en
conf t
host R6
int s2/2
ip add 26.26.26.6 255.255.255.0
no shut
int s2/1
ip add 16.16.16.6 255.255.255.0
no shut
int loop0
ip add 129.53.6.6 255.255.255.0
router rip
ver 2
network 0.0.0.0
no auto
!
int loop6
ipv6 address 2002:8135:606:6::6/64
!
interface tunnel 126
tunnel source loop0
tunnel mode ipv6ip 6to4
ipv6 address 2002:8135:606::1/64
!
ipv6 route 2002::/16 tunnel 126

foreach ipv6 {
2002:8135:101:1::1
2002:8135:202:2::2
2002:8135:606:6::6
} { ping $ipv6 }

R2(tcl)#foreach ipv6 {
+>(tcl)#2002:8135:101:1::1
+>(tcl)#2002:8135:202:2::2
+>(tcl)#2002:8135:606:6::6
+>(tcl)#} { ping $ipv6 }

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:8135:101:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/20 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:8135:202:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2002:8135:606:6::6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms
R2(tcl)#

Screenshot 2014-03-28 06.59.10

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s