6to4

Answered Question
Nov 22nd, 2008

Hi,

I config the 6to4, the config is:

R1

interface loopback 0

ip address 172.16.20.1 255.255.255.255

interface tunnel64

ip 192.168.1.1 255.255.255.252

tunel source loopback0

tunnel source ipv6ip 6to4

is it invalid config?

if yes, what is the source ip address of the tunnel?

192.168.1.1 or 172.16.20.1 or ipv6 2002::/16?

why?

rdgs

I have this problem too.
0 votes
Correct Answer by tcordier about 8 years 2 months ago

The tunnel address for a 6to4 tunnel should be a IPv6 address which is based on the IPv4 tunnel source address. In your case:

2002:c0a8.0101.0001::1/64

(where c0a8.0101 is the hex representation of your IPv4 tunnel source address). 6to4 tunnels assume the network between the IPv6 domains is NBMA and they find the destination IPv4 address using the embedded IPv4 address. The same address configuration should be applied to the other end of the tunnel.

See http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/12_4/ipv6_12_4_book.html

HTH, Thomas

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
tcordier Sun, 11/23/2008 - 01:34

The tunnel address for a 6to4 tunnel should be a IPv6 address which is based on the IPv4 tunnel source address. In your case:

2002:c0a8.0101.0001::1/64

(where c0a8.0101 is the hex representation of your IPv4 tunnel source address). 6to4 tunnels assume the network between the IPv6 domains is NBMA and they find the destination IPv4 address using the embedded IPv4 address. The same address configuration should be applied to the other end of the tunnel.

See http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/12_4/ipv6_12_4_book.html

HTH, Thomas

Actions

This Discussion