Solved

It is possible to set up mutliple virtual server instances on different subnets thru 1 NIC

Posted on 2007-11-13
5
208 Views
Last Modified: 2013-11-09
I have a server running windows server 2003 r2 and virtual server r2 sp1.

The server has 1 nic card with a static IP address behing a firewall. each of the virtual server instances use that nic card to obtain a IP address either DHCP from the firewall or I can set and IP address for them.

Is it possible to have the virtual server instances on seperate subnets from the Host Server?

For instance, the host server is 192.168.1.100
I want the virtual servers to use that NIC but be on their own subnet, say 192.168.2.100, 3.100, and so forth for each instance?

It seems that when I do it, it doesnt get access to the internet even though i specify the DNS to the Host serer and Gateway to the address of the Firewall.
0
Comment
Question by:jhuntin
[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
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:RWrigley
ID: 20277184
You can give your Virtual PC's any IP address you want, but in order to access the internet through your company's network, you'd need to have something setup to route the packets from your custom subnet to the 192.168.1.x subnet.  In theory, you could set your host server to have two IP addresses, and enable routing on it to forward packets from the 192.168.2.x subnet to your network gateway, but you'd also have to configure your network gateway to route packets back.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20277416
You'd use NAT as the networking choice on the VM.

0
 

Author Comment

by:jhuntin
ID: 20277703
Can you explain the NAT setting on the VM? Is there somewhere you would be able to direct me on this?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 20279196
On the settings of the VM for the NIC you should be able to select Bridged, NAT or Host only.

0
 
LVL 12

Accepted Solution

by:
RWrigley earned 500 total points
ID: 20280563
Essentially, if you select the network type as "Bridged", then the virutal machine uses the host's network card as if it was directly connected to it (and thus to the network), but it doesn't have to have the same IP information as the host.  In this mode, the virutal machine acts like any other comptuer attached to the network, and is subject to the same networking limitations.

In "NAT" mode, the host server effectivly acts like a network router, passing the packets from the virutal machine to the rest of the network.   The problem with "NAT" mode is that the virutal PC is effectivly "hidden" from the rest of the network, so you aren't able to connect to the virutal PC from other comptuers on the network (at least, not without doing some more advanced configuration).  

"Host" mode only allows the virutal machine to communicate to the host server (and potentially to other VM's on the same host).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cable suggestions 5 77
UPS and BTU calculation 3 57
Powerline adapter slow Mbps? 38 211
Windows 2008 set profile 9 49
This article is a how to to configure a UCS Ethernet-uplink portchannel via the console. It is easy to do and can be done quite quickly. In certain versions of the UCS manager the portchannel has issues coming up and this is a workaround. I am…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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