VMware vSphere

 View Only
  • 1.  using 2 network cards

    Posted Aug 20, 2009 04:36 AM

    Hello.

    I have this ESXi 4 host that has 2 network cards. I have 4 VMs running on it.

    One of the VMs belongs to one network (192.168.1.x)and the rest of the VMs belong to another network (192.168.2.x).

    I have a cable connected from NIC1 on the ESXi to the 192.168.2.1 port on the firewall.

    I have a cable connected from NIC2 on the ESXi to the 192.168.1.1 port on the firewall.

    And it seems the VMs are able to find their networks without me having to configure anything extra on the ESXi. I thought I had to create another virtual switch on the ESXi dedicated to the other network or create a default route within the VMs.

    Am I supposed to configure anything to support two networks on the single ESXi host or am I already all set as is?



  • 2.  RE: using 2 network cards
    Best Answer

    Posted Aug 20, 2009 06:31 AM

    If 192.168.1.x and 192.168.2.x networks are different physical networks (as in your case) you must create 2 different vSwitches.

    One vSwitch for 192.168.1.x with ONLY NIC2 and VM that goes on this network.

    One vSwitch for 192.168.2.x with ONLY NIC1 and VM that goes on this network.

    Also you will need a Management interface on one of those vSwitch.

    Andre



  • 3.  RE: using 2 network cards

    Posted Aug 23, 2009 06:19 PM

    Thanks, I've created another vswitch and and added the NIC that's connected to the other network to the new vswitch and also assigned the VM's NIC to the new vswitch.