Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2846
  • Last Modified:

VMWare ESXi NAT issue - How do I resolve it?

Hi Folks

I have just set up my first ever VMWare ESXi server and the config is as follows:

Server - Dell 2950 with 2 x NICs (only one connected)
16Gb RAM, 2 x Quad Core Processors, 400GB disk
Running: ESXi 3.5 (latest version)

I have set up a Windows 2003 server (WEB edition) and all works fine. Networking in and outbound all great. I'm using NAT at the moment because I'm testing it on a home ADSL line with a NAT router.

Addressing as follows:
Server Host address 192.168.1.20

VM1 = 192.168.1.51
VM2 = 192.168.1.52

Gateway for all three is 192.168.1.254

I can connect to the server fine using VMWare Infrastructure Cliient if I connect a laptop to the same network, say on 192.168.1.65. No problems there. All looks fine on the Client. No errors in logs etc.

If I go to VM2 (CentOS 5.3) all works fine except networking. I can't ping anything at all except localhost. If I even ping one of the internal addresses, like VM1 for instance, it says "Network unreachable" and fails.

Can anyone help with this? Is it just not possible to use NAT like this for testing purposes? I'm frustrated as all h*ll. Been trying to figure it out for two days without any success.

Cheers
Chris
0
kenwardc
Asked:
kenwardc
  • 4
  • 3
  • 2
1 Solution
 
za_mkhCommented:
Most probably your networking configuration on your VM2 (CentOS 5.3) is incorrect. Check all the settings again. Your subnet could be wrong.
0
 
za_mkhCommented:
I mean the networking config in the Cent OS VM. Not from the VMWare ESXi Point of View. .Hope that clarifies it.
0
 
kenwardcAuthor Commented:
Thanks ZA.. I'll have a look at the network setup and compare it to one of our "real" CentOS servers. Good idea - I haven't yet done that. Been working myself into a froth instead. :)

I'll let you know what I find. Thanks for the very quick response.

Cheers
Chris
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
kumarnirmalCommented:
Please check whether iptables is running in Cent OS
0
 
kumarnirmalCommented:
Have you installed VMware Tools in the VM ?
0
 
kenwardcAuthor Commented:
ZA - there is a word that describes what I did when I set it all up...  far too rude to print here! :D It was the flippin' subnet mask. I had set it to /32 by mistake. THAT is something I won't do again in a hurry. :(

Thanks again for your calm solution while I was so busy foaming at the mouth I didn't even think it could be the setup of the OS. DOH!
0
 
kenwardcAuthor Commented:
Thanks also, to kumarnirmal for your reply. Yes. Tools are running and iptables is OFF.

Regards
Chris
0
 
za_mkhCommented:
:-) When all else fails, go to the basics. Glad your problem is resolved!
0
 
kenwardcAuthor Commented:
Thanks, ZA! I'll try remember that.

All the best
Chris
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now