Banner Iklan

Responsive Ads Here

Tuesday, 5 May 2015

vNetwork pada VMWare....

vSwitch dapat mer-routing lalu lintas internal antara virtual machines ke kartu jaringan eksternal(NIC PC/LAPTOP). Anda dapat juga mengkonfigurasi  sebuah vSwitch meng-handle NIC fisik PC/LAPTOP. The vSwitch dapat dikonfigurasi dengan the mengikuti scenarios dibawah ini:
1. Configuring vNetwork Standard Switch Without Physical NIC Redundancy (mengkonfigurasi vNetwork sebagai standard switch tanpa NIC fisik)
For SBC SWe, you
must configure virtual network interface cards (vNICs). SBC SWe is independent of mapping of physical interfaces to vSwitches.The recommended configuration is to have vNICs on the different vSwitches as shown.
Figure : vNetwork Standard Switch Without Physical NIC Redundancy
Configure vSwitch in the following order:
  • First Ethernet interface for management (MGMT)
  • Second Ethernet interface for HA (HA)
  • Third and fourth Ethernet interface for Media (PKT0 and PKT1)
It is recommended to configure all four ports with different IP addresses in four different networks. 
For example:
  • MGMT-Network 1
  • HA-Network 2
  • PKT0-Network 3
  • PKT1-Network 4
To configure, perform the following steps:
  1. Login as user root on VMWare vSphere client.
    1. Enter VM Ware host machine IP Address.
    2. Enter your VMWare vSphere administrator user name.
    3. Enter your VMWare vSphere administrator password. 
    Figure : VMWare VSphere Client Login
     
    The vSphere Client main window appears.
  2. Select the Host in VMWare vSphere Client. Select Configuration.
    Figure : Adding Virtual Interface

  3. Select Networking tab and select Add Networking... as shown in the figure. Select Virtual Machine and click Next.
    Figure : Configuring vSwitch

    1. Add a New Virtual Interface and vSwitch0 (MGMT).
      1. Select Use vSwitch0. The vmnic0 is automatically selected. Make sure that the speed is showing 1000 Full for the selected vSwitch. It indicates physical port is up. Click Next.
        Figure : Selecting vSwitch0
      2. Enter Network Label. For example MGMT. Click Next and Finish.
        Figure : Entering Label
    2. Add a New Virtual Interface and new vSwitch1 (HA).
      1. Select Networking tab and select Add Networking.... Select Virtual Machine and click Next (see Figure Configuring vSwitch).
      2. Select Create a vSphere standard switch. Select vmnic1. Make sure that the speed is showing 1000 Full for the selected vSwitch. It indicates physical port is up. Click Next.
        Figure : Adding vSwitch 1
      3. Enter Network Label. For example HA. Click Next and Finish.
        Figure : Entering Network Label HA
    3. Add a new Virtual Interface and new vSwitch2 (PKT0).
      1. Select Networking tab and select Add Networking.... Select Virtual Machine and click Next (see Figure Configuring vSwitch).
      2. Select Create a vSphere standard switch. Select vmnic2. Make sure that the speed is showing 1000 Full for the selected vSwitch. It indicates physical port is up. Click Next.
        Figure : Selecting vmnic2
      3. Enter Network Label. For example PKT0. Click Next and Finish.
        Figure : Entering Network Label (PKT0)


    4. Add a new Virtual Interface and new vSwitch3 (PKT1).
      1. Select Networking tab and select Add Networking.... Select Virtual Machine and click Next (see Figure Configuring vSwitch).
      2. Select Create a vSphere standard switch. Select vmnic3. Make sure that the speed is showing 1000 Full for the selected vSwitch. It indicates physical port is up. Click Next.
        Figure : Selectiong vmnic3
         
      3. Enter Network Label. For example PKT1. Click Next and Finish.
        Figure : Entering Network Label (PKT1)
         
        If the VLAN is used for packet ports (PKT 0 or PKT1), then the VLAN ID (optional) 
        parameter must be selected as ALL (4095). This method is recommended and 
        it is called as VGT (Virtual Guest tagging), where the guest OS takes care of VLAN 
        tagging functionality. The VLAN can be used for either PKT0 or PKT1 or both. 
        For non-VLAN configuration, use the default value 0.
        Figure : Configuring VLAN
         
        Figure : Configuring VLAN
    5. Verify that the added vSwitches are in proper order. Click Configuration tab and Networking.
      The switches and interfaces MUST be defined in this order:
      vSwitch0 - MGMT
      vSwitch1 - HA
      vSwitch2 - PKT0
      vSwitch3 - PKT1
      Figure : Verifying vSwitches
      Usage of vSwitch0 is not a mandatory requirement for MGMT0 interface. If server has more 
      than 4 physical NIC ports, you can opt to assign  MGMT label to vSwitch1, HA to vSwitch2,
      PKT0 to vSwitch3 and vSwitch4 to PKT1.

No comments:

Post a Comment