VLAN Help (Solved)
I have a fully KVM'd debian installation of my companies product and I need to have multiple VLAN's on it's vmbr interface (in this case vlan 5,9,15). The switch port I'm plugged into has all the vlan's tagged appropriately.
here is my /etc/network/interfaces file:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vlan5
iface vlan5 inet static
address 0.0.0.0
netmask 0.0.0.0
vlan-raw-device eth0
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address a.b.c.d
netmask a.b.c.d
gateway a.b.c.d
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr1 <--interface that is on my Virtual Machine
iface vmbr1 inet static
address a.b.c.d
netmask a.b.c.d
bridge_ports eth0 vlan5
bridge_stp off
bridge_fd 0
when I try to ping out from my VM, I get Destination host unreachable, but when I run a tcpdump -i on vmbr1 I see it arping but never getting a response from the destination IP.
Example:
12:38:17.778808 vlan 5, p 0, arp who-has 10.5.0.8 tell 10.5.0.1
My switch lives on 10.5.0.8 so..not quite sure what I'm doing wrong.
I have a fully KVM'd debian installation of my companies product and I need to have multiple VLAN's on it's vmbr interface (in this case vlan 5,9,15). The switch port I'm plugged into has all the vlan's tagged appropriately.
here is my /etc/network/interfaces file:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vlan5
iface vlan5 inet static
address 0.0.0.0
netmask 0.0.0.0
vlan-raw-device eth0
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address a.b.c.d
netmask a.b.c.d
gateway a.b.c.d
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr1 <--interface that is on my Virtual Machine
iface vmbr1 inet static
address a.b.c.d
netmask a.b.c.d
bridge_ports eth0 vlan5
bridge_stp off
bridge_fd 0
when I try to ping out from my VM, I get Destination host unreachable, but when I run a tcpdump -i on vmbr1 I see it arping but never getting a response from the destination IP.
Example:
12:38:17.778808 vlan 5, p 0, arp who-has 10.5.0.8 tell 10.5.0.1
My switch lives on 10.5.0.8 so..not quite sure what I'm doing wrong.
Last edited: