官术网_书友最值得收藏!

Connecting a physical device to an isolated network

A problem that turns up from time to time is that physical devices need to be connected to an isolated test environment. The following section gives an idea of how to do it.

Getting ready

We will need to have a physical device connected to a VLAN that is routed to the ESXi servers. This means that the VLAN should be trunked to the ESXi servers and added to a Distributed Switch (or vSwitch) as a new port group.

We have everything else to create on the spot.

How to do it...

  1. Navigate to System | Manage & Monitor | Network Pools.
  2. Click on the green icon (+) to create a new Network Pool.
  3. Choose vSphere port group-backed.
  4. Select the vCenter you connected the VLAN to.
  5. Choose port group of the device to which the VLAN is attached and click on Add as shown in the following screenshot:
  6. Give the Network Pool a name and finish the wizard.
  7. You now have a Network Pool that is connected to the external VLAN.
  8. We now need either a new OvDC or we need to assign the Network Pool to an existing OvDC.
  9. Now we are ready to deploy a new vApp in the OvDC that we have assigned the Network Pool to.
  10. Use an Isolated vApp Network in this vApp.
  11. You need to choose the same IP range you placed the physical device in.
  12. You should now have access from the VM in the isolated vApp to the physical device.

How it works...

We are using the vSphere port group that is mapped to a VLAN inside the vApp, as shown in the following diagram:

The really huge drawback is that you have a 1:1:1 relationship between a VLAN, a Network Pool, and the OvDC. By choosing more than one port group for the Network Pool, you would not be able to define which port group is used for which vApp Network.

主站蜘蛛池模板: 乐都县| 闽侯县| 饶阳县| 宁夏| 嘉黎县| 凭祥市| 离岛区| 莒南县| 大新县| 嘉义市| 陕西省| 长宁县| 潜山县| 延津县| 侯马市| 永胜县| 沛县| 广宗县| 泾源县| 翁源县| 太仓市| 特克斯县| 疏附县| 鲁山县| 阿拉善右旗| 娄烦县| 祁东县| 钦州市| 历史| 荆州市| 辽阳市| 太康县| 岑巩县| 同仁县| 乡宁县| 宁波市| 贺州市| 工布江达县| 溧阳市| 漳州市| 连州市|