Avatar of Tony Turner
Tony Turner
Flag for United States of America asked on

VMware ESXI network interface issues with different networks attached

I have a Dell R710 running the free version of VMware ESXI 5.5. I have four built in physical ethernet interfaces. I have NIC0 configured as the management port and connected my internal network. I have a web server that needs to be on a public IP so I thought I'd configure one of the other interfaces to use for that purpose. I followed the step below.
Login into your Host.
Select host and go to Configuration Tab.
Click on Networking from the Left List.
In the networking tab you will see a vSwitch0 already present. With your NIC1 attached to it as Uplink.
Now click on Add Networking at the right top corner, And it will ask you whether its a VMkernel or Virtual machine connection type. Choose Virtual machine.
The it will ask you for an Uplink selection. Choose NIC2 from the window.
Name it as vSwitch1 or whatever your requirement is.
And click finish. you will see a second vSwitch that will appear on the Networking Window.

Then I went to my virtual image and edited the network adapter setting to point to my new switch.
I then I started my Linux image and configured the eth1 interface for the new network.

I restarted the Linux image but it can not connect to the internet. I used the same IP settings as the physical machine that I created this image from with the exception that eth1 was the interface for the VM and the physical machine used eth0.

I'm new to VMware and I'm sure I've missed a step of something. Can any of you help me figure it out?

All I really want to do is have two different networks connected to different network interfaces... maybe that is not possible... I don't know. Maybe it's just not possible in the free version... again, I don't know.

I really appreciate your help.

Tony T

Avatar of undefined
Last Comment
Tony Turner

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Are you sure that your physical network interfaces in the host (e.g. uplinks) are connected to vSwitch1.

and then you have created a virtual machine network portgroup, and selected this for the VM ?

Can you upload a screenshot of the Networking vSwitches ?

The IP Address in the VM will need to be the public IP Address, and the uplink needs to be on this network.
Tony Turner

Thanks for the reply Andrew... I'll get some screen shots for you but I've not created a port group because I didn't know I needed to and I don't know how.

Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

You did that when you followed the Wizard, and selected Virtual Machine, and gave it a label.

This is a Virtual Machine Portgroup.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Tony Turner

Thanks Andrew... that's what you get when you're dealing with an idiot like me duh! I saw it when I went in to make the screen shots .

Config Screen
Port Group
Tony Turner

Vmnic3 shows a red "X" on it right now because I had to reconnect the physical machine until I work the issue out.
Tony Turner

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Tony Turner

I fixed it myself by rebooting my router.
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.