Ipv6 Radvd

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Install

  • apt-get install radvd

sysctl.conf

IPv6 Forwarding einschalten

net.ipv6.conf.all.forwarding = 1

Akzeptieren der Router Advertisments

net.ipv6.conf.ens19.accept_ra=2

radvd.conf

Diese Datei neu anlegen.

interface ens19 
{
AdvManagedFlag off; # no DHCPv6 server here.
AdvOtherConfigFlag off; # not even for options.
AdvSendAdvert on;
AdvDefaultPreference high;
AdvLinkMTU 1280;
prefix ::/64 #pick one non-link-local prefix assigned to the interface and start advertising it
{
AdvOnLink on;
AdvAutonomous on;
};
};

radvd neustarten

  • systemctl restart radvd