[Solved] Using 2nd NIC for Guest OS?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
henry95
Posts: 2
Joined: 4. Oct 2009, 07:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

[Solved] Using 2nd NIC for Guest OS?

Post by henry95 »

Hi all,

Host: Win 7
Guest: Ubuntu 9.04


My desktop has 2 NICs. I'm trying to use the 2nd NIC for the guest OS to be able to reach the internet, but not having much luck. Is this even possible?

I'm using Bridged Networking, selecting my 2nd NIC. VB Network adapter: PCnet II (Am 79C970A)

TIA
Last edited by henry95 on 4. Oct 2009, 19:37, edited 2 times in total.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Using 2nd NIC for Guest OS?

Post by vbox4me2 »

Is the second NIC connected to by the Guest? is the second NIC on the Host connected to a router for internet access?
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

Re: Using 2nd NIC for Guest OS?

Post by Sasquatch »

Please search too, this question has been asked before. Use Google with a site filter (suggested in the Forum Posting Guide) for better results.
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.
henry95
Posts: 2
Joined: 4. Oct 2009, 07:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Using 2nd NIC for Guest OS?

Post by henry95 »

vbox4me2 wrote:Is the second NIC connected to by the Guest? is the second NIC on the Host connected to a router for internet access?
The 2nd NIC is connected to the same router as NIC 1. It is connected on the guest, and gets a correct IP address, but still can't reach the internet.

I figured out what was wrong. The guest OS was picking up the wrong DNS servers for some reason :oops:

If I enter the IP addresses manually into the browser it works fine.
Post Reply