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

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.

主站蜘蛛池模板: 胶州市| 上虞市| 永福县| 孟连| 乌鲁木齐县| 乌拉特后旗| 邵武市| 满洲里市| 阿拉善左旗| 辽宁省| 昆明市| 德令哈市| 翁源县| 皮山县| 河池市| 光泽县| 巫溪县| 冷水江市| 龙江县| 大新县| 海安县| 平利县| 莱州市| 江安县| 延长县| 昌乐县| 随州市| 和硕县| 湛江市| 象州县| 隆子县| 兰坪| 杨浦区| 重庆市| 健康| 土默特右旗| 马尔康县| 磐石市| 奉贤区| 东辽县| 乐亭县|