Disabling IPv6 on *one* network interface in Debian
    Matt Addison 
    matt.addison at lists.evilgeni.us
       
    Fri Feb  4 07:11:11 CET 2011
    
    
  
On Fri, Feb 4, 2011 at 00:47, Frank Bulk <frnkblk at iname.com> wrote:
> I tried that, no luck.
> ===================================
> iface eth0.100 inet static
>       pre-up sysctl -w net.ipv6.conf.eth0/100.autoconf=0
>       pre-up sysctl -w net.ipv6.conf.eth0/100.accept_ra=0
>       address a.b.c.d
>       netmask 255.255.255.0
>       network a.b.c.0
> ===================================
>
> Results in
>        error: "net.ipv6.conf.eth0.100.autoconf" is an unknown key
The /proc files (and sysctls) will not be populated until the interface is
in an up state (ie, at post-up), try just setting it in 'post-up' parameter
not 'pre-up'
Alternatively you could set the net.ipv6.conf.default.x values at boot, then
enable v6 explicitly on the interfaces you want it on (using the
aforementioned post-up parameter).
~Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cluenet.de/pipermail/ipv6-ops/attachments/20110204/846935bf/attachment.htm>
    
    
More information about the ipv6-ops
mailing list