Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Issues related to configuring your network
Post Reply
xrep
Posts: 3
Joined: 2011/08/03 21:37:53
Contact:

Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by xrep » 2011/08/03 22:05:16

Hi,

I have little issue here, I've just installed Cent Os 6 in my Virtualbox 4.0.12 and my networking doest work if I have NAT mode in VirtualBox enabled. This quite interesting problem is in DNS. The IP adressess are configured by DHCP and as I see, they are configured properly on the first sight.

I can ping my DNS servers, I can paradoxly ping "www.google.com", but if I type "wget www.google.com" there is an error "unable to resolve host adress ......"

This is no specific Cent OS 6 problem, same situation is in Fedora 15, but f.e. in Ubuntu it works without problem.

If I change Brigded mode in Virtualbox, everything is fine.

So, have somebody similar problem? And how to solve this?

Thanks ...

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by pschaff » 2011/08/04 15:40:23

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

What is the host OS? I am replying from a VirtualBox 4.0.12 SL6 instance using NAT on a Mac OS-X Snow Leopard host, and also use VB on a CentOS-5.6 host NATted with no problems. It does require a bit of special attention via nm-applet to get the DNS working properly due to the DHCP service here not passing everything correctly, but I believe this is an artifact of my higher-level network environment over which I do not have control. No such issues at home on a SL6 host. Please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh network" in the NAT configuration and showing us the output file.

xrep
Posts: 3
Joined: 2011/08/03 21:37:53
Contact:

Re: Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by xrep » 2011/08/22 15:46:09

Hi, thanks for your reply ...

Host system is Windows 7 64bit

and information from getinfo.sh -> http://pastebin.centos.org/37778

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by pschaff » 2011/08/24 15:31:16

Nothing immediately obvious to me from the script output. I neglected to ask - is the host on a NAT network? If so, you may need to use Bridged networking to avoid [url=http://www.google.com/search?q=dual+NAT&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]dual NAT[/url] issues.

xrep
Posts: 3
Joined: 2011/08/03 21:37:53
Contact:

Re: Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by xrep » 2011/08/25 10:13:08

Hello,

yes, host is on NAT network, thanks for clarification of the problem, now I can try solve problem by yourself.

Thanks again.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Networking doesnt work Cent Os 6 - VirtualBox Host - NAT

Post by pschaff » 2011/08/25 15:18:58

You are welcome. Please report back for the sake of posterity if you resolve the issue, or ask any additional questions if you are still having difficulties.

Post Reply