Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1158
  • Last Modified:

Different IP's for VMware guests?

I'm about to set up a new server that has two NIC's with VMware's ESXi 5 Hypervisor.
I will be looking at setting up two Guests on it with Windows Server 2008 Standard R2.
Our Juniper firewall has two IP pools - one private with DHCP, and the other public without DHCP but using dedicated static IP's.

As far as the guests on the VMware server go, I'd like to setup one of the guests with a static IP on the private side (192.168.1.x) and the other with one of our dedicated IP's (203.x.x.x).

I'm assuming I will need to use both NIC's for this... one connected to the private and one connected to the public (our firewall calls it DMZ).

How do I tell the guests which NIC to use and what will the host be manageable by?
0
Reece Dodds
Asked:
Reece Dodds
  • 3
  • 2
  • 2
  • +1
3 Solutions
 
HonezCommented:
The first part is in the VMWare setup.  You will assign each NIC to a different virtual switch.  so one will be on the 192.168... side and the other on the 203... side.

When you set up the guests, you will be able to specify which network the NIC is to be connected to.  During this step you simply assign them to the appropriate network.
0
 
Reece DoddsAuthor Commented:
That's what I thought.  Thanks.
The only problem is, on the laptop I'm using at the moment as a testing platform, I'd like to use the WLAN for the 192 side, but the vSphere client shows that the host doesn't see the Intel 4965agn card.

How can I add this adapter to the configuration so I can then test what you posted above?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You will need to create or use two vSwitches.

vSwitch0 is the default virtual switch which is created for you with a single physical nic (vmnic) attached. It has a virtual machine portgroup created for you called VM Network.

You also need to create a new vSwitch1, add a single physical nic (vmnic1), and create a new Virtual Machine Portgroup, e.g. VM Network 2

then for each Virtual Machine, select these different portgroups or networks, next to the Network Interface, there is a dropdown, which will allow you to change the network.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
TimotiStDatacenter TechnicianCommented:
The ESXi server can do vlan tagging, so you can have multiple vswitch-es with only one physical NIC in the server. If you need full gigabit speed for both connections, that's a different story.

That "4965agn" interface sounds like wireless to me. ESXi is server stuff, I don't think it can use it...

Tamas
0
 
HonezCommented:
Agree with Timotist, if you are using the laptop to test ESXI, (first of Kudos for getting it actually installed), but it may not see your network adapters because they are not in the HAL.  If you are real persistant you may be able to find a pcmcia NIC or other addable network adapter with an acceptable chipset.  In my experience, the biggest challenge for testing has been the SATA adapter, but it looks like you got past that hurdle.
0
 
Reece DoddsAuthor Commented:
Yeah, it's a HP 850 business laptop with a Core2Duo with Virtualization turned on.
The SATA is set to IDE.  The Ethernet is a supported Broadcom NIC and is working fine, but I was just hoping I might be able to force it to use the WLAN card as well so that I can be confident assigning the vSwitches to the guests before I configure the new Acer rackmount.
Can you "inject" drivers into the configuration or something like that?
I've got Linux drivers for the WLAN card but I don't think ESXi is linux based is it?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It is unlikely that ESXi will work with a wireless interface, as it has limited support for network interfaces.

ESXi is not linux based.
0
 
Reece DoddsAuthor Commented:
Thanks

I guess I'll just dive in with the new server and ask a new question on here if I get stuck.
0

Featured Post

Technology Partners: 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!

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now