RE: Configuring multiple IP addresses on VLAN interface using ifupdown
Hi Steffen,
>> 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
-=-=-=-=-=-
As you can see vlan 100 is my internet connection from my ADSL router to my Linux router. Eth0 is my Local LAN
This works for me as documented in the https://wiki.debian.org/NetworkConfiguration
Bonno Bloksma
Reply to: