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

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!
creative555Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, that's all good.

I believe VMware Workstation always wants to be xxx.xxx.xx.2 for the default gateway.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
creative555Author Commented:
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
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
creative555Author Commented:
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
 
creative555Author Commented:
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
 
creative555Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are they on the VMNET8 network ?

can you ping www.demon.net ?

can you ping 158.152.1.222 ?
0
 
creative555Author Commented:
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
 
creative555Author Commented:
this is the default IP range for VMNET8. It doesn't tell me the gateway it its using.
pic2.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
creative555Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
it's the IP Address of the VMNETx adaptor in the host!
0
 
creative555Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
creative555Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
that all looks good, did you also define a network with the same IP Addresses ?
0
 
creative555Author Commented:
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
 
creative555Author Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
creative555Author Commented:
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
 
creative555Author Commented:
If I would choose Host Only for VMNET9 instead of NAT, would I have the internet??
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
HOST only communicates ONLY with the HOST!
0
 
creative555Author Commented:
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
 
creative555Author Commented:
Thank you so much! Everything is working now.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No problems.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.