jaygo
January 4th, 2008, 06:03 PM
Hi all,
I've setup Ubuntu server 7.10 as a VM in virtualbox (love it) but can't figure out the networking. I've created and bridged 4 tap interfaces on my host system. My Windows VMs pick up the tap connections and communicate with my router (which serves DHCP), get their IPs, and are completely visible on my local network.
However, I cannot get my ubuntu server VM to connect to my local network using dhcp or static. The virtualbox setup is identical for all my VMs (each VM has its own tap connection though) so it doesn't seem to be the problem. Therefore, I believe there is something unique to an ubuntu LAMP that may require configuration.
On the server, my /etc/network/interfaces file reads:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
Restarting /etc/init.d/networking, I see the following:
...
Listening on LPF/eth0/08:00:27:81:da:7a
Sending on LPF/eth0/08:00:27:81:da:7a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
What am I missing?
I've setup Ubuntu server 7.10 as a VM in virtualbox (love it) but can't figure out the networking. I've created and bridged 4 tap interfaces on my host system. My Windows VMs pick up the tap connections and communicate with my router (which serves DHCP), get their IPs, and are completely visible on my local network.
However, I cannot get my ubuntu server VM to connect to my local network using dhcp or static. The virtualbox setup is identical for all my VMs (each VM has its own tap connection though) so it doesn't seem to be the problem. Therefore, I believe there is something unique to an ubuntu LAMP that may require configuration.
On the server, my /etc/network/interfaces file reads:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
Restarting /etc/init.d/networking, I see the following:
...
Listening on LPF/eth0/08:00:27:81:da:7a
Sending on LPF/eth0/08:00:27:81:da:7a
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
What am I missing?