Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to add a second NIC to a Windows Server 2003 VM so that it will have two NICs which each have a different public IP.

How do I go about assigning the NICs to different public IPs?

share|improve this question
1  
Directions for adding the NIC would require knowing what virtualization technology you're using. –  Chris S Aug 2 '10 at 19:53
1  
Are you trying to use a 2nd external network? Is this for performance? Does it have to be a 2nd NIC or could you just add a 2nd IP to the current NIC? –  Clint Aug 2 '10 at 20:04

3 Answers 3

up vote 1 down vote accepted
  1. Shut down the VM.
  2. In VMware, Hyper-V, VirtualBox, Xen, or whichever hypervisor you happen to be using, edit the VM settings. Add a second network adapter. Assign it to the appropriate physical interface. Because you want it to have a public IP, be sure to use Bridged mode (not NAT or host-only).
  3. Start the VM.
  4. Log in as an administrator.
  5. Start->Run->ncpa.cpl, right-click the new network adapter, click Properties, select TCP/IP, click Properties, assign an IP address.
share|improve this answer

Once the NIC is installed, you should be able to give it a static IP like normal through the NIC's TCP/IP settings in control panel.

I am not completely sure if this is what you are asking, maybe clarify?

share|improve this answer
    
I think I just need to setup the NICs so they connect to separate gateways. –  user49032 Aug 2 '10 at 19:21

If it's a VM, you shouldn't need to create a seperate NIC, you can just add a second IP and gateway to the virtual NIC you have installed through Windows Control Panel.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.