radvd – The Linux IPv6 Router Advertisement Daemon

Installation on Ubuntu / Debian:

sudo apt-get update && sudo apt-get install radvd

A typical radvd configuration file /etc/radvd.conf to advertise the prefix 2001:db8:2530:fa13::/64 for autoconfiguration on the network connected to the interface eth0 and to advertise the machine running radvd as a router for the local network (based on the routes on this host) would look like this:

interface eth0
{
    AdvSendAdvert on;
    AdvManagedFlag off;
    AdvOtherConfigFlag off;

    prefix 2001:db8:2530:fa13::/64
    {
            AdvOnLink on;
            AdvAutonomous on;
            AdvRouterAddr off;
    };
};

Resources

Comments