Networking Windows guest via Linux host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
TStevens
Posts: 1
Joined: 3. Feb 2009, 12:25

Networking Windows guest via Linux host

Post by TStevens »

I'd like to configure networking for a Windows XP guest running in an Ubuntu host on VBox 2.1.2.

I need more than NAT or Internal Network as I'd like to have full access from my Linux machine, however I have no requirement for the guest to be accessible from beyond the host machine (in fact because the network is MAC locked I can't even DHCP via the local LAN).

Ideal scenario would be that the guest would have its own IP address (and entry in /etc/hosts) so that within the host I can telnet, ftp etc.

I have tried using port forwarding using VBoxManage setextradata, however due to the number and range of ports required this was too burdensome.

Any ideas?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

See the VirtualBox FAQ. It has a note how to use the Host Interface system of previous versions. All you need is a TAP interface, an IP on that, set the VM to use that TAP and set the same IP range on the HIF in the VM.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply