Nat – VMWare Hypervisor vSphere 5 – VM static ip from VLAN NAT

nat;static-ipvmware-esxi

I have a VMWare vSphere 5 Hypervisor server that has a static ip address assigned to it by VLAN that is configured to perform NAT. The static IP is assigned to the bare metal server via the NIC's mac address.

I want to setup a guest machine to also have a static ip address, how can I go about having this setup? I have assigned a IP for the guest's MAC Address but it doesn't seem to be working as when I ping the ip address it does not respond. The guest is running ubuntu 10.04 server edition. I am trying to assign it a static public ip address.

Any help would be greatly appreciated.

Best Answer

A VMWare ESX server should not have networking configured on any physical NIC; it is not meant to work this way.

To reach the hypervisor, you connect the kernel network to a virtual switch or port group, which is then assigned to one or more physical NICs.

This kernel network can then have the hypervisor IP assigned.

If your server only has a single physical NIC, you'll have to add the service console to the only existing virtual switch and port group.