Panel |
---|
...
borderColor | green |
---|---|
bgColor | transparent |
borderWidth | 2 |
Noprint |
---|
Back to Installing SBC SWe on Virtual Platforms |
Additional Sections:
In this section:
|
Info | ||
---|---|---|
| ||
Related articles:
|
...
The vSwitch can route traffic internally between virtual machines and link to external networks. You can also configure a vSwitch to handle physical NIC failover. The vSwitch can be configured in the following scenarios:
...
Spacevars | ||
---|---|---|
|
...
You must configure virtual network interface cards (vNICs) on the
. The Spacevars 0 product2 Spacevars 0
...
is independent product2
...
from mapping of physical interfaces to vSwitches. The recommended configuration is to have vNICs on the different vSwitches as shown below.
Caption | ||||
---|---|---|---|---|
| ||||
Configure vSwitch in the following order:
Note |
---|
To configure the vSwitch, perform the following steps:
Login as user root on VMware vSphere client.
Caption | ||||
---|---|---|---|---|
| ||||
The vSphere Client main window appears.
Select the Host in VMware vSphere Client. Select Configuration.
Caption | ||||
---|---|---|---|---|
| ||||
Select Networking tab and select Add Networking link as shown in the figure. Select Virtual Machine and click Next.
Anchor | ||||
---|---|---|---|---|
|
Caption | ||||
---|---|---|---|---|
| ||||
Add a New Virtual Interface and vSwitch0 (MGMT).
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.
Caption | ||||
---|---|---|---|---|
| ||||
Enter Network Label. For example MGMT. Click Next and Finish.
Caption | ||||
---|---|---|---|---|
| ||||
Add a New Virtual Interface and new vSwitch1 (HA).
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.
Caption | ||||
---|---|---|---|---|
| ||||
Enter Network Label. For example HA. Click Next and Finish.
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
| ||||
Enter Network Label. For example PKT0. Click Next and Finish.
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
| ||||
|
Enter Network Label. For example PKT1. Click Next and Finish.
Caption | ||||
---|---|---|---|---|
| ||||
|
Note |
---|
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. |
Caption | ||||
---|---|---|---|---|
| ||||
|
Caption | ||||
---|---|---|---|---|
| ||||
Verify that the added vSwitches are in proper order. Click Configuration tab and Networking.
Warning |
---|
The switches and interfaces MUST be defined in this order: vSwitch0 - MGMT vSwitch1 - HA vSwitch2 - PKT0 vSwitch3 - PKT1 |
Caption | ||||
---|---|---|---|---|
| ||||
Note |
---|
Usage of vSwitch0 is not a mandatory requirement for MGMT0 interface. If server has more than 4 physical NIC ports, there is an option to assign MGMT label to vSwitch1, HA to vSwitch2, PKT0 to vSwitch3 and PKT1 to vSwitch4. |
Pagebreak |
---|
To protect the NIC failures, each vSwitch is configured with active and standby up-link adapters (physical NICs) using the NIC teaming feature of the VMware. To support this redundant configuration, ensure there is a minimum of eight physical NIC ports on the box. This configuration for high end system with full NIC protection as shown:
Caption | ||||
---|---|---|---|---|
| ||||
NIC teaming allows you to group two or more physical NICs into a single logical network device called a bond. Once a logical NIC is configured, the virtual machine is not aware of the underlying physical NICs. Packets sent to the logical NIC are sent to one of the physical NICs in the bond and packets arriving at any of the physical NICs are automatically directed to the appropriate logical NIC.
Note |
---|
Physical NIC ports needs to be configured in active-standby mode only while using VMware NIC teaming feature. |
To configure, perform the following steps:
Spacevars | ||
---|---|---|
|
Repeat sub steps of Step 3 shown in Configuring vNetwork Standard Switch Without Physical NIC Redundancy
Add additional NICs and group it by using the following steps:
Anchor | ||||
---|---|---|---|---|
|
Caption | ||||
---|---|---|---|---|
| ||||
In vSwitch properties window click Network Adapters tab and click Add.
Caption | ||||
---|---|---|---|---|
| ||||
In Add Adapter Wizard, select the NIC to group it. For example, if you are grouping vmnic1 and vmnic4 for management network, select vmnic4 check box.
Caption | ||||
---|---|---|---|---|
| ||||
Click Next after selecting the vmnic.
Caption | ||||
---|---|---|---|---|
| ||||
Select the order of fail over by moving adapters up or down.
Caption | ||||
---|---|---|---|---|
| ||||
Click Next in Failover Order, and then click Finish.
Caption | ||||
---|---|---|---|---|
| ||||
Now the management network adapter is grouped with NICs (in this example, vmnic0 and vmnic4) to support NIC redundancy. Following example screen shows management network adapter NIC redundancy.
Caption | ||||
---|---|---|---|---|
| ||||
Repeat the steps of Adding Additional NICs for HA, PKT0 and PKT1 ports NIC grouping.
Pagebreak |
---|
It is recommended to configure all four ports with different IP addresses in four different networks. For example: