Radvd starts for no apparent reason



  • Anyone else having radvd running and advertising on the latest beta for no apparent reason? This is on my simple pfSense test KVM with no special configuration, after a fresh reboot.
    I have not turned on Track for WAN (just using DHCP6) and theres no IPv6 IP assigned to the LAN interface. Radvd runs nonetheless and is not shown under "Status:Services" either:

    ps aux | grep radvd
    root    57745   0.0  0.2  14484  2200  -  S     3:35PM 0:00.03 /usr/local/sbin/radvd -p /var/run/radvd.pid -C /var/etc/radvd.conf -m syslog
    
    
    cat /var/etc/radvd.conf
    # Automatically Generated, do not edit
    # Generated config for dhcp6 delegation from wan on lan
    interface em0 {
            AdvSendAdvert on;
            MinRtrAdvInterval 3;
            MaxRtrAdvInterval 10;
            AdvLinkMTU 0;
            AdvOtherConfigFlag on;
                    prefix ::/64 {
                    AdvOnLink on;
                    AdvAutonomous on;
                    AdvRouterAddr on;
            };
            DNSSL local-lan { };
    };
    
    


  • Probably because of dhcpv6 active.

    Can you share more details about your configuration?



  • It's easy to reproduce, my test VM has em0 (LAN) and em1 (WAN). em1 is behind a FritzBox that provides IPv4 and IPv6 DHCP with delegation.
    I just reset the test KVM to defaults and it seems to automatically turn on tracking WAN IPv6 after interface configuration (which is a very good thing for new installations by the way, thanks for that!).

    Then on the console I change the LAN IPv4 IP to my actual LAN net and don't set any IPv6 IP. I also disable DHCP when asked. After that radvd is still on and autostarts.

    Probably not what most people would do, but as this is just a test installation, I don't need a second DHCP or IPv6 announements from that gateway.



  • Are you getting a IPv6 address and a /64 (or smaller) prefix length from your ISP?  I would expect radvd to be configured and run in that case.

    From my broken ISP, I'm getting an IPv6 address, but a /128 prefix; ie a single host address and no routable networks.  radvd is not running on my system, as I expected.



  • My test system is located behind a FritzBox. The box is configured to use a SixXS tunnel and also delegates parts of my SixXS /48 via DHCPv6.
    The LAN side of the FritzBox has a /64 net so the WAN side of my test pfSense get's an IP out of that net.
    I don't have any native IPv6 at home.