Use 1 network card for 2 VMs?

Discussions related to using VirtualBox on Windows hosts.
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Use 1 network card for 2 VMs?

Post by ridergroov1 »

Hi folks. I'm trying to find out if I need to have 1 physical network card to set to bridge with a virtual interface per virtual machine. When I try to attach 2 VMs to one, I get an error when starting the next VM. Any help appreciated. Thanks!
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

you need to create 1 virtual interface PER running virtual machine.
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 »

You need a separate HIF if you run Guest systems simultaneous. Only if you run one at a time, you can share the interface.
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.
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Post by ridergroov1 »

Well I know that you have to add a seperate host interface for each virtual machine but you can only bridge one real nic with one host interface correct?
dmcgraw
Volunteer
Posts: 808
Joined: 24. Jun 2008, 17:16
Primary OS: Ubuntu 8.10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Ubuntu 9.10
Location: St. Louis, MO, USA

Post by dmcgraw »

It would help if we knew some more details.

VB Version
Host O/S
Guest O/S
NIC
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

No.. you can add as many interfaces to your bridge as you want. I currently have 5 in mine - 1 legit, 4 HIF

After you add more HIF's, just right click on them and select "Add to bridge"
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Post by ridergroov1 »

Is there a reason that bridging would be grayed out? Having that problem now on a different machine. thanks!
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

bridging is gray'd out if you only have 1 network card selected... you have to select 2 or more to create a bridge.

But once you have created the bridge you should be able to right click on a given nic and say "Add to Bridge"
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Post by ridergroov1 »

Right and I do have 2 network cards select but they will not bridge. It's still grayed out.
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 »

ridergroov1 wrote:Right and I do have 2 network cards select but they will not bridge. It's still grayed out.
Vista Host by any chance? If so, run the network center with Administrator privileges, or disable UAC, reboot and bridge them. You can re-enable UAC afterwards.
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.
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Post by ridergroov1 »

Nope. I have Vista working fine as host with bridging. Another XP box I have will not bridge.
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 »

ridergroov1 wrote:Nope. I have Vista working fine as host with bridging. Another XP box I have will not bridge.
Any policies set by chance? You might not know about it, but you can always check in the registry editor to see if there are any policies set (there are 4 locations where they can be, in HKCU/HKLM\Software\policies and \Software\Microsoft\Windows\CurrentVersion\Policies).

Is XP home actually able to create a bridge? I can't find it with a quick google search. I do know that Home has a lot of additional network support stripped/removed/left out compared to XP Pro.
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.
ridergroov1
Posts: 37
Joined: 27. Sep 2008, 21:42

Post by ridergroov1 »

No XP home. XP Pro for both.
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

Post by mpack »

Sasquatch wrote: Is XP home actually able to create a bridge?
Yes, bridging is possible on XP Home - I've done it on my home PC (WinXP Home Edition SP2).
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 »

mpack wrote:
Sasquatch wrote: Is XP home actually able to create a bridge?
Yes, bridging is possible on XP Home - I've done it on my home PC (WinXP Home Edition SP2).
Thanks for the info. As I don't have and use XP Home, I didn't know if they kept that function or not.
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