OVH Community, your new community space.

IPv6 Routing


IainK
09-05-2008, 11:15
Nice one thanks for letting us know I will have to give that a try soon as I too hate having routers auto config stuff for me :P

mhamzahkhan
09-05-2008, 11:00
Thanks for your reply

I seem to have found the problem, I had to add a route to 2001:41d0:1:ba00::/56 using:
ip -6 ro add 2001:41d0:1:ba00::/56 eth0

Now its working perfectly!

Thanks again!

IainK
09-05-2008, 09:08
I have had IPv6 working fine on my server but I haven't tried it without the router announcements.
One thing I could recommend is turning on ra and then using a "traceroute6 google.com" to see which router you are connecting through first then using that.

mhamzahkhan
08-05-2008, 23:26
Hi everyone,

I'm trying to set up IPv6 routing on my server but am facing a small problem.

I don't want to use the router announcements which OVH is currently using to simplify router setup (I am weird like that ), so I have disabled them using net.ipv6.conf.all.accept_ra = 0 in sysctl.conf, but now I face the task of configuring the default route myself.

My IPv6 subnet is 2001:41D0:1:BA50::/64, so my router should be 2001:41d0:1:baff:ff:ff:ff:ff (I asked OVH for this since I couldn't completely understand how to get the routers address using the guide pv4ipv6 guide available on the OVH site).

I have added 2001:41d0:1:ba50::1/64 to eth0, and I tried the following command to set the default route to 2001:41d0:1:baff:ff:ff:ff:ff
ip -6 ro add ::/0 via 2001:41d0:1:baff:ff:ff:ff:ff dev eth0

but I get the following error:
RTNETLINK answers: No route to host

I tried to ping the router, but I get a message saying "connect: Network is unreachable".

So now I am quite confused as to what the problem could be.

Currently I have the following routes/addresses:
europa ~ # ip -6 ro
2001:41d0:1:ba50::/64 dev eth0 metric 256 expires 21331437sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0 metric 256 expires 20558436sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev tap0 metric 256 expires 20558443sec mtu 1500 advmss 1440 hoplimit 4294967295

europa ~ # ip -6 addr
1: lo: mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qlen 1000
inet6 2001:41d0:1:ba50::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::21c:c0ff:fe49:c894/64 scope link
valid_lft forever preferred_lft forever

Does anyone know what I am doing wrong?