Disabling IPv6 on *one* network interface in Debian

Frank Bulk frnkblk at iname.com
Fri Feb 4 06:31:06 CET 2011

I tried several variations of that, but no success.  I would do a if-down
eth0.100, then a if-up eth0.100, and every time it said:
	/bin/sh: /proc/sys/net/ipv6/conf/eth0.100/disable_ipv6: No such file
or directory


-----Original Message-----
From: Tim Durack [mailto:tdurack at gmail.com] 
Sent: Thursday, February 03, 2011 9:10 PM
To: frnkblk at iname.com
Cc: ipv6-ops at lists.cluenet.de; ipv6-techsig at mailman.internetnz.net.nz
Subject: Re: Disabling IPv6 on *one* network interface in Debian

On Fri, Feb 4, 2011 at 2:41 AM, Frank Bulk <frnkblk at iname.com> wrote:
> Due to our network setup I have asymmetric traffic occurring (post-IPv4
> result) that can be resolved by disabling IPv6 on one of the server's
> I removed the IPv6 addresses manually using "ip -6 addr del <IPv address>
> dev eth0.<VLAN number>" but that will only last until the next reboot.
> Any ideas on how to disable IPv6 on *one* network interface in Debian?  My
> google fu has failed me.

you could add something like the following to /etc/network/interfaces:

interface <interface> inet <static|manual|dhcp>
  pre-up echo 1 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6


More information about the ipv6-ops mailing list