NAT Problem on Virtual Box

Discussions related to using VirtualBox on Windows hosts.
Post Reply
sheperson
Posts: 21
Joined: 20. Aug 2009, 18:28
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: CentOS 6

NAT Problem on Virtual Box

Post by sheperson »

Hi,
I have a problem with Virtual Box.
I have installed Linux Fedora Core 11 on Virtual Box. My host OS is Windows 7 RTM. I use dial-up connection t o reach the net. :cry:
I have set up a Network Adapter in the Virtual Box Settings (NAT).
If I connect to internet and the start Virtual Box, then I am able to surf the net on my guest OS, but if I start Virtual Box first and the connect to internet, the guest OS is not able to reach the net.

Does anyone have any idea what's wrong?
Thanks in advance.
==================================================
Host OS: Windows 7 RTM
Guest OS: Fedora Core 11
Virtual Box Version: 3.0.4
NAT Network adapter configured.
Genius is one percent inspiration and ninety nine percent perspiration.
Thomas Edison.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: NAT Problem on Virtual Box

Post by vbox4me2 »

This is (currently) normal behaviour.
sheperson
Posts: 21
Joined: 20. Aug 2009, 18:28
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: CentOS 6

Re: NAT Problem on Virtual Box

Post by sheperson »

vbox4me2 wrote:This is (currently) normal behaviour.
You mean there is no way to fix it?
Genius is one percent inspiration and ninety nine percent perspiration.
Thomas Edison.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: NAT Problem on Virtual Box

Post by vbox4me2 »

By using a hardware router yes, by means of software, you'd need to build a router VM or use extensive 'route add' commands with Host only networking and sort of ICS on the Host. default vbox NAT has its limits.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: NAT Problem on Virtual Box

Post by Sasquatch »

When using NAT, VB will set some parameters for it at VM start. When no internet connection is available, those parameters will be empty or wrong and are not updated when you change them by starting your dial-up connection. Only a full VM power cycle will let it look at those parameters again and will work.
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