In the server I have 2 NIC's configured to connect to 2 different VLAN's. I have set up several VM's connecting to either of the interfaces. This is all working correctly.
The issue I am having is trying to set a default gateway to each physical interface.
Eth0 10.1.1.10 VLAN1 Br0 and the gateway should be 10.1.1.1
Eth1 10.2.2.10 VLAN2 Br1 and the gateway should be 10.2.2.1
From the server I can ping each interface, and any device on both subnets, but nothing on any other remote subnet.
If I am on the 10.1.1.0 network I can ping all the VMs and the 10.1.1.10, but not the 10.2.2.10
If I am on the 10.2.2.0 network I can ping all the VMs and the 10.2.2.10, but not the 10.1.1.10
The "route" command returns the following:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 * 255.255.255.0 U 0 0 0 br0
10.2.2.0 * 255.255.255.0 U 0 0 0 br1
loopback * 255.0.0.0 U 0 0 0 lo
I need to configure a default gateway for each interface, without bridging the network.
Any ideas or help would be great.