In your /etc ditectory is the network folder. In the network folder is the interfaces file that contains all the data used to configure your network. The default configuration is dhcp. You can configure this file manually, to a limited degree, via the administration>>network panel. For most applications dhcp will be fine, and therefore you can leave your default configuration.
If you want to setup a static ip, for your primary ethernet card, use the administration>>network configuration menu. You can set any static local ip outside the range of the dhcp configuration on your router. You can disable the dhcp of your router to set static addresses for the lower safe range. The default dhcp range is typically 192.168.0.2 to 1982.168.0.50.
After disabling dhcp you can disable network manager in the preferences>>sessions configuration menu.
If you are using a bridge and tap I highly recommend direct configuration of your interfaces via the /etc/network/interfaces file. Please refer to my previous post for more information about bridge and tap configuration.
Share, Enjoy, and Support:
There are two methods of creating a bridge and tap on Linux. The easy method is via a script that is set to automatically run at login. The following is the script that I used for a long time to setup two taps. It will create a bridge and assign an ip address to it via dhcp. It will create a tap with ip 192.168.0.102, and a second tap with ip 192.168.0.105.
host.sh Bridge and Tap Configuration Script
I have completely abandoned the startup script method in favor of directly configuring the network interfaces on the host and the guests. To configure the host networking bridge and tap open the interfaces file located in /etc/networking.
sudo nano /etc/networking/interfaces
Now add a tap:
auto tap0
allow-hotplug tap0
address 192.168.0.101
iface tap0 inet manual
tunctl_user nseidm1
Then add the bridge:
auto br0
iface br0 inet static
address 192.168.0.100
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
bridge-ports eth1 tap0
bridge-ageing 7200
bridge-fd 0
The tap will be created with an ip address of 192.168.0.101 and the bridge with and ip of 192.168.0.100. Then inside your guest os configure the interface; set the eth0 ip address to the same ip as the tap. This works fine based on my experience up to this point. This also help consolidate ip addresses; note that only two have been used in total. One for the host system configured through the bridge br0, and the other for the tap that is configured in conjunction with the guest os interface.
Share, Enjoy, and Support: