Configuring ESXi Virtual Networking and Switches

Have physical server with 2 physical adapters, running ESXi 5.1
 Physical adapter "0" is plugged into a switch that services a 10.10.80.x network, this also serves as the ESXi management network.
Created a virtual machine, Win2K8 Server, Gave it the proper 10.10.80.x configuration, Works perfectly.
Resources on the 10.10.80.x network can see the server and it can access the appropriate resources on the network.

Physical adapter "1" is plugged into a firewall which is a 70.138.24.x network
P2V'd a physical server we had running, that had an 70.138.24.10 IP Address
The firewall is configured to only accept traffic from this IP
Physical adapter does not show up yet in my ESXi Networking


My Question is:

How do I setup the physical adapter and subsequent networking so that the traffic to and from the server with the 70.138.24.10 IP goes out over physical adapter "1"

Attached is a .pdf of my current topology.
LVL 3
tech911Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GG VPCommented:
Hi Tech 911,

You have missed to adapt your topology PDF!

Could you please brief the type of hardware on which ESXi is running?

Thank you!
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
tech911Author Commented:
I think I may have been unclear...

I have been playing around with the Networking for the ESXi Server using the vSphere client.  If I wanted to, I could add the second physical adapter, but I don't really know how.

Most importantly, once the adapter is added, it needs to be on a completely different logical network than the first physical adapter, because it is physically on a totally different physical network.

Does that help?

Sorry for the .pdf issue, I clicked the wrong "attach" file
Project1.pdf
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay, what you need to do, is to create or have two vSwitches, with a physical network interface in the host.

and then create a virtual machine portgroup for each vSwitch, and label correctly e.g. Network 1 and Network 2.

Then in the VM, edit the network interface, and select either Network 1 or Network 2.

Post back, if you would like step by step, hand holding...
0
tech911Author Commented:
Regarding the VMWare Tools - It was a linux P2V, and no I did not install them during or after the conversion.
Good new is this was a test, so that we could refine the process prior to the production move, we could include the install vmtools in the p2v conversion if needed.

Server is an IBM 3650

Again, ESXi is running great. We have a windows server VM running, using physical adapter "0", all systems are go.

The p2v of the linux machine was successful, we can power it up, login and it is running correctly.  The issue is that it is trying to use physical adapter "0" as it's access to the network and there is no way that can work since the physical network the machine should be on and the logical network the linux machine is currently assigned to is totally different (see diagram).
0
tech911Author Commented:
Yes to the step by step...not too proud to know I need the hand holding...be gentle, its my first time...
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Select the Host > Configuration > Networking

then Click Add Networking...

Select Virtual Machine

Create a new Standard switch, and select your physical nic....

Label it - Network 2 etc

that bit is done, then edit the VM, network interface and select Network 2.
0
tech911Author Commented:
OK - I have to go to the client site, I will send screen shots of exactly what I do for your review.

Thank you for your time, effort and quick responses.

I have a meeting at 10:00 and have to implement a Citrix box at 1:00 but I will try to get this done in between and advise.
0
tech911Author Commented:
No time for screen shots, sorry about that.
Followed instructions
Now have additional switch (VM Network2)
Tied it to physical adapter "1"
Changed settings in Linux VM network adapters to be part of VM Network 2
All looks good...

How do I set the IP on the physical adapter "1" ?  
Or do I not need to to do that?  
There is no DHCP on the physical network this adapter is plugged into.
Physical adapter "1" should have a 70.138.24.x address, that is if it needs one.

Please advise
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is no requirement to set an IP Address on the physical adaptor 1, because traffic just flows in to the nic, and into the vSwitch, and to the VM, which has the IP Address assigned!

If there is no DHCP server on this LAN, you will need to assign an IP Address to the VM.
0
tech911Author Commented:
Cool, VM has correct IP since it was P2V'd
I guess I will have to try it and advise.
0
tech911Author Commented:
Update - I think I must have explained this wrong, because it didn't work so I am including this new diagram in hopes of figuring this out.  I am starting to think it cannot be done, but I will leave that to the Experts.
MultiNIC-Routing.pdf
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, this is very easily do-able.

You create a new vSwitch, add the physical nic 1 to this vSwitch.

Create a new virtual machine network "70.138.24.x" on this vSwitch.

Edit the VM Settings, Network Interface and change the internet label to "70.138.24.x"

Ensure the VM has an IP address in the "70.138.24.x range.

ESXi does not do any routing!
0
tech911Author Commented:
Ok - I must be missing it then, because I followed your "spoon fed" (I know I am not experienced at this) instructions as best I could and it didn't work, so I will try again and report back.

HERE IS WHAT I DID
Create new Vswitch, added physical nic1 to it
Created new VM witht he 70.138.24.x on it, tested it, and it could ping itself
Went into settings on the VM and made sure it was setup on VMNetwork2, thus it should be using the new switch

Question:  How does ESX know to route packets for the 70.x.x.x network in and out Physical NIC1

I will try this again and advise,
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
ESX does *NOT* know how to route packets, it does not route packets......as such, it just provides a network for communicatons and traffic flow.

you've directly connected vSwitch to the primary uplink on physical network interface 1. All traffic going into nic1, will go to the vSwitch, and network virtual machine portgroup connected to the vSwitch.

if you look at Host > Configiration > Network adapters

you should be able to see, what ESXi "detects" on it's network interfaces as a guide....

Observed IP Ranges...

(please note, sometimes if might not show anything, because it requires network traffic to show the IP ranges!)

Make sure that nic1, is physically connected to the 70.x.x.x network.....

not sure how you are doing this...

the VM should be able to ping the default gateway 70.x.x.x.x

this VM does only have a single Interface ?

can you upload screenshots of the vSwitch and VM settings
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

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.