Pages

Saturday, August 24, 2013

6 to 4 ( ipv4 over ipv6 tunneling )

R1 Configuration !!!!!

R1#
R1#configure terminal
R1(config)#interface ethernet 1/0
R1(config-if)#ip address 10.0.1.1 255.255.255.252
R1(config-if)#no shut
R1(config-if)#do write me
R1(config-if)#exit


R1(config)#ipv6 unicast-routing
R1(config)#do write me
R1(config)#ip route 0.0.0.0 0.0.0.0 10.0.1.2
R1(config)#do write me
R1(config)#exit

R1(config)#interface ethernet1/1
R1(config-if)#ipv6 address 2001:db8:0:1::1/64
R1(config-if)#no shut
R1(config-if)#do write me
R1(config-if)#exit

R1(config)#interface tunnel 0
R1(config-if)#tunnel mode ipv6ip 6to4
R1(config-if)#tunnel source ethernet 1/0
R1(config-if)#ipv6 address 2002:0a00:0101::/128
R1(config-if)#do write me
R1(config-if)#exit

R1(config)#ipv6 route 2002::/16 tunnel 0
R1(config)#ipv6 route 2001:db8:0:2::1/16 2002:0a00:0101::
R1(config)#ipv6 route 2001:db8:0:3::1/16 2002:0a00:0201::
R1(config)#do write me
R1(config)#exit

R2 Configuration !!!!!

R2#
R2#configure terminal
R2(config)#interface ethernet 1/0
R2(config-if)#ip address 10.0.2.1 255.255.255.252
R2(config-if)#no shut
R2(config-if)#do write me
R2(config-if)#exit

R2(config)#ipv6 unicast-routing
R2(config)#do write me
R2(config)#ip route 0.0.0.0 0.0.0.0 10.0.2.2
R2(config)#do write me
R2(config)#exit

R2(config)#interface ethernet1/1
R2(config-if)#ipv6 address 2001:db8:0:2::1/64
R2(config-if)#no shut
R2(config-if)#do write me
R2(config-if)#exit

R2(config)#interface tunnel 0
R2(config-if)#tunnel mode ipv6ip 6to4
R2(config-if)#tunnel source ethernet 1/0
R2(config-if)#ipv6 address 2002:0a00:0201::/128
R2(config-if)#do write me
R2(config-if)#exit

R2(config)#ipv6 route 2002::/16 tunnel 0
R2(config)#ipv6 route 2001:db8:0:2::1/16 2002:0a00:0101::
R2(config)#ipv6 route 2001:db8:0:3::1/16 2002:0a00:0301::
R(config)#do write me
R2(config)#exit


R3 Configuration !!!!!

R3#
R3#configure terminal
R3(config)#interface ethernet 1/0
R3(config-if)#ip address 10.0.3.1 255.255.255.252
R3(config-if)#no shut
R3(config-if)#do write me
R3(config-if)#exit

R3(config)#ipv6 unicast-routing
R3(config)#do write me
R3(config)#ip route 0.0.0.0 0.0.0.0 10.0.3.2
R3(config)#do write me
R3(config)#exit

R3(config)#interface ethernet1/1
R3(config-if)#ipv6 address 2001:db8:0:3::1/64
R3(config-if)#no shut
R3(config-if)#do write me
R3(config-if)#exit

R3(config)#interface tunnel 0
R3(config-if)#tunnel mode ipv6ip 6to4
R3(config-if)#tunnel source ethernet 1/0
R3(config-if)#ipv6 address 2002:0a00:0301::/128
R3(config-if)#do write me
R3(config-if)#exit

R3(config)#ipv6 route 2002::/16 tunnel 0
R3(config)#ipv6 route 2001:db8:0:1::1/16 2002:0a00:0101::
R3(config)#ipv6 route 2001:db8:0:2::1/16 2002:0a00:0201::
R3(config)#do write me
R3(config)#exit


No comments:

Post a Comment

Thanks