[Gllug] Debian's 'interfaces', IPv6 and aliases
Jason Clifford
jason at ukfsn.org
Tue Apr 19 09:07:53 UTC 2011
On Tue, 2011-04-19 at 09:30 +0100, Henrik Morsing wrote:
> I don't know if I'm doing things wrong here, but having a mixed IPv4 and IPv6 /etc/network/interfaces in Debian appears to be un-supported. Am I correct? Having:
>
> auto eth0 inet static
> blah
>
> auto eth0 inet6 static
> blah
>
> Gives and error when the network is brought up. Googling offers no help, nor does Debian's documentation. They only document 6to4 and tunnel setups for some reason.
>
> Along the same lines with IPv4 aliases. The new way of piling IP addresses on the main interface using 'ip' also seems un-supported by Debian, where you still have to have 'aliases' as in you end up with eth0:1, eth0:2 etc.
Have you tried doing it using "up"? ie:
auto eth0
iface eth0 inet manual
up ip addr add 192.168.254.1 dev eth0
up ip -6 addr add $IPv6_ADDR dev eth0
...
not, of course, forgetting to add as necessary for "down"
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list