Linux: disabling IPv6 per interface
Shadow Hawkins on Monday, 07 December 2009 16:05:18
I've got a working IPv6 setup on my Linux boxes, but now have an interesting case. I have a machine with IPv4+IPv6 on eth0, and it also has a few bridging interfaces, which should have no IP at all (neither IPv4 or IPv6).
For IPv4 this is straight-forward, but for IPv6 the kernel seems to always bind an IPv6 link local address to the bridge devices, and so far I have not found a way to disable this.
(Background: the machine hosts several virtual machines which connect using the bridging devices to the rest of the network. They should not "see" the host machine.)
Does anyone know how to permanently disable the LL addresses?
Thanks,
Christian
Linux: disabling IPv6 per interface
Shadow Hawkins on Monday, 07 December 2009 16:21:05
Probably found the answer myself: Kernel 2.6.27 and later have a disable_ipv6 sysctl, which can be used to disable IPv6 (and thus the LL address) per interface.
Christian
Posting is only allowed when you are logged in. |