[c-nsp] 6to4 relay router setup
Saku Ytti
saku+cisco-nsp at ytti.fi
Thu Jan 5 03:24:10 EST 2006
On (2006-01-04 23:33 -0800), matthew zeier wrote:
>
> Has anyone sample configs (other than CCO) for setting up a 6to4 relay router?
> What I gleaned off CCO today isn't working.
>
> My relay router is currently doing v6 via three bgp peers. I'd like to offer
> local customers a local 6to4 relay and have the following configuration:
Your 6to4 broker looks fine to me, 'ipv6 enable' is redundant though, and
i have 'anycast' keyword after ipv6 address, but I don't think it matters.
Perhaps it's your client? You could try with linux box:
ip link set sit0 up;ip addr add $(printf "2002:%02x%02x:%02x%02x::1" $(ip route get 192.88.99.1|head -n1|sed 's/\./ /g'|sed 's/.*src \([0-9 ]\+\).*/\1/')) dev sit0;ip -6 route add 2000::/3 via ::192.88.99.1
Should do the trick.
> interface Tunnel2002
> description 6to4 relay service
> no ip address
> no ip redirects
> ipv6 address 2002:C058:6301::/128
> ipv6 enable
> tunnel source Loopback2002
> tunnel mode ipv6ip 6to4
> no clns route-cache
>
> interface Loopback2002
> description 6to4 IPv4 Relay anycast address
> ip address 192.88.99.1 255.255.255.0
> no clns route-cache
>
> ipv6 route 2001:5A0:101::/48 Null0
> ipv6 route 2001:1990::/32 Null0
> ipv6 route 2002::/16 Tunnel2002
>
> My test client router has the following config:
>
> interface Loopback0
> ip address 216.23.160.253 255.255.255.255
>
> interface Tunnel0
> no ip address
> no ip redirects
> ipv6 address 2002:D817:A0F0::1/128
> ipv6 enable
> tunnel source Loopback0
> tunnel mode ipv6ip 6to4
>
> ipv6 route 2002::/16 Tunnel0
> ipv6 route ::/0 2002:C058:6301::
>
>
> tun0 shows up on client router. On the relay router destination shows as
> UNKNOWN. I'm unable to ping from client to relay.
>
> What am I missing?
>
>
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
--
++ytti
More information about the cisco-nsp
mailing list