Re: Configuring multiple IP addresses on VLAN interface using ifupdown
On Fri, Oct 18, 2013 at 3:24 PM, Tom H <tomh0665@gmail.com> wrote:
>> ------------------------------------------------------------------->8=======
>> auto lo
>> iface lo inet loopback
>>
>> 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
>> =======8<-------------------------------------------------------------------
>> Is the example above correct? Does it work for you? Could your
>> machine be boot so quickly that it might not be visible without
>> adding --noclear to /etc/inittab for tty1 getty?
>
> I tested once. I just took down the network so that only "lo" was
> defined and then brought it up with what I'd posted.
I retested after "dpkg -P vlan", booted a couple of times and got
no single error. Seems this mean to use VLAN someone should better
not install package vlan... :-)
Good spot about the non-NETLINK errors!! Thanks so much, I completely
missed that!
So maybe there is just some issue about some vconfig
backward-compatiblity in ifup?
Have a great weekend, Tom and all the list!
Steffen
Reply to: