"prefix 2001:470:5:35::102/64" is invalid, so radvd should have refused to read it, you probably wanted "prefix 2001:470:5:35::/64".
Changed, restarted. Yeah I missed that one, when I was changing the prefix.
prefix 2001:470:5:35::/64 {
Base6to4Interface is only for 6to4 addresses, which have to start with 2002:
All other addresses like 2001: are 6in4. (There's also 6over4, but that requires IPv4 multicast)
I understand more now what base6to4interface means.
Now my internals are working fine.
The eth0 (2001:470:5:35::/64) are not routing.
machine connected on the eth0 get the ip generated from 2001:470:4:35::/64 and I have statically assigned 2001:470:5:35::/64 addresses. With either interface removed, I get no response from ping6.
I have tcpdump -vvisixbone and have NO traffic traversing on this interface.
My understand is that these interfaces with routing should work like this.
- ext_eth0(2001:470:5:35::98) -> router_eth0 (2001:470:5:35::102) --(r_eth0_tunnel)--> world
- ext_eth1(2001:0470:d848:0210:0211:24ff:fe42:ebb6) -> router_eth1(2001:470:d848:210::2) --(r_eth0_tunnel)-->world
cat /proc/sys/net/ipv6/conf/all/forwarding
1
In #2 the rules and routing works fine, but in #1 it doesn't
so I'm a little confused, WHY it works for all generated IPs but not for statics.
Here's my routing.
root@426-624:~$ ip -f inet6 addr
1: lo: <LOOPBACK,UP,10000> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qlen 1000
inet6 2001:470:5:35::102/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::210:5aff:fea0:6b23/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qlen 1000
inet6 2001:470:d848:210::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::210:5aff:fee0:4902/64 scope link
valid_lft forever preferred_lft forever
5: sixbone@NONE: <POINTOPOINT,NOARP,UP,10000> mtu 1480
inet6 2001:470:4:35::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::4658:b266/128 scope link
valid_lft forever preferred_lft forever
root@426-624:~$
root@426-624:~$ route -6
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
::1/128 :: Un 0 1 2 lo
2001:470:4:35::/128 :: Un 0 2 0 lo
2001:470:4:35::2/128 :: Un 0 1 206 lo
2001:470:4:35::/64 :: UAe 256 0 0 eth0
2001:470:4:35::/64 :: Un 256 0 7 sixbone
2001:470:5:35::/128 :: Un 0 2 0 lo
2001:470:5:35::102/128 :: Un 0 1 4946 lo
2001:470:5:35::/64 :: U 256 0 0 eth0
2001:470:d848:210::/128 :: Un 0 2 0 lo
2001:470:d848:210::2/128 :: Un 0 1 0 lo
2001:470:d848:210::/64 :: U 256 0 0 eth1
fe80::/128 :: Un 0 2 0 lo
fe80::/128 :: Un 0 2 0 lo
fe80::4658:b266/128 :: Un 0 1 0 lo
fe80::210:5aff:fea0:6b23/128 :: Un 0 1 71 lo
fe80::210:5aff:fee0:4902/128 :: Un 0 1 201 lo
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 eth1
fe80::/64 :: Un 256 0 0 sixbone
ff00::/8 :: U 256 0 0 eth0
ff00::/8 :: U 256 0 0 eth1
ff00::/8 :: U 256 0 0 sixbone
::/0 :: U 1024 0 0 sixbone
::/0 :: !n -1 1 1 lo
root@426-624:~$
root@426-624:~$ ip -6 route show
2001:470:4:35::/64 dev eth0 proto kernel metric 256 expires 2587235sec mtu 1500 advmss 1440 metric 10 4294967295
2001:470:4:35::/64 via :: dev sixbone metric 256 expires 21329294sec mtu 1480 advmss 1420 metric 10 4294967295
2001:470:5:35::/64 dev eth0 metric 256 expires 21329294sec mtu 1500 advmss 1440 metric 10 4294967295
2001:470:d848:210::/64 dev eth1 metric 256 expires 21329294sec mtu 1500 advmss 1440 metric 10 4294967295
fe80::/64 dev eth0 metric 256 expires 21329284sec mtu 1500 advmss 1440 metric 10 4294967295
fe80::/64 dev eth1 metric 256 expires 21329284sec mtu 1500 advmss 1440 metric 10 4294967295
fe80::/64 via :: dev sixbone metric 256 expires 21329294sec mtu 1480 advmss 1420 metric 10 4294967295
ff00::/8 dev eth0 metric 256 expires 21329284sec mtu 1500 advmss 1440 metric 10 4294967295
ff00::/8 dev eth1 metric 256 expires 21329284sec mtu 1500 advmss 1440 metric 10 4294967295
ff00::/8 dev sixbone metric 256 expires 21329294sec mtu 1480 advmss 1420 metric 10 4294967295
default dev sixbone metric 1024 expires 21329294sec mtu 1480 advmss 1420 metric 10 4294967295
unreachable default dev lo proto none metric -1 error -101 metric 10 255
root@426-624:~$
Obviuosly I'm missing something, but i don't know what it is.
And a traceroute for good measures.
This machine is connected using #2 method from the list.
dscott@praying-mantis:~$ traceroute6
www.kame.nettraceroute6 to
www.kame.net (2001:200::8002:203:47ff:fea5:3085) from 2001:470:d848:210:211:24ff:fe42:ebb6, 30 hops max, 12 byte packets
1 2001:470:d848:210::2 2.527 ms 0.497 ms 0.338 ms
2 mosimossystems.tunnel.tserv12.mia1.ipv6.he.net 71.159 ms 57.227 ms 53.755 ms
3 gige-g2-3.core1.mia1.he.net 91.377 ms 83.193 ms 62.291 ms
4 10gigabitethernet5-4.core1.ash1.he.net 147.951 ms 82.864 ms 94.619 ms
5 10gigabitethernet1-4.core1.pao1.he.net 222.191 ms 169.027 ms 158.128 ms
6 3ffe:80a::b2 158.137 ms 175.952 ms 159.419 ms
7 hitachi1.otemachi.wide.ad.jp 302.993 ms 298.247 ms 320.554 ms
8 2001:200::1802:20c:dbff:fe1f:7200 298.983 ms 318.593 ms 301.464 ms
9 ve42.foundry4.nezu.wide.ad.jp 298.579 ms 303.126 ms 300.563 ms
10 ve45.nec2.yagami.wide.ad.jp 306.628 ms 306.271 ms 310.875 ms
11 lo0.alaxala1.k2.wide.ad.jp 301.517 ms 324.224 ms 301.983 ms
12 orange.kame.net 300.101 ms 301.773 ms 298.732 ms
dscott@praying-mantis:~$
another machine; this machine connected using #1 method in the list.
root@femur:~$ traceroute6
www.kame.nettraceroute to
www.kame.net (2001:200:0:8002:203:47ff:fea5:3085) from 2001:470:5:35::98, 30 hops max, 16 byte pack
ets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * *
It is most certainly a routing issue, not a connection issue.
root@femur:~$ ping6 2001:470:5:35::102
PING 2001:470:5:35::102(2001:470:5:35::102) 56 data bytes
64 bytes from 2001:470:5:35::102: icmp_seq=1 ttl=64 time=0.293 ms
64 bytes from 2001:470:5:35::102: icmp_seq=2 ttl=64 time=0.245 ms
--- 2001:470:5:35::102 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.245/0.269/0.293/0.024 ms
root@femur:~$ traceroute6 2001:470:5:35::102
traceroute to 2001:470:5:35::102 (2001:470:5:35::102) from 2001:470:5:35::98, 30 hops max, 16 byte packets
1 2001:470:5:35::102 (2001:470:5:35::102) 0.413 ms 0.476 ms 0.836 ms
root@femur:~$
And the other way
root@426-624:~$ ping6 2001:470:5:35::98
PING 2001:470:5:35::98(2001:470:5:35::98) 56 data bytes
64 bytes from 2001:470:5:35::98: icmp_seq=1 ttl=64 time=0.000 ms
64 bytes from 2001:470:5:35::98: icmp_seq=2 ttl=64 time=0.272 ms
--- 2001:470:5:35::98 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.000/0.136/0.272/0.136 ms
root@426-624:~$ traceroute6 2001:470:5:35::98
traceroute to 2001:470:5:35::98 (2001:470:5:35::98) from 2001:470:5:35::102, 30 hops max, 16 byte packets
1 2001:470:5:35::98 (2001:470:5:35::98) 0 ms 0 ms 0.313 ms
root@426-624:~$
It seems that all the routing performed on eth0 are just ignored, not drop, as i would/should have seen some traffic coming in.