Solved

what should I set for Default Gateway for VMware NAT ??

Posted on 2015-01-07
26
3,515 Views
1 Endorsement
Last Modified: 2015-01-13
I have a question what should I specify for DG for VMWARE NAT in order to have an internet for my servers?
I setup the lab with DNS and DHCP servers roles installed. DHCP vmware is turned off. I am wondering if I setup the scope in DHCP on the server to be from 192.168.174.5 to 192.168.174.254. What gateway should I distribute so that my servers can access internet?? I tried 192.168.174.2 and they are NOT getting internet.

Thanks!
1
Comment
Question by:creative555
[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
  • 15
  • 11
26 Comments
 
LVL 120
ID: 40536686
The Default Gateway when using NAT, is usually defined as....

192.168.10.2 on the VMNET8 network.

You will need to Define a new NAT network using the Virtual Network Editor, but TURN OFF DHCP, as you have your OWN!

or use the Default IP Addresses on VMNET8....
0
 

Author Comment

by:creative555
ID: 40536837
So, if I will turn off DHCP vmware and use my DHCP server, then I should use DW for DHCP scope as 192.168.10.2??
0
 
LVL 120
ID: 40536860
if you use the default network of 192.168.10.2 as gateway, and re-ip all your IPs, and setup DHCP on your server as 192.168.10.1 to 192.168.10.254 as  per VMNET8 in Virtual Network Editor.
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 

Author Comment

by:creative555
ID: 40538592
oh. Got you. let me try that and will let you know if successful. We not got rid of Proxy by getting wireless card so I should have the internet working after setting IPs correct
0
 

Author Comment

by:creative555
ID: 40541199
WHat would be the DG gateway if I want to use the scope that I have below so that I dont have to re-IP all the machines

DHCP vmware is turned off. I am wondering if I setup the scope in DHCP on the server to be from 192.168.174.5 to 192.168.174.254.
0
 

Author Comment

by:creative555
ID: 40541204
Besides I specified static IPs for the servers with DG as 192.168.10.2. Why they dont have internet?

What stati settings I need to apply to my DNS and DHCP server?

Thank you so much
0
 
LVL 120
ID: 40541233
Are they on the VMNET8 network ?

can you ping www.demon.net ?

can you ping 158.152.1.222 ?
0
 

Author Comment

by:creative555
ID: 40546666
pic1.jpg
I reset the VMNET8 to default settings. see the screenshot. Is this checkbox "USe Local DHCP" means that it uses vmware DHCP? Should I uncheck it? Also, the default network is now 192.168.168.0

PLease advise if I should use VNMET 8 or create a new one, or maybe just use NAT?
0
 

Author Comment

by:creative555
ID: 40546672
this is the default IP range for VMNET8. It doesn't tell me the gateway it its using.
pic2.jpg
0
 
LVL 120
ID: 40546678
the gateway is the host itself, IP Address on VMNET8.

If you want to use your own Windows DHCP server, you should turn off the VMware DHCP server, otherwise you will have two conflicting DHCP servers on your LAN issuing IP Addresses.

The NAT IP Addresses and configuration need to match the IP addresses you have selected for your servers.
0
 

Author Comment

by:creative555
ID: 40546767
OK. NOw I have internet if I am using VMWARe DHCP. It gave me gateway as 192.168.168.2. So, I am going to create a new VMNET 9 now and turn of the VMWARE DHCP. I dont care about the scope...It can be any scope as long as I get the internet.

So, how do I know what gateway to setup if you dont use vmware dhcp?

VMWare-DHCP-settings.jpg
0
 
LVL 120
ID: 40546824
it's the IP Address of the VMNETx adaptor in the host!
0
 

Author Comment

by:creative555
ID: 40546875
WHat do you mean by "The NAT IP Addresses and configuration need to match the IP addresses you have selected for your servers"? Could you please explain. So, I can't have any scope for my DHCP server?
0
 
LVL 120
ID: 40546902
what IP Addresses have you chosen to use for your Lab and Virtual Servers ?

if you have used 10.10.1.1 - 10.10.1.255 for your Virtual Servers, you will also need to create a virtual network

also 10.10.1.1 - 10.10.1.255, so it routes correctly for you,. and NAT works! (if you want internet access!)
0
 

Author Comment

by:creative555
ID: 40546923
dns.jpghere is the static IP for my DNS server

ANd here is my scope on the server. I assigned the following. Let me know if this is good. I turned off Vmware DHCP
DHCP-server-scope-settings.jpg
0
 
LVL 120
ID: 40546945
that all looks good, did you also define a network with the same IP Addresses ?
0
 

Author Comment

by:creative555
ID: 40546957
Ok. Internet is working now with the Vmware DHCP turned off and with this scope that I have on the pic.

I didn't create the new virtual network but used the IP gateway from VMNET8 as 192.168.168.2 as you originally advised.
VMNET8-DHCP-turned-off.jpgvmnet8.jpg
SO, another option was to create another virtual network first such as below and set the same scope with DG of 10.10.1.1??
Is that correct?

if you have used 10.10.1.1 - 10.10.1.255 for your Virtual Servers, you will also need to create a virtual network

also 10.10.1.1 - 10.10.1.255, so it routes correctly for you,. and NAT works! (if you want internet access!)
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40546992
Yes, that's all good.

I believe VMware Workstation always wants to be xxx.xxx.xx.2 for the default gateway.
0
 

Author Comment

by:creative555
ID: 40546994
I am trying also the second option 2 that you suggested with virtual network  -  virtual network 10.10.1.1 - 10.10.1.255, but it tells me that NAT can only be used one....What would you recommend then?

can-only-have-one-NAT.jpg
0
 
LVL 120
ID: 40547010
You can only have one NAT network! If you do not like the IP Addresses, change them or delete the network, and re-create.

How many networks do you want to use ?

It does not matter which you use, the IP Address 10.xx.xx.xx.xx I used as an example , I just plucked out of thin air!
0
 

Author Comment

by:creative555
ID: 40547234
hm are you sure you can create a new virtual network with any IP range such as 10.10.1.0-255

See screenshot below. when I create new virtual network and select NAT, it already has the network IP
NewVirtualNetwork.jpg
0
 

Author Comment

by:creative555
ID: 40547239
If I would choose Host Only for VMNET9 instead of NAT, would I have the internet??
0
 
LVL 120
ID: 40547244
HOST only communicates ONLY with the HOST!
0
 

Author Comment

by:creative555
ID: 40547442
Got you. I am all set now and you answered all my questions!! I recreated the new Virtual Netwrok VMNET9 and created DHCP scope on the server with same network IPs and DG as for VMNET9. VMNET9SEttings.jpg
0
 

Author Closing Comment

by:creative555
ID: 40547476
Thank you so much! Everything is working now.
0
 
LVL 120
ID: 40547707
No problems.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

734 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