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

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.

主站蜘蛛池模板: 左贡县| 应用必备| 沁源县| 巴南区| 咸丰县| 新昌县| 宁武县| 岚皋县| 信阳市| 垣曲县| 延安市| 全州县| 大丰市| 乌鲁木齐县| 高唐县| 黄大仙区| 嫩江县| 永平县| 庄河市| 昌邑市| 靖西县| 股票| 宁海县| 屏东市| 大连市| 方正县| 孟津县| 深圳市| 资源县| 萝北县| 乌兰浩特市| 桃源县| 浦县| 海丰县| 安平县| 肇源县| 西宁市| 辽阳县| 体育| 会宁县| 科技|