[CentOS] IPv6 static routing

Thu Jul 10 17:36:16 UTC 2008
Robert Moskowitz <rgm at htt-consult.com>

So I do not want to run radvd on my public subnet (between the gateway 
and firewall).

I am trying to set up the firewall's public interface.  For now in 
ifcfg-eth0 I have the lines:


DEVICE=eth0
BOOTPROTO=static
HWADDR=00:40:F4:05:A8:F1
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6ADDR="2607:F4B8:3:1:0:40:F405:A8F1"
ONBOOT=yes

And in network I have:

NETWORKING=yes
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_DEFAULTGW="2607:F4B8:3:1:50:BA42:8249%eth0"

But when I restart network (service network restart) I get:

Bringing up interface eth0:  WARN     : [ipv6_add_route] Unknown error
                                                           [  OK  ]

and ip -6 route show dev eth0 generates:

2607:f4b8:3:1::/64  metric 256  expires 21333899sec mtu 1500 advmss 1440 
hoplimit 4294967295
fe80::/64  metric 256  expires 21333899sec mtu 1500 advmss 1440 hoplimit 
4294967295

What is missing?

I am using http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/ for some help.