Hey folks,
I've been building up a small five node cluster. VLAN 192 (192.168.0.0/23) is my main, management VLAN and the nodes all have their management IPs on this VLAN (untagged). I've got VMs on a VLAN-aware bridge and a small network on VLAN 30 (10.30.0.0/24). There's an internet-connected gateway at 10.30.0.1 and a VPN gateway on 10.30.0.254. The VPN gateway is a VM in the cluster, but the internet gateway is a physical device. If a production VM in 10.30.0.0/24 in VLAN 30 is on the same node as the VPN gateway and uses it as its default gateway, it cannot get packets back through to 10.30.0.1.
Works when the VPN Gateway VM and the Prod VM are not on the same node:
For the life of me, I cannot figure out why this doesn't work when the VMs are on the same node but works when they're on separate nodes. If I tcpdump the Prod VM, I see the replies, but they never appear on the VPN gateway's tap interface on the node.
Any insights would greatly be appreciated! Thanks!
I've been building up a small five node cluster. VLAN 192 (192.168.0.0/23) is my main, management VLAN and the nodes all have their management IPs on this VLAN (untagged). I've got VMs on a VLAN-aware bridge and a small network on VLAN 30 (10.30.0.0/24). There's an internet-connected gateway at 10.30.0.1 and a VPN gateway on 10.30.0.254. The VPN gateway is a VM in the cluster, but the internet gateway is a physical device. If a production VM in 10.30.0.0/24 in VLAN 30 is on the same node as the VPN gateway and uses it as its default gateway, it cannot get packets back through to 10.30.0.1.
Works when the VPN Gateway VM and the Prod VM are not on the same node:
Code:
ICMP Echo Request from 192.168.0.0/23 -> Gateway (192.168.1.1/10.30.0.1) -> Prod VM on Node "A" (10.30.0.x) -> ICMP Echo Reply -> VPN Gateway (10.30.0.254) -> Gateway (192.168.1.1/10.30.0.1) -> 192.168.0.0/23
For the life of me, I cannot figure out why this doesn't work when the VMs are on the same node but works when they're on separate nodes. If I tcpdump the Prod VM, I see the replies, but they never appear on the VPN gateway's tap interface on the node.
Any insights would greatly be appreciated! Thanks!