My configuration:
Proxmox machine has 7 ethernet ports, used as:
1x - Management port
1x - WAN port
x4 - LACP bond to Tp-Link managed switch
x1 - Used as physical Linux bridge port
I have created 2 VMs:
1) OpnSense, uses
2) Ubuntu 20.04, uses
Both VMs has proxmox firewall disabled on ethernet devices
What works:
1) From laptop, connected to external Tp-Link switch:
a) I can access Proxmox on management port
b) I can access Proxmox on vmbr0 (bonded) if IP is configured
2) From Ubuntu VM:
a) I am receiving IP from OpnSense DHCP, and have access to internet
b) I can ping management port (works only with linux bridge, and not with OVS bridge)
What doesn't work:
1) OpnSense and ubuntu machines, are not visible from machine connected to external switch (to bonded interface)
2) External devices (connected to external switch) are not visible from VM machines
Please advice.
Proxmox machine has 7 ethernet ports, used as:
1x - Management port
1x - WAN port
x4 - LACP bond to Tp-Link managed switch
x1 - Used as physical Linux bridge port
Bash:
auto eno1
iface eno1 inet static
address 10.0.0.7/24
#management port
auto enp4s0f0
iface enp4s0f0 inet manual
#LAN bond port
auto enp4s0f1
iface enp4s0f1 inet manual
#LAN bond port
auto enp4s0f2
iface enp4s0f2 inet manual
#LAN bond port
auto enp4s0f3
iface enp4s0f3 inet manual
#LAN bond port
auto enp3s0f0
iface enp3s0f0 inet manual
#WAN
auto enp3s0f1
iface enp3s0f1 inet manual
#LAN
auto bond0
iface bond0 inet manual
bond-slaves enp4s0f0 enp4s0f1 enp4s0f2 enp4s0f3
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer3+4
#Bond to Switch
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0 enp3s0f1
bridge-stp off
bridge-fd 0
#LAN
auto vmbr1
iface vmbr1 inet manual
bridge-ports enp3s0f0
bridge-stp off
bridge-fd 0
#WAN
I have created 2 VMs:
1) OpnSense, uses
vmbr1
as WAN, vmbr0
as LAN2) Ubuntu 20.04, uses
vmbr0
as LANBoth VMs has proxmox firewall disabled on ethernet devices
What works:
1) From laptop, connected to external Tp-Link switch:
a) I can access Proxmox on management port
b) I can access Proxmox on vmbr0 (bonded) if IP is configured
2) From Ubuntu VM:
a) I am receiving IP from OpnSense DHCP, and have access to internet
b) I can ping management port (works only with linux bridge, and not with OVS bridge)
What doesn't work:
1) OpnSense and ubuntu machines, are not visible from machine connected to external switch (to bonded interface)
2) External devices (connected to external switch) are not visible from VM machines
Please advice.
Last edited: