[Gllug] Debian's 'interfaces', IPv6 and aliases
John Winters
john at sinodun.org.uk
Wed Apr 20 07:25:31 UTC 2011
On 19/04/11 10:08, Henrik Morsing wrote:
> On Tue, Apr 19, 2011 at 09:52:01AM +0100, Paul Cupis wrote:
>>
>> The syntax above is wrong. It should be something like:
>>
>> auto eth0
>>
>> iface eth0 inet static
>> blah
>>
>> iface eth0 inet6 static
>> blah
>
> Sorry, I was doing it form memory and obviously not very well. My qustion wasn't about the syntax of the file but that I can't define an interface twice even using inet and inet6.
I've just checked my systems and the format recommended above by Paul
works fine on both Lenny and Squeeze.
I have:
allow-hotplug eth0
iface eth0 inet static
address 10.3.0.89
netmask 255.255.0.0
network 10.3.0.0
broadcast 10.3.255.255
gateway 10.3.0.20
dns-nameservers 10.3.0.89
dns-search sinodun.org.uk
iface eth0 inet6 static
address 2001:08B0:00E9:0001:0250:43FF:FE01:5024
netmask 64
on my gateway machine.
Cheers,
John
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list