|OS type and version||Debian 11|
|Webmin version||Latest Release|
|Cloudmin version||Latest Release|
I have my setup with 1 Main IP on the Host Machine and then 2 VM on it with both an additional ip each.
This is my config for my main host
Main Host Config
auto lo br0 eth0 iface lo inet loopback iface eth0 inet manual iface br0 inet static address 184.108.40.206 netmask 255.255.254.0 network 192.168.1.0 bridge_ports eth0 up ip addr add 192.168.1.1/24 dev br0 gateway 220.127.116.11 up ip route add 18.104.22.168/32 dev br0 up ip route add 22.214.171.124/32 dev br0 up ip route add 192.168.1.3/24 dev br0 up ip route add 192.168.1.4/24 dev br0
VM 1 Config
auto eth0 lo iface lo inet loopback iface eth0 inet static address 126.96.36.199 netmask 255.255.255.255 gateway 188.8.131.52 up ip addr add 192.168.1.3/24 dev eth0
VM 2 Config
auto eth0 lo iface lo inet loopback iface eth0 inet static address 184.108.40.206 netmask 255.255.255.255 gateway 220.127.116.11 up ip addr add 192.168.1.4/24 dev eth0
Now what is happening is when 1 VM is turned on the other network goes down and vice versa.
I tried to use the host ip gateway but it doesnt work, any idea on how to setup. If I change the gateway to anything else other than the main host ip, the network only accepts incoming connections and not outgoing connections.
Please help me with this.