Page 1 of 1

Trouble with HOSTIF (bridge) with Win XP VM.

Posted: 25. Jun 2008, 21:39
by fnbisson
Hi,

There is my systeme / configuration :

Vbox : VirtualBox-1.6.0-Linux_amd64.run.sh
Host OS : Archlinux 2008.03
Host computer : Q6600 on a intel DG33bu with onboard NIC
Running everyhing as a VBoxHeadless server

My trouble now :

**I've installed Vbox and 4 clients (2 windows XP, 1 windows 2003 and archlinux-2008.06.)

**I've setup my archlinux host with bridged network and with two vbox interfaces (VBoxAddIf).

**I have also modified my vm for working with hostif.
VBoxManage modifyvm "VM name" -nic1 hostif
VBoxManage modifyvm "VM name" -hostifdev1 vbox0

**When I start a Windows VM, everything is good exept for the network connection that is configured to get IP address from the DHCP server. I have the IP address 169.254.x.x

**I have tried to change the NIC driver with VBoxManage -nictype Am79C970A|Am79C973|82540EM and it doesn't work.

**The VirtualBox Guest addition is running on all the Windows VM.

BUT, I have done the same interface setup with my archlinux VM .. and everything is working great. The linux box get an IP address from the DHCP server and it act just like another physical computer in my network.


This is my bridge configuration (I did it via rc.conf)
#######
lo="lo 127.0.0.1"
eth0="eth0 up"
br0="br0 10.0.0.250 netmask 255.255.255.0 up"
INTERFACES=(lo eth0 br0)
#######

And this is my /etc/conf.d/bridges config.
######
bridge_br0="eth0"
BRIDGE_INTERFACES=(br0)
######
I Also add this to my modules : tun bridge vboxdrv
And of course set up /dev/net/tun with the right perms.


If you can help me, it would be greatly appreciated.

Thank you