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

Re: Configuring multiple IP addresses on VLAN interface using ifupdown



On Mon, Oct 21, 2013 at 7:29 AM, Bonno Bloksma <b.bloksma@tio.nl> wrote:
>>>
>>> allow-auto eth0.9
>>> iface eth0.9 inet static
>>>   address 192.168.1.119
>>>   netmask 255.255.255.0
>>>   gateway 192.168.1.1
>>>   post-up ip address add 192.168.1.199/24 dev eth0.9
>
> What I use is:
> -=-=-=-=-=-
> auto eth0
> iface eth0 inet static
>         address 172.16.17.1
>         netmask 255.255.255.0
>
> auto vlan100
> iface vlan100 inet static
>         vlan-raw-device eth0
>         address 192.168.178.10
>         netmask 255.255.255.0
>         gateway 192.168.178.1
> -=-=-=-=-=-

This is just one address: Steffen was looking for a multiple-address method.


Reply to: