Solved

configure multiple nics on physical server to host multiple virtual machines

Posted on 2014-02-02
8
540 Views
Last Modified: 2014-02-02
I have 1 physical server with 3 NICs, my question is : what's the right way to configure the physical nics so each separate vm can have its own separate static wan address.  Currently I only have 1 physical nic configured with IP address, mask, gateway and one vm using that nic so i get external IP #1
how do i configure the other nics so the second vm can have a separate static external IP? not sure if adding 3 different gateways on the physical (host) server will cause problems.
0
Comment
Question by:acurasebas
  • 3
  • 3
  • 2
8 Comments
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 39828288
Create separate virtual networks, and set each unique network as external and bind it to a NIC. Then in the VM settings, add an adapter and attach it to its unique virtual network. You can then set the gateway and IP on the VMs NIC without naming any changes to the host.
0
 

Author Comment

by:acurasebas
ID: 39828299
my main question is how to configure the nics on the host server.  do i give each nic a differnet subnet ? if so a different gateway?  currently we have 3 routers each with its own static external address so each router would connect to each physical nic, now if i add 3 different gateways wont the physical server go crazy?
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39828323
Never mind this post, would like to see more input on how this is done.
0
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 39828388
You don't configure the NICs on the host. When you configure an external network in Hyper-V and select a NIC, that NIC is removed from the host and exists only in the hypervisor. Attempting to configure settings on the host will only break the hyper-v network stack.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Closing Comment

by:acurasebas
ID: 39828509
thanks for the quick answer.  created another virtual switch and assigned the second nic, this created a vEthernet on the host server.
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39828837
#Cliff, so what if i have 4 NIC's and 8 VM's on one phisical box, do i configure all VM's to run in bridge mode and team up the 4 NIC's into 2 teams? (seems like a good assumption)

From what i understand if i use this explained above i can only assign 3 NIC's to my VM's and i have ran out of options, correct?
0
 

Author Comment

by:acurasebas
ID: 39828842
the only reason i had to do it that way was because each server was gonna have its own external IP so i couldn't share nics, because i have a different router on each nic.  You can add multiple VM's to the same virtual switch all sharing the same external IP so you could have way more servers sharing one nic.
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39828854
Love this topic!, So cool to read about this. In my situation i would simply create vIP's in my load balancers and point all external ip's to the same server. Thanks for you explanation.
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now