Results 1 to 2 of 2
Hello all, I am sort of a linux noob so forgive me if I dont ask this right. I have an Ubuntu server (12.10) on one of my boxes. It ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-01-2012 #1
- Join Date
- Nov 2012
Help with virtual server
It was going fine until I got to the part about configuring my /etc/network/interfaces file. I have a static ip setup on my physical ethernet (p10p1) and this guide told me to do that. Now at this point his physical nic (eth0) is now set to "manual" and the new br0 adapter is set to static with all the address info. My question is should I just add the br0 part below my static p10p1? or should I delete the lines for it and create the br0 like he has?
Again Im sorry if I am not making sense.
here is my file...
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface p10p1 inet static
- 11-02-2012 #2
- Join Date
- Sep 2007
- Silver Spring, MD
I read the article - havetheknowhow.com/Configure-the-server/Network-Bridge.html How to configure a network bridge when using KVM (Kernel-based Virtual Machine) on Ubuntu Server[/url]
One thing he left out was you need to download the software to make the bridge connection work.
I would recommend configuring the bridge using br0 because you can troubleshoot it better if you are new to the configuration process.
But one thing I have to ask, did you run the following command to download the bridge software:
This code validates if you have bridge-utils software installed
sudo dpkg -l bridge-utils
sudo apt-get install bridge-utils
Configuring the network, run the following command to configure your network:
Check to see if installed, if not installed, then install it
dpkg -l nano sudo apt-get install nano # This will install it
sudo nano /etc/network/interfaces
This is what it should look like, if it does not, then make the changes and restart your network interfaces: /etc/network/interfaces file contents # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address 10.0.0.5 broadcast 10.0.0.255 netmask 255.255.255.0 gateway 10.0.0.1 dns-nameservers 10.0.0.1 dns-domain bradtraversy.me bridge_ports eth0 bridge_fd 0 bridge_hello 2 bridge_maxage 12 bridge_stp off bridge_maxwait 0
Then run the following to restart the network interfaces:
sudo /etc/init.d/networking restart
ifconfig -a ping google.com