[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing problems with 6to4 IPv6?



This isn't Debian related but I'd appreciate any insight as to
why this isn't working.

I've based my scripts on the 6to4 setup page,
<URL: http://people.debian.org/~csmall//ipv6/setup624.html>
such that it brings up the connection via sit0 automatically.

Graphically:

+---------+    +---------+      +------+
| caliban |----| giskard |======| msft |
+---------+    +---------+      +------+

--- is connection via IPv4/IPv6 on ethernet
=== is a tunneled IPv6 connection via IPv4 over PPP

IPv6 works properly from giskard to the rest of the world
IPv6 works properly from caliban to giskard
IPv6 does NOT work from caliban to the rest of the world

After the link has been established the address and routes
look like:

BEFORE
giskard:~# ip -6 addr
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue 
    inet6 ::1/128 scope host 
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    inet6 fe80::200:c0ff:fe2b:afb3/10 scope link 
3: sit0@NONE: <NOARP,UP> mtu 1480 qdisc noqueue 
    inet6 ::203.134.154.43/96 scope global 
    inet6 2002:cb86:9a2b::1/128 scope global 
    inet6 ::127.0.0.1/96 scope host 
    inet6 ::203.7.227.1/96 scope global 
giskard:~# ip -6 route
::/96 via :: dev sit0  metric 256  mtu 1480 rtt 375ms
fe80::/10 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
fe80::/10 dev sit0  proto kernel  metric 256  mtu 1480 rtt 375ms
ff00::/8 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
ff00::/8 dev sit0  proto kernel  metric 256  mtu 1480 rtt 375ms
default via ::131.107.65.121 dev sit0  metric 1024  mtu 1480 rtt 375ms
unreachable default dev lo  metric -1  error -101

Then, I manually, add an address to eth0 and set a route

AFTER
giskard:~# ip -6 addr
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue 
    inet6 ::1/128 scope host 
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    inet6 2002:cb86:9a2b:f101:200:c0ff:fe2b:afb3/128 scope global 
    inet6 fe80::200:c0ff:fe2b:afb3/10 scope link 
3: sit0@NONE: <NOARP,UP> mtu 1480 qdisc noqueue 
    inet6 ::203.134.154.43/96 scope global 
    inet6 2002:cb86:9a2b::1/128 scope global 
    inet6 ::127.0.0.1/96 scope host 
    inet6 ::203.7.227.1/96 scope global 
giskard:~# ip -6 route
::/96 via :: dev sit0  metric 256  mtu 1480 rtt 375ms
2002:cb86:9a2b:f101::/64 dev eth0  metric 1024  mtu 1500 rtt 375ms
fe80::/10 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
fe80::/10 dev sit0  proto kernel  metric 256  mtu 1480 rtt 375ms
ff00::/8 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
ff00::/8 dev sit0  proto kernel  metric 256  mtu 1480 rtt 375ms
default via ::131.107.65.121 dev sit0  metric 1024  mtu 1480 rtt 375ms
unreachable default dev lo  metric -1  error -101

Similiar I manully add an address and route to caliban

anand@caliban:~$ /sbin/ip -6 addr
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue 
    inet6 ::1/128 scope host 
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
    inet6 fe80::200:e8ff:feda:9854/10 scope link 
3: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
    inet6 2002:cb86:9a2b:f101:250:baff:fecb:9898/128 scope global 
    inet6 fe80::250:baff:fecb:9898/10 scope link 
anand@caliban:~$ /sbin/ip -6 route
2002:cb86:9a2b:f101::/64 dev eth1  metric 1024  mtu 1500 rtt 375ms
fe80::/10 dev eth1  proto kernel  metric 256  mtu 1500 rtt 375ms
fe80::/10 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
ff00::/8 dev eth1  proto kernel  metric 256  mtu 1500 rtt 375ms
ff00::/8 dev eth0  proto kernel  metric 256  mtu 1500 rtt 375ms
default via 2002:cb86:9a2b:f101:200:c0ff:fe2b:afb3 dev eth1  metric 1024  mtu 1500 rtt 375ms
unreachable default dev lo  metric -1  error -101

giskard:~# ping6 sutekh.progsoc.org
PING sutekh.progsoc.org(3ffe:8001:c:1::14) 56 data bytes
64 bytes from 3ffe:8001:c:1::14: icmp_seq=0 time=823.6 ms

anand@caliban:~$ ping6 sutekh.progsoc.org
Warning: no SO_TIMESTAMP support, falling back to SIOCGSTAMP
PING sutekh.progsoc.org(sutekh.progsoc.uts.edu.au) 56 data bytes
>From 2002:cb86:9a2b:f101:200:c0ff:fe2b:afb3: Destination unreachable: Address unreachable

All the configuration for /proc/sys/net/ipv6/conf/all/ is set
as recommended on the setup page instructions but things aren't
working. Kernel version 2.2.18 in both cases.

Any suggestions or ideas I should try?

Thanks,
Anand

-- 
   I close my eyes, only for a moment and the moment's gone
   All my dreams, pass before my eyes a curiosity
   Dust in the wind, All we are is dust in the wind
   Don't hang on, nothing lasts forever but the earth and sky
                  Dust in the Wind -- Kansas, Don Kirshner



Reply to: