Solved

Cannot access internet from VMWARE ESXI host connected to an Internet Router

Posted on 2014-04-01
12
5,274 Views
Last Modified: 2014-05-07
I have an ESXI host with 3 virtual machines on there. I have the ESXI connected directly to the internet router which in turn provides the host with an IP address.

How do I get the VMware Virtual machines that sit on the host to access the internet?

All I get at the moment is No Internet Access under the network settings.

Also, one of the servers is the Domain Controller, DNS, DHCP server for the other VMs.

Thank you.
0
Comment
Question by:MSSC_support
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
12 Comments
 
LVL 17

Expert Comment

by:Brad Bouchard
ID: 39969687
You need to set static IPs for these VMs in their network settings unless you want them to pick up an address from the router, in which case you just need to make sure that you have these VMs on the same network (vSwitch) as the host.
0
 
LVL 17

Expert Comment

by:Brad Bouchard
ID: 39969692
And by static I mean you need to set the DNS & DHCP server address as the VM that is hosting those roles.  So just make sure that their IPs are on the same subnet as the router, with it as the gateway and then DNS.  

If you want to pick up a DHCP address just leave the adapter as it is and it will pick up a DHCP address from the server hosting that role.

Lastly, make sure in DHCP options that you've set the default gateway so that the computers that pick up a lease from DHCP will get that set for them.
0
 
LVL 17

Expert Comment

by:Brad Bouchard
ID: 39969696
If that doesn't make sense, please reply and I'll help you.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 121
ID: 39969745
You may want to think hard, about adding Virtual Machines, with Windows OS directly on the internet with Public facing IP Addresses, and use firewalls or a traditional NAT network to protect your internal virtual machines and their network, using a virtual router.
0
 

Author Comment

by:MSSC_support
ID: 39971608
@Andrew Hancock This is just a test environment. I understand that I need to have these closed off via a firewall but I am trying to download critical files from the internet to set up a test build. I am happy if it is just one PC that has access.

@Brad, all my internal VMs have a static address and IP ranges + Subnet masks in the same range as the router. I have even set the router's IP as the gateway for these. Am I missing something?
0
 
LVL 121
ID: 39971653
in that case, you will need to connect a virtual machine network interface, to a virtual machine VM Portgroup, on the same virtual switch as the Management Interface of the ESXi server, and allocate a static IP Address, or DHCP.

Do you have more than one public facing IP Address?
0
 
LVL 17

Expert Comment

by:Brad Bouchard
ID: 39972236
@Brad, all my internal VMs have a static address and IP ranges + Subnet masks in the same range as the router. I have even set the router's IP as the gateway for these. Am I missing something?
The real question is this:  Can you get to a website by IP from these VMs?  Try going to 74.125.228.35 in your web browser from one of the VMs.  If it takes you to Google.com then it's definitely a DNS issue and we can go down that road.  If that doesn't work, try opening a command prompt and pinging 74.125.228.35.  Let me know if you get replies.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39972266
You need to set the Default Gateway to beyond your router, not to your routers IP Address.

if all your IP Addresses are on the same network, what is the gateway address, your router has been given?

this is the gateway you need to use.
0
 

Author Comment

by:MSSC_support
ID: 39977799
Can this be done even though it is sitting on a dynamic IP address?
0
 
LVL 121
ID: 39978122
DHCP may or may not issue a Default Gateway.

If no Default Gateway is provided, you will need to issue static IP Address with Default Gateway.
0
 

Author Closing Comment

by:MSSC_support
ID: 40017201
Got my answer based on that response.
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question