VMware vSphere

 View Only
Expand all | Collapse all

Network best practices with only 4 nics

  • 1.  Network best practices with only 4 nics

    Posted Apr 15, 2010 01:03 AM

    I am accustomed to configuring esx with fiber channel sans. This will be my first experience connecting esx to an iscsi san.

    I only have 4 nics on the server and am wondering what is best practice.

    I'm thinking 2 of the 4 nics are going to be dedicated to the san for HA.

    But the other 2 kind of throw me for a loop.

    I know I want console, vmotion, and trunk for vlans, but I don't think I can have all 3 on the same vswitch?

    Am I stuck with having console and vmotion on one nic and trunk on the other? IE- no failover?

    Is there anyway to get console, vmotion, and trunk to all exist together?

    Thank you in advance.



  • 2.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 01:54 AM

    you can consider to deploy dvswitch and publish all your port group, SC, and vmkernel into the DVswitch.

    Craig

    vExpert 2009

    Malaysia VMware Communities -



  • 3.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 02:57 AM

    We are running advanced license. I think you need enterprise plus for distributed vswitch.



  • 4.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 05:48 AM

    I know I want console, vmotion, and trunk for vlans, but I don't think I can have all 3 on the same vswitch?

    Is there anyway to get console, vmotion, and trunk to all exist together?

    Thank you in advance.

    Although people will tell you this is not best practice, there is no reason you cannot place all three items on one vswitch. Just create one new vSwitch for your iSCSI - it's the most important thing to isolate - and enable vmotion and your VM VLANs on your default vswitch.



  • 5.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 12:47 PM

    I know I want console, vmotion, and trunk for vlans, but I don't think I can have all 3 on the same vswitch?

    Is there anyway to get console, vmotion, and trunk to all exist together?

    Thank you in advance.

    Although people will tell you this is not best practice, there is no reason you cannot place all three items on one vswitch. Just create one new vSwitch for your iSCSI - it's the most important thing to isolate - and enable vmotion and your VM VLANs on your default vswitch.

    Ok, I think if I understand what you are saying, in order to have all 3 on the same vswitch, I will have to change my pswitch port to trunk and than assign the console a vlan for my lan? Does that sound right?



  • 6.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 04:53 PM

    Perhaps something like this?

    Notice my vswitch0 is on the 10.10... network and the iSCSI traffic is on 10.8.. network.

    Hope that helps.

    Stuart

    Please award points to any useful answer.



  • 7.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 05:45 PM

    I only have 4 physical interfaces, you are showing 6.



  • 8.  RE: Network best practices with only 4 nics
    Best Answer

    Posted Apr 15, 2010 08:50 PM

    If this was an election, I'd vote for Josh26 :smileywink:

    Just some additions to his recomendation:

    vSwitch0:

    2 pNICs connected to trunk ports on the pSwitch (vmnic0, vmnic1)

    Service Console Portgroup - VLANxxx - (vmnic0 active, vmnic1 standby)

    VMkernel Portgroup for vMotion - VLANyyy - (vmnic0 standby, vmnic1 active)

    Virtual Machine Network - VLANzzz - (vmnic0 active, vmnic1 standby)

    vSwitch1:

    2 pNICs (vmnic2, vmnic3)

    VMkKernel Portgroup for iSCSI

    With the above configuration you separated iSCSI traffic, which is most important.

    SC and VM network share one pNIC and vMotion has it's dedicated pNIC.

    Everything is redundant.

    André



  • 9.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 09:48 PM

    Andre suggetions looks good too! :smileycool:

    With my example with 6 nic's just, ingore one of nic from each vSwitch but add your 4th to what ever you see fit!

    2 Choices to choose from! :smileygrin:

    Hope you get this all sorted!

    Stuart

    -


    Please award points to any useful answer.



  • 10.  RE: Network best practices with only 4 nics

    Posted Apr 16, 2010 01:33 PM

    If this was an election, I'd vote for Josh26 :smileywink:

    Just some additions to his recomendation:

    vSwitch0:

    2 pNICs connected to trunk ports on the pSwitch (vmnic0, vmnic1)

    Service Console Portgroup - VLANxxx - (vmnic0 active, vmnic1 standby)

    VMkernel Portgroup for vMotion - VLANyyy - (vmnic0 standby, vmnic1 active)

    Virtual Machine Network - VLANzzz - (vmnic0 active, vmnic1 standby)

    vSwitch1:

    2 pNICs (vmnic2, vmnic3)

    VMkKernel Portgroup for iSCSI

    With the above configuration you separated iSCSI traffic, which is most important.

    SC and VM network share one pNIC and vMotion has it's dedicated pNIC.

    Everything is redundant.

    André

    Thanks, that was what I was looking for. I just wasn't sure if the ports could be trunked.



  • 11.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 06:19 AM

    in that case, reserve 2 NICs for the VMkernel. in the vswitch create 2 different port group to isolate vmotion and ISCSI traffic.

    the others 2 NICs you can configure Service console and port group for VMnetwork.

    Craig

    vExpert 2009

    Malaysia VMware Communities -



  • 12.  RE: Network best practices with only 4 nics

    Posted Apr 15, 2010 07:18 AM

    My advise would be at the very least seperate the iSCSI traffic on to another vLAN and NIC. I guess you could have a config as follows

    NIC 1 - iSCSI - (VLAN'd,)

    NIC 2 - Virtual Machines

    NIC 3 - Service console

    NIC 4 - (redundacy for where ever you see the most need)

    Hope that help but just my opinion.