tech911
asked on
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.
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.
Have you installed VMware Tools are the P2V conversion ?
see my EE Artricles
Part 8: HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server
Part 9: HOW TO: Install VMware Tools for Linux on a VMware Linux virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server
Also check you have removed all the hidden devices and drivers.
see my EE Artricles
Part 8: HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server
Part 9: HOW TO: Install VMware Tools for Linux on a VMware Linux virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server
Also check you have removed all the hidden devices and drivers.
ASKER
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
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
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...
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...
ASKER
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).
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).
ASKER
Yes to the step by step...not too proud to know I need the hand holding...be gentle, its my first time...
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.
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.
ASKER
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.
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.
ASKER
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
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
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.
If there is no DHCP server on this LAN, you will need to assign an IP Address to the VM.
ASKER
Cool, VM has correct IP since it was P2V'd
I guess I will have to try it and advise.
I guess I will have to try it and advise.
ASKER
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
MultiNIC-Routing.pdf
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!
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!
ASKER
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,
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,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You have missed to adapt your topology PDF!
Could you please brief the type of hardware on which ESXi is running?
Thank you!