[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

configure multiple nics on physical server to host multiple virtual machines

Posted on 2014-02-02
8
Medium Priority
?
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 59

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 23

Expert Comment

by:Patrick Bogers
ID: 39828323
Never mind this post, would like to see more input on how this is done.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 59

Accepted Solution

by:
Cliff Galiher earned 2000 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
 

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 23

Expert Comment

by:Patrick Bogers
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 23

Expert Comment

by:Patrick Bogers
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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

650 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