I'm trying to setup a virtualized server up with KVM on my OVH server. However, when configuring the network, I'm encountering some issues. Any help in any form is greatly appreciated!
This is my current, working setup
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address (public ip)
netmask 255.255.255.0
network (public ip).0
broadcast (public ip).255
gateway (public ip).254
In order to set up my virtualized server, I need to set up another network for the virtualized instance to go through. So, I tried adding this to my interfaces file:
auto br0
iface br0 inet static
address 192.168.40.134
network 192.168.40.0
netmask 255.255.255.0
broadcast 192.168.40.255
gateway (public ip).254
dns-nameservers 8.8.8.8 8.8.4.4
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
However, restarting the network setup causes the server to become inaccessible over the internet. I've tried multiple times different variations to get this to work, however, it's becoming tedious to boot the server into rescue mode, fix it, and get out.
Once again, thanks in advance!