Seperate IP addresses

Discussions related to using VirtualBox on Windows hosts.
Post Reply
wick3dways
Posts: 4
Joined: 14. Nov 2009, 09:31
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Seperate IP addresses

Post by wick3dways »

How is it possible to have a seperate IP address for each virtual computer running simultaneously? I want this not just for web browsing and such so a HTTP proxy is of no use. I have heard people say multiple static IP addresses are a solution or a VPN. Could anyone explain to me how these work, the cost involved, or how this is possible. Any help would be greatly appreciated.
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Seperate IP addresses

Post by MarkCranness »

Yes, read section 6 of the user manual. Likely you need to select 'Bridged networking' (section 6.5). Each VM will then get its own IP the same way as any real live PC would on your LAN: DHCP or static addresses.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Seperate IP addresses

Post by BillG »

It is not only possible, it is essential. As far as the networking software is concerned, every NIC in a machine, physical or virtual, is unique. It has its own MAC address and therefore needs it own IP address.

The traffic addressed to a virtual machine is not seen by the IP stack of the host machine. With bridged networking, traffic is split off at a low level by the VirtualBox Bridged Network Driver working with the NIC driver.
Bill
Post Reply