You are not logged in.

#1 2008-06-26 12:35:31

fnbisson
Member
Registered: 2008-01-16
Posts: 9

VirtualBox bridge trouble with windows xp only

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

Offline

#2 2008-06-27 02:09:51

kett
Member
Registered: 2008-04-21
Posts: 104

Re: VirtualBox bridge trouble with windows xp only

If its working for your arch guest machine, it shouldn't be an issue with your host machine, but I guess I've seen stranger things.

Here are a few ideas that come to mind

Have you tried setting the ip address on the xp guest machine to a static address on the network?  I would do that and then try pinging the network. 

Also when running the xp machine are you sure vbox0 is up if you run ifconfig on the host machine.

Lastly, did you install xp into the virtual machine, or did you copy over an already existing installation from another computer. 

One other thing to see is if the xp machine works if you set the virtual machine to use nat for networking. 

Those are the first things that come to mind.

Offline

#3 2008-06-27 12:53:21

fnbisson
Member
Registered: 2008-01-16
Posts: 9

Re: VirtualBox bridge trouble with windows xp only

Hi Kett there's what I tired...

Have you tried setting the ip address on the xp guest machine to a static address on the network?  I would do that and then try pinging the network.

Yes and unfortunately I can't ping my router or neither any workstation off the network.


Also when running the xp machine are you sure vbox0 is up if you run ifconfig on the host machine.

There is my ifconfig in my host system and I'm currently running a WinXP VM (assigned interface = vbox0).

br0       Link encap:Ethernet  HWaddr 00:1C:C0:1A:D3:85 
          inet addr:10.0.0.250  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c0ff:fe1a:d385/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:352031 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24620 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:57558952 (54.8 Mb)  TX bytes:18689681 (17.8 Mb)

eth0      Link encap:Ethernet  HWaddr 00:1C:C0:1A:D3:85 
          inet6 addr: fe80::21c:c0ff:fe1a:d385/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:389766 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25011 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:65441009 (62.4 Mb)  TX bytes:18759344 (17.8 Mb)
          Memory:e0380000-e03a0000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2261 (2.2 Kb)  TX bytes:2261 (2.2 Kb)

vbox0     Link encap:Ethernet  HWaddr 00:FF:46:3F:35:76 
          inet6 addr: fe80::2ff:46ff:fe3f:3576/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:218 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366400 errors:0 dropped:2387 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:29925 (29.2 Kb)  TX bytes:63039225 (60.1 Mb)

vbox1     Link encap:Ethernet  HWaddr 00:FF:6A:40:E6:41 
          inet6 addr: fe80::2ff:6aff:fe40:e641/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:288 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:1080 overruns:1 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:53444 (52.1 Kb)  TX bytes:342 (342.0 b)


And this is my VM info

Name:            Win XP Nortel
Guest OS:        Other/Unknown
UUID:            bbd63c39-49ee-4fe9-ac8e-c85227dec720
Config file:     /home/.VirtualBox/Machines/Win XP Nortel/Win XP Nortel.xml
Memory size:     512MB
VRAM size:       8MB
Boot menu mode:  message and menu
ACPI:            on
IOAPIC:          off
PAE:             off
Time offset:     0 ms
Hardw. virt.ext: off
State:           running (since 2008-06-27T14:32:45.054000000)
Monitor count:   1
Floppy:          empty
SATA:            disabled
Primary master:  /home/.VirtualBox/VDI/WinXPNortel.vdi (UUID: 017716ee-72ca-48bd-c1b4-4101dd59adf8)
DVD:             empty
NIC 1:           MAC: 08002740054C, Attachment: Host Interface 'vbox0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           disabled (Driver: Unknown, Controller: Unknown)
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled

USB Device Filters:

<none>

Shared folders:  <none>

Guest:

Statistics update:                   disable

Lastly, did you install xp into the virtual machine, or did you copy over an already existing installation from another computer.

It was a fresh install.

One other thing to see is if the xp machine works if you set the virtual machine to use nat for networking.

My VM works if I set virtual network interface to NAT... but I absolutely need bridged connection.


Your help is welcome !

Last edited by fnbisson (2008-06-27 12:55:13)

Offline

#4 2008-06-27 16:58:44

kett
Member
Registered: 2008-04-21
Posts: 104

Re: VirtualBox bridge trouble with windows xp only

Well, I can't say I'm really sure what the problem is.  If possible, you could try upgrading to VirtualBox 1.6.2, which mentions in the changelog something about adding a new emulated network card.

From the changelog:
# Networking: provide an Intel PRO/1000 T Server (82543GC) network device emulation which is recognized by Windows XP guests

That would be my next try if that's a possibility.

Offline

#5 2008-06-27 18:49:23

fnbisson
Member
Registered: 2008-01-16
Posts: 9

Re: VirtualBox bridge trouble with windows xp only

Thanks Kett ! it's working perfectly !

I didn't even have to change my hostif driver...


thank you

Offline

Board footer

Powered by FluxBB