[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bridges with multiple static IPs or DHPC - how to configure?



On Wed, Jun 4, 2014 at 4:25 PM, Karl E. Jorgensen <karl@jorgensen.org.uk> wrote:
> On Wed, Jun 04, 2014 at 08:00:49PM +0200, Steffen Dettmer wrote:
>>
>> For an ordinary ethernet interface, the following works:
>>
>>   auto eth3.10
>>   iface eth3.10 inet static
>>     address 10.72.9.17
>>     netmask 255.255.255.248
>>   iface eth3.10 inet static
>>     address 10.72.9.25
>>     netmask 255.255.255.248
>
> Hm.. it doesn't complain about having multiple stanzas with the name
> iface !?  (I'm surprised here, so I may well learn something)

It's made possible by using ip/netlink rather than ifconfig/ioctl to
configure the interfaces.

With ifconfig/ioctl, you'd need the alias syntax: eth3.10 and eth3.10:0.


Reply to: