Centos – IPv6 stateless autoconfiguration not working on CentOS 6.2

centosipv6

I have a problem setting up IPv6 connectivity to two virtual hosts that I run on VmWare workstation. The hosts are CentOS 6.2 x86 and x86-64. Even though they are on a bridged network and there is a RA router on the same segment, they don't accept the advertisment from the router.

I can ping6 the router through its link-local address, cat /proc/sys/net/ipv6/conf/eth0/accept_ra returns 1 and I flushed all the ip6tables rules.

The hosts are both a fresh install and I haven't changed anything apart from installing a few libraries and changing wallpaper 😉

What should I do/check/… ?

Best Answer

Here is the relavent bits from the kernel documentation about forwarding. And Router Solicitations/Advertisements.

forwarding - BOOLEAN
        Configure interface-specific Host/Router behaviour.

        Note: It is recommended to have the same setting on all
        interfaces; mixed router/host scenarios are rather uncommon.

        FALSE:

        By default, Host behaviour is assumed.  This means:

        1. IsRouter flag is not set in Neighbour Advertisements.
        2. Router Solicitations are being sent when necessary.
        3. If accept_ra is TRUE (default), accept Router
           Advertisements (and do autoconfiguration).
        4. If accept_redirects is TRUE (default), accept Redirects.

        TRUE:

        **If local forwarding is enabled, Router behaviour is assumed.**
        This means exactly the reverse from the above:

        1. IsRouter flag is set in Neighbour Advertisements.
        2. **Router Solicitations are not sent.**
        3. **Router Advertisements are ignored.**