Hello,
Ive tried for the last week to setup my networking with vlans without luck.
My setup is;
|->(trunk) to another proxmox server
Proxmox - (3 nic bond for switch with lacp (and 1seperate nic to wan)) -> Cisco SG350 switch - (trunk) -> Cisco RV260W where i use a LAN instead of WAN to make it an AP.
My VLANS are: 1,2,3 & 4
All the network gear uses untagged: 1 and tagged: 2,3 & 4
My network card is a 4lan port combo for HP Microserver Gen10+
WAN: vmbr1
LAN: vmbr0
The vmbrX´s are connected to a a OPENSense vm which runs an dhcp for the networks.
First I tried every config via vanilla Proxmox with vmbr etc without luck. I Only got the WAN and LAN VLAN: 2 to work and also wireless tagging as VLAN2.
The following in my config in OVS format - here everything works in the vlan section except WAN(?) for some reason? The only places I do set tagging is in the properties for the nic connected to the vm (i.e tag=2) - correct?
My interfaces file:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
mtu 9000
auto eno2
iface eno2 inet manual
mtu 9000
auto eno3
iface eno3 inet manual
mtu 9000
auto eno4
iface eno4 inet manual
mtu 9000
auto bond0
iface bond0 inet manual
ovs_bonds eno2 eno3 eno4
ovs_type OVSBond
ovs_bridge vmbr0
ovs_mtu 9000
ovs_options tag=1 bond_mode=active-backup vlan_mode=native-untagged
pre-up ifconfig eno2 mtu 9000
pre-up ifconfig eno3 mtu 9000
pre-up ifconfig eno4 mtu 9000
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0
ovs_mtu 9000
auto vmbr1
iface vmbr1 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vlan2
iface vlan2 inet static
address 192.168.2.4/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=2
ovs_mtu 9000
source /etc/network/interfaces.d/*
Anyone smart enough to correct this as apperently I am not...
Br,
NoNetworkWiz
Ive tried for the last week to setup my networking with vlans without luck.
My setup is;
|->(trunk) to another proxmox server
Proxmox - (3 nic bond for switch with lacp (and 1seperate nic to wan)) -> Cisco SG350 switch - (trunk) -> Cisco RV260W where i use a LAN instead of WAN to make it an AP.
My VLANS are: 1,2,3 & 4
All the network gear uses untagged: 1 and tagged: 2,3 & 4
My network card is a 4lan port combo for HP Microserver Gen10+
WAN: vmbr1
LAN: vmbr0
The vmbrX´s are connected to a a OPENSense vm which runs an dhcp for the networks.
First I tried every config via vanilla Proxmox with vmbr etc without luck. I Only got the WAN and LAN VLAN: 2 to work and also wireless tagging as VLAN2.
The following in my config in OVS format - here everything works in the vlan section except WAN(?) for some reason? The only places I do set tagging is in the properties for the nic connected to the vm (i.e tag=2) - correct?
My interfaces file:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
mtu 9000
auto eno2
iface eno2 inet manual
mtu 9000
auto eno3
iface eno3 inet manual
mtu 9000
auto eno4
iface eno4 inet manual
mtu 9000
auto bond0
iface bond0 inet manual
ovs_bonds eno2 eno3 eno4
ovs_type OVSBond
ovs_bridge vmbr0
ovs_mtu 9000
ovs_options tag=1 bond_mode=active-backup vlan_mode=native-untagged
pre-up ifconfig eno2 mtu 9000
pre-up ifconfig eno3 mtu 9000
pre-up ifconfig eno4 mtu 9000
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0
ovs_mtu 9000
auto vmbr1
iface vmbr1 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vlan2
iface vlan2 inet static
address 192.168.2.4/24
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=2
ovs_mtu 9000
source /etc/network/interfaces.d/*
Anyone smart enough to correct this as apperently I am not...
Br,
NoNetworkWiz
Last edited: