Using NAT with a Windows XP Guest

Discussions about using Windows guests in VirtualBox.
Post Reply
nickname
Posts: 7
Joined: 7. Mar 2012, 18:57

Using NAT with a Windows XP Guest

Post by nickname »

Hallo,

ich just installed VBox on another PC and tried to use a vdi created on another system. It works fine, but I cannot get INet-Access working.
I use NAT, which should work "Out of the Box" - but it doesnt. The Windows XP guest is set as DHCP-Client, but does not receive an IP.

The former System was a DHCP-Client of a Router itself. The new Host System has a static IP - maybe this causes the problem? (even if I cant understand why)....
or maybe for some reson the internal DHCP of VBox is broken/disabled?!
I tried reinstalling VBox 4.1.8, but nothing changed. Guest Addiotions installed, including Direct 3D

thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Using NAT with a Windows XP Guest

Post by Perryg »

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.

Also:
Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.
nickname
Posts: 7
Joined: 7. Mar 2012, 18:57

Re: Using NAT with a Windows XP Guest

Post by nickname »

here. Username and VMName have been replaced.
Attachments
VBox.log
(102.84 KiB) Downloaded 30 times
out.txt
(2.76 KiB) Downloaded 21 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Using NAT with a Windows XP Guest

Post by Perryg »

Log shows no entry for NAT and it is correctly set in the Guest settings. Are you sure you installed all the drivers when you installed VirtualBox?

If you are sure you installed all the drivers you can try to fix this by adding a second adapter in the guest settings and disable the first to see if it will pick up the lease.
nickname
Posts: 7
Joined: 7. Mar 2012, 18:57

Re: Using NAT with a Windows XP Guest

Post by nickname »

You mean the drivers on the host system?
I am - and the Host-Only-Networking-Adapter is listed in the Netwrok Connections of the Host.

disabeling the first Adapter and using a second configured as NAT does not change anything. Its called "LAN Connection 2 " in the Guest now, but this is the only difference.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Using NAT with a Windows XP Guest

Post by Perryg »

I am - and the Host-Only-Networking-Adapter is listed in the Netwrok Connections of the Host.
It should have NAT selected not host-only.
NAT.png
NAT.png (15.77 KiB) Viewed 3476 times
nickname
Posts: 7
Joined: 7. Mar 2012, 18:57

Re: Using NAT with a Windows XP Guest

Post by nickname »

Sure. but the Name of the Network Adapter on the Host System is "VirtualBox Host-Only Network" - independent from the settings within the VMs. Thats what I was talking about.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Using NAT with a Windows XP Guest

Post by mpack »

NAT doesn't require a host adapter.

The Host-Only Network Adapter on the host is used for Host-Only networking, not for NAT networking.
nickname
Posts: 7
Joined: 7. Mar 2012, 18:57

Re: Using NAT with a Windows XP Guest

Post by nickname »

Ok. I thought it would be used for any kind of connection between host and VM.

But this should nevertheless prove, taht the network drivers on the host are installed?!
Post Reply