Dear networking experts.
Here at askubuntu and on the whole www are so many threads about network interface configuration that some one like me who get in touch with this must get confused.
I'd like to open a new round for this question
How in general and in one particular example has ubuntu to be configured so that you don't got the damn "waiting for network configuration..." message at boot if you got more than one adapter?
I've got an untouched Ubuntu here in Virtual Box and In VM-Ware Workstation.
/etc/network/interfaces file is untouched and I've activated a Nat adapter to use the host systems real network card. Additionally I've activated a host only adapter to be able to use a separate IP for connections between the VM and the host system.
I figured out that the interfaces file needs only one gateway entry and this is given trough
iface eth0 inet dhcp.
So this is the entry for the first network adapter that provides gateway information and so the second configuration has no need for a line called
For me that means the second entry has to look like this:
depending on what the router tells you as network address for the interface configured trough dcp and the second line here is the netmask. In common cases this is
So the entire `/etc/network/interfaces'-file looks like this:
#This file describe the network interfaces available on your system #and how to activate them. For more information see interfaces(5). #The loopack network interface auto lo iface lo inet loopback #The primary network interface auto eth0 iface inet dhcp auto eth1 iface eth1 inet static address 192.168.217.131 netmask 255.255.255 #No need for gateway here because this is already provided by the dhcp entry.
In this example I've taken the IP address provided by Ubuntu's ^server (Basic Ubuntu Server) package what was 192.168.217.130 and increased it by one.
Now I restart Ubuntu and got the message
Waiting for network Configuration... where Ubuntu try to wait for network connection about 2 minutes.
I've had the same on Virtual Box.
So If there is anyone out there who's willing to explain what's happened here and how to fix this in a common way that works for virtual box and VM-Ware it will be great. Also this Threat should be a good place to tell a bit more about advanced network configuration in general so that others can find it easily and profit from it.
Im looking forward for your replies and promise I'll give something back to askubuntu when there re others with questions in topics I am more familiar with.