Re: defining static IPv6 addresses in /etc/network/interfaces
* Tiago Fernandes wrote:
> Hi.
>
>
> add to /etc/sysctl.conf
>
> net.ipv6.conf.all.autoconf = 0
> net.ipv6.conf.all.accept_ra = 0
This will not work. When sysctl runs (/etc/rcS.d/S30procps) the ipv6
kernelmodule is not loaded yet and 'net.ipv6.conf.all.autoconf' doesn't exist.
My solution is:
* load ipv6 manually (add to /etc/modules)
* add in the interface stanza
iface eth0 inet static
pre-up sysctl -w net.ipv6.conf.eth0.autoconf=0 > /dev/null || true
Regards
Friedemann
Reply to: