ProxMoxers,
I am interested to hear how other people might have or would recommend configuring for this scenario.
I have a Cisco 3560G switch configured for several VLANs and a ProxMox server (an Intel NUC) that has two Ethernet ports on it, one built in and one connected via on-board USB3 as part of "an upgrade LID" (both are Gigabit ports).
This is the configuration of the Cisco ports I plan to test with:
interface GigabitEthernet0/21
description NUC Ethernet port for LACP (on-board)
switchport access vlan 2
switchport trunk encapsulation dot1q
switchport trunk native vlan 123
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
end
interface GigabitEthernet0/22
description NUC Ethernet port for LACP (USB)
switchport access vlan 2
switchport trunk encapsulation dot1q
switchport trunk native vlan 123
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
end
Let us say (for example) I have 3 vLANs:
vLAN 1 - consists only of a DSL modem plugged into a port configured as an access port on the 3560G in vLAN 1
vLAN 2 - 192.168.0.0/16 network (main network)
vLAN 3 - 10.0.0.0/8 network (test network)
pfSense is running on a one Ethernet port system with access to a trunk port on the 3560G (so it can reach all vLANs). pfSense routes betwixt vLAN 1 and vLAN 2 (I will add vLAN 3 later once I get my firewall rules ready, for now vLAN 3 is stand alone with no internet access).
I'd like to have both Ethernet ports on the NUC running LACP to the 3560G on the trunked switch ports, so if one port fails it continues to run on a single port. I still want to be able to ssh to ProxMox (presuming it would be on vLAN 2) and for the VMs to be able to be on vLAN 2 or vLAN 3 based on per VM tagging.
I could then configure and test a new VM on vLAN 3, get it right and then move it to vLAN 2 when ready to be deployed or use the VM on vLAN 3 to test other hardware or that (like having a PXE server on vLAN 3 so I could boot up other items to test them or perform data recovery on them).
Any /etc/network/interfaces configuration recommendations would be most greatly appreciated. I plan to try some of my own tests later tonight or tomorrow afternoon after work.
Stuart
I am interested to hear how other people might have or would recommend configuring for this scenario.
I have a Cisco 3560G switch configured for several VLANs and a ProxMox server (an Intel NUC) that has two Ethernet ports on it, one built in and one connected via on-board USB3 as part of "an upgrade LID" (both are Gigabit ports).
This is the configuration of the Cisco ports I plan to test with:
interface GigabitEthernet0/21
description NUC Ethernet port for LACP (on-board)
switchport access vlan 2
switchport trunk encapsulation dot1q
switchport trunk native vlan 123
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
end
interface GigabitEthernet0/22
description NUC Ethernet port for LACP (USB)
switchport access vlan 2
switchport trunk encapsulation dot1q
switchport trunk native vlan 123
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
end
Let us say (for example) I have 3 vLANs:
vLAN 1 - consists only of a DSL modem plugged into a port configured as an access port on the 3560G in vLAN 1
vLAN 2 - 192.168.0.0/16 network (main network)
vLAN 3 - 10.0.0.0/8 network (test network)
pfSense is running on a one Ethernet port system with access to a trunk port on the 3560G (so it can reach all vLANs). pfSense routes betwixt vLAN 1 and vLAN 2 (I will add vLAN 3 later once I get my firewall rules ready, for now vLAN 3 is stand alone with no internet access).
I'd like to have both Ethernet ports on the NUC running LACP to the 3560G on the trunked switch ports, so if one port fails it continues to run on a single port. I still want to be able to ssh to ProxMox (presuming it would be on vLAN 2) and for the VMs to be able to be on vLAN 2 or vLAN 3 based on per VM tagging.
I could then configure and test a new VM on vLAN 3, get it right and then move it to vLAN 2 when ready to be deployed or use the VM on vLAN 3 to test other hardware or that (like having a PXE server on vLAN 3 so I could boot up other items to test them or perform data recovery on them).
Any /etc/network/interfaces configuration recommendations would be most greatly appreciated. I plan to try some of my own tests later tonight or tomorrow afternoon after work.
Stuart
Last edited: