I wanted to set up a bridge connection for my VMs (I am using KVM).
I modified my
etc/network/interfaces file and its contents are:
auto lo iface lo inet loopback auto br0 iface br0 inet dhcp bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
After modifying the
etc/network/interfaces file I wanted to make them active so I run the following command:
sudo /etc/init.d/networking restart
but I got the following output:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
so I tried restarting network by the following command:
sudo service networking stop && sudo service networking start
I get the following output:
stop: unknown instance:
If I do :
sudo service networking start
I get :
and my net has stopped working after that. I am using
Ubuntu 12.04 and have a wired DHCP connection.
Please try to resolve this issue so that I can successfully configure bridge for my VMs and get back my net connection.