I've faced some strange behaviour I couldn't resolve yet. Probably I'll figure it out soon, but will post it here in case anyone can answer faster than I handle it myself. I'll simplify things a bit to keep it easier to understand.
I have node with recent Proxmox running, call it pve-node1. eth0 connected to LAN, eth1 connected to WAN (Internet). Both got no IPs attached and bridged to vmbr0 and vmbr1 instead. vmbr0 has IP in LAN 192.168.1.100. vmbr1 has no IPs on WAN.
I've transfered a physical gateway server to a VM container, and attached both vmbr0 and vmbr1 to it. As eth0 and eth1 inside VM they have IPs 192.168.1.1 and X.X.X.X (IP on the Internet).
Same configuration worked perfectly on dedicated physical server and served Internet connections through NAT for whole LAN, including pve-node1. But once it was converted to VM, whole LAN can access Internet without any issues as before, except for the pve-node1. I can ping the Internet from there, even big-sized packets works. But TCP sessions fails to establish. I can see the first incoming SYN,ACK packet and thats all, no further incoming packets, session just hangs until timeout.
I've seen such things when ingress and egress routes are different. But it's not my firewall or routing setup here, because everything works for other hosts. Got to be related with KVM virtio-net / bridges. But I can't figure out how yet, because I don't see why it shouldn't work.
I have node with recent Proxmox running, call it pve-node1. eth0 connected to LAN, eth1 connected to WAN (Internet). Both got no IPs attached and bridged to vmbr0 and vmbr1 instead. vmbr0 has IP in LAN 192.168.1.100. vmbr1 has no IPs on WAN.
I've transfered a physical gateway server to a VM container, and attached both vmbr0 and vmbr1 to it. As eth0 and eth1 inside VM they have IPs 192.168.1.1 and X.X.X.X (IP on the Internet).
Same configuration worked perfectly on dedicated physical server and served Internet connections through NAT for whole LAN, including pve-node1. But once it was converted to VM, whole LAN can access Internet without any issues as before, except for the pve-node1. I can ping the Internet from there, even big-sized packets works. But TCP sessions fails to establish. I can see the first incoming SYN,ACK packet and thats all, no further incoming packets, session just hangs until timeout.
I've seen such things when ingress and egress routes are different. But it's not my firewall or routing setup here, because everything works for other hosts. Got to be related with KVM virtio-net / bridges. But I can't figure out how yet, because I don't see why it shouldn't work.