Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Trunk function of Virtual switch realized by single Network Card

Shulou Source: shulou.com Published: 2022-06-01 07:39:04 10月03日 Update

Hardware: NAV10-WF(full gigabit port, with vlan function), HP 8740W (i7 quad-core/240G SSD/32G), HP Gen8(Black Sunlight NAS) Build vmware Horizon View and vCloud, the topology diagram is as follows:

Because notebook single network card needs to connect 172.16.20.60 (vlan20) external shared storage, but also to connect 192.168.10.0(vlan0, without vlan tag) and network card usually can only receive and send frames without vlan tag, can not meet the above requirements at the same time. Solution: 1. Add USB Gigabit NIC for connecting external storage 2. Open the trunk function of NIC (intel 82577). Considering nav10 supports vlan functionality, try the second method. For Intel82577 need to install Intel dedicated network card management software.

http://drivers.mydrivers.com/drivers/491_196475.htm

After installation, click on the network card--Properties--Configuration, and there will be several more items, one of which is vlan. Select New and enter the ID of the vlan to be created.

(Note: Unlabeled vlan must be retained, otherwise the notebook cannot communicate with the router and NAS management port) To create more vlan, repeat

The above operation can be. When finished, you will see multiple virtual network cards

Then bind different vlans to matching virtual network cards in vmware workstation. (For Esxi host network cards managed by vcenter, you don't need to label vlan anymore, and the corresponding ports on Nav10-WF should be set to trunk ports.) If NAS storage port is not marked with vlan20, the corresponding switch port should be access, pvid=20; if NAS storage port is marked with vlan, the connected switch port is set to trunk port, and pvid=1)

Tags: Network cards ports tags storage functions management switches notes notebooks different lieutenant generals hosts prefaces methods simultaneously multiple attributes methods more tags Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Xiaomi Huawei Docker OPPO Reno