Vlans and trunks - newbie help
Hi,
I have a duel nic HP Microserver with Debian Stretch installed and i'm trying to configure it to use 5 vlans as follows:
NIC 1 - trunk (no IP)
- vlan10 (static ip)
- vlan20 (static ip)
- vlan30 (static ip)
- vlan40 (static ip)
- vlan50 (static ip)
Nic 2 - Management net (DHCP)
When I try to remove the IP from NIC 1, every vlan sub interface goes DOWN.
My interfaces file:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eno1
#iface eno1 inet dhcp
auto eno2
iface eno2 inet dhcp
auto vlan10
iface vlan10 inet static
vlan-raw-device eno1
address 192.168.10.3
netmask 255.255.255.0
auto vlan20
iface vlan20 inet static
vlan-raw-device eno1
address 192.168.20.3
netmask 255.255.255.0
...
|