Radvd problem
Shadow Hawkins on Wednesday, 03 December 2008 17:23:59
Hi!
I've got a problem with my radvd configuration :
(I'm trying to have a statefull configuration...)
/etc/radvd.conf
interface eth1
{
AdvSendAdvert on;
prefix 2001:15c0:66bd::/64
{
AdvOnLink on;
AdvAutonomous off;
AdvRouterAddr on;
};
Radvdump it's OK, The prefix is received by the other interfaces...
BUT : No route is create by the radvd!!!!
Look route -6 -n
Destination Next Hop Flag Met Ref Use If
2001:15c0:66bd::/64 :: UA 256 0 0 eth0
2001:15c0:66bd:f:1::/80 :: U 256 0 0 eth1
fe80::/64 :: U 256 0 0 eth1
fe80::/64 :: U 256 0 0 eth0
fe80::/64 :: U 256 0 0 tap0
feee:ffff:0:ffff::7f00:101/128 :: U 256 0 0 tap0
feee:ffff:0:ffff::/64 fe80::5 UG 1024 0 19 tap0
::/0 :: !n -1 1 42 lo
What's happend?
TX for your Help!
Radvd problem
Jeroen Massar on Wednesday, 03 December 2008 17:45:05 BUT : No route is create by the radvd!!!!
This is depending on the location of the moon and other weird things. Though, it is kind of explainable: The moment one enables forwarding (which is required for radvd to work) Linux doesn't use RA's anymore to configure interfaces, thus it won't autoconfigure it even when it would see the outbound RA message.
Generally I just hard-configure an address on the interface out of the /64.
2001:15c0:66bd:f:1::/80 :: U 256 0 0 eth1
Why do you have a /80 configured there, you do realize that you have a /48 with thus 65536 /64's. Also /80's don't work for auto-configuration.
feee:ffff:0:ffff::7f00:101/128 :: U 256 0 0 tap0 feee:ffff:0:ffff::/64 fe80::5 UG 1024 0 19 tap0
That address space definitely does not exist, remember you have a /48, thus more than enough space you can really use.
Radvd problem
Shadow Hawkins on Wednesday, 03 December 2008 18:53:50
Thank you so much Jeroen!
It was really helpful!
Posting is only allowed when you are logged in. |