Page 1 of 1

Linux host networking problem.

Posted: 12. Jan 2009, 13:53
by blo
Hi,
I'm using virtualbox and very satisfied with the product. As you know the 2.1 version does not need any tap devices for host based networking and here is my problem.

I'm running Ubuntu Intrepid ibex (8.10) with dnsmasq dhcp and dns server. This is a small network so it is fine here. This machine sharing the internet in the local netwrok on eth0 interface. In local we have 3 machines including two vbox vms. The psichycal client run just fine and using the ip what is given to it from dnsmasq. The virtual machines (1)xp 2)hardy jeos) are fine with the built in NAT but when I change to host based netwroking they stuck. Sometimes it works sometimes it isn't. The tricky part is that the psihycal client is working fine and get the desired ip from the DHCP server. The MAC adresses are ok in the wms so I don't know what fails.

Some info:
The localnet setup on host:
======================
## Localnet
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0

If I boot up the xp the dhcp after the dhcp timeout it gets the desired ip but can't even ping the host after that.
If I boot up the Hardy Jeos the dhcp request simply fail.

I tried with netwroking restart in xp (release and renew) but no joy.
Again the psihycal machine gets the ip and everything is ok there.

Dnsmasq settings:
===============
interface=eth0
dhcp-range=192.168.0.2,192.168.0.4,24h

dhcp-host=00:50:8D:B2:6E:AC,192.168.0.2
dhcp-host=08:00:27:DB:F7:B1,192.168.0.3
dhcp-host=08:00:27:C0:49:EE,192.168.0.4

So everithing seems fine to me but I can't get it to work. Any idea?