Multiple guests on one host but all need network access

Discussions about using Windows guests in VirtualBox.
Post Reply
TheDiddy
Posts: 2
Joined: 29. Sep 2011, 19:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XPe

Multiple guests on one host but all need network access

Post by TheDiddy »

I have multiple guests running at once and only one machine at a time has access to the network. They all have bridged connections however they all share the same IP addy. Is there anyway for them each to be unique and have network connection at the same time? I need to access the enviroments from another machine on the network.

Thanks in advance
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: Multiple guests on one host but all need network access

Post by BillG »

A bit more info required. What are the NICs in the vms bridged to? How do they come to have the same IP address? Are they clones?

Each vm should have its own IP address. The only way I can think of for them to get the same IP is for them to have the same MAC address, which implies that they are clones.
Bill
TheDiddy
Posts: 2
Joined: 29. Sep 2011, 19:57
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XPe

Re: Multiple guests on one host but all need network access

Post by TheDiddy »

The VMs are all running on the same host PC running windows 7. I have no clue how they got the same IP address. Their setting in Virtual Box is that they are all set to bridged adapter. I think that the person that created these VMs used the clone feature of VirtualBox to make copies.

How do i fix the problem
poulbak
Posts: 33
Joined: 9. Feb 2010, 22:52
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly Windows 7

Re: Multiple guests on one host but all need network access

Post by poulbak »

For each guest:
In VirtualBox GUI, go to network settings, click 'advanced', that will show the MAC address used. To the right there's a button to create a new unique MAC address. Click and done.

Also you should probably enable DHCP on the clients (might already have been done) or at least make sure they all use a different IP address.
Poul Bak
------------------------------------------------------
2011: The year of hardware acceleration
Post Reply