Hello,
I'm experiencing an issue with multiple LXC containers on Proxmox where only one of two configured network interfaces can access the internet at a time.
Here are the details:
Current Behavior in LXC
eth0 can ping 1.1.1.1 successfully
pir8 cannot ping 1.1.1.1 (100% packet loss)
Both interfaces can ping their respective gateways
Routing Table in LXC:
Additional Information
When I rename one of the interfaces on the LXC, the renamed interface gains internet connectivity, but the other loses it. The issue is replicable.
Not DNS related; the problem persists even when just pinging 1.1.1.1.
I've tried various configurations and routing table adjustments, but I can't get both interfaces to have internet access simultaneously.
I face the same issue using classic Linux bridges and OVS bridges. Sometimes, I face connectivity local issues, with LXCs with 2 vmbr (.1.X and .201.X), unable to communicate with each other within the same subnet.
Any assistance or guidance would be greatly appreciated.
I'm experiencing an issue with multiple LXC containers on Proxmox where only one of two configured network interfaces can access the internet at a time.
Here are the details:
Code:
Proxmox Host Configuration
File: /etc/network/interfaces
auto vmbr0
iface vmbr0 inet static
address 192.168.1.11/24
gateway 192.168.1.1
bridge-ports enp3s0f1np1
bridge-stp off
bridge-fd 0
#LAN-BR
auto vmbr1
iface vmbr1 inet static
address 192.168.8.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
#MGMT
auto pir8
iface pir8 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
auto vmbr3
iface vmbr3 inet static
address 192.168.201.253/24
ovs_type OVSBridge
---
LXC Container Configuration
File: /etc/pve/lxc/302.conf
Network interfaces:
net0: name=pir8, bridge=vmbr3, IP=192.168.201.199/24, gateway=192.168.201.1
net1: name=eth0, bridge=vmbr0, IP=192.168.1.33/24, gateway=192.168.1.1
Container Network Configuration
File: /etc/network/interfaces
text
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.33/24
gateway 192.168.1.1
auto pir8
iface pir8 inet static
address 192.168.201.199/24
gateway 192.168.201.1
eth0 can ping 1.1.1.1 successfully
pir8 cannot ping 1.1.1.1 (100% packet loss)
Both interfaces can ping their respective gateways
Routing Table in LXC:
Code:
default via 192.168.1.1 dev eth0 onlink
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.33
192.168.201.0/24 dev pir8 proto kernel scope link src 192.168.201.199
Additional Information
When I rename one of the interfaces on the LXC, the renamed interface gains internet connectivity, but the other loses it. The issue is replicable.
Not DNS related; the problem persists even when just pinging 1.1.1.1.
I've tried various configurations and routing table adjustments, but I can't get both interfaces to have internet access simultaneously.
I face the same issue using classic Linux bridges and OVS bridges. Sometimes, I face connectivity local issues, with LXCs with 2 vmbr (.1.X and .201.X), unable to communicate with each other within the same subnet.
Any assistance or guidance would be greatly appreciated.