LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2014, 01:28 PM   #1
sndlt
Member
 
Registered: Jun 2014
Posts: 55

Rep: Reputation: Disabled
Can't resolve my name when under VMware workstation


I have a VMware workstation on main host running 'CentOS' and 'Windows Server 2008.'
The Main host is behind enterprise network environment with Cisco/Juniper routers and switches. I have an AT&T router/modem that acts my home's gateway that provides internet access to all the devices. (I sometimes connect directly to my AT&T router/modem when my Cisco/Juniper collections are off, but during other times, connect off of Cisco/Juniper).

When connected directly to AT&T router/modem, the main Host computer can resolve by name and its DNS server is the AT&T router/modem's interface. (AT&T router resolves by name and returns it to the host).

The Cisco router's WAN interface gets DHCP from the AT&T router and probably gets the DNS server of the AT&T router/modem as well. AT&T router/modem itself uses AT&T dns.

But the DHCP scopes of the Cisco router define dns-servers as 8.8.8.8 and 8.8.8.4. (To bypass AT&T router/modem and handle dns requests directly from the servers). So all the hosts and guests OS get those addresses. Main host connected off Cisco router can resolve by name with 8.8.8.8/8.8.8.4

Now for guests OS. When under "Bridged Networking," CentOS gets DHCP address and DNS from the Cisco router, just like the Main Host is. (Host acting like a switch in this case). But when I do that, main Host can resolve by name (like going to cnn.com) but CentOS can't resolve by name.

When I change the virtual network adapter setting to "NAT Networking with the Host," it can resolve by name and everything works. But I need the guest OS to directly be bridged to the main network.

What am I doing wrong here?

Not sure what to do next. I tried messing around with DNS servers and still no clue.
Any firewall blocking dns-53? Then how is CentOS resolving when connected via NAT with host?
(Win 2008 hosts can resolve by name when under "Bridged")
Thanks.

Last edited by sndlt; 11-28-2014 at 01:29 PM.
 
Old 11-28-2014, 02:10 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,210

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
What's in resolv.conf?
 
Old 11-28-2014, 04:17 PM   #3
sndlt
Member
 
Registered: Jun 2014
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
What's in resolv.conf?
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 10.10.10.11
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.1 on VMware Workstation guest : VMware Tools doesn't work Shkel Slackware 25 05-09-2014 01:13 AM
VMWare workstation 9: SL 6.3 Live DVD in VMWare Workstation:"unable to find the usable disk space" ravik453 Linux - Virtualization and Cloud 3 03-04-2013 02:47 PM
[SOLVED] How to uninstall VMware player so that VMware workstation can be installed javascriptninja Linux - Software 1 02-06-2012 11:24 AM
Do VMware server 2 faster than VMware workstation 6.5? wanas Linux - Software 5 12-17-2008 08:29 AM
How to resolve a Redhat 9 workstation to a Win2000 Server oodnadatta Linux - Networking 1 10-29-2004 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration