Hi, today i’ve learned new thing regarding vmware esxi 4.
If we open the Vmware vSphere client, go to Home -> Inventory -> HOST (Vmware esxi 4 host) -> Configuration -> Networking, by default the network is set up in Virtual Switch : vSwitch0. There we can see our network adapter card (e.g vmnic1) attached with the network.

So here’s my problem statement,
I have one network using ip 192.x.x.x and another network using 10.x.x.x .. My esxi 4 machine is configured with IP 192.x.x.x. IP 192.x.x.x is segregate with IP 10.x.x.x. Which means both IP can’t “see” each other.
In the esxi, there are bundles of virtual machine running, and I want to set 1 virtual machine (ubuntu) that host a web server to be accessed via both network (192.x.x.x and 10.x.x.x).
Method,
To do this, I set up additional LAN cable to be attached with another physical adapters/network card (e.g vmnic2).
Then, in vSphere client, go to Add networking -> Virtual Machine -> Create a virtual switch and choose your second network interface. The output is as follow..

Then next step is add another virtual network interface to the virtual machine. go to Edit settings and add another network adapter and choose Network connection -> network label.


Finally, fire up the virtual machine, you will see new network card added (eth0, eth1). eth0 is for 192.x.x.x, eth1 for 10.x.x.x. Issue ifconfig -a | more
Make sure to check the mac address of eth1 with vmimage in the vSphere client. If it is match, we are good to go..
greetz yomuds, hafiz, athlon crazy


Thanks for this post, this is a simple yet nice article on configuring vmware. I will bookmark it for later use.
Is there any way you can make those images clickable?
I am guessing your visitor will find it hard to see the screenshots clearly.
Hi Helen,
You can right click and view image for better presentation.
thanks
LOVE your work! You just saved me trawling through the manuals. Thx!