配置 eNSP 連接VMware虛擬機網絡
選擇"其他設備"並添加"Cloud"到eNSP視圖, 右擊"Cloud"設備在彈出菜單中選擇"設置"
增加一個端口: 端口類型爲"GE", 綁定信息爲 “UDP”:
增加一個端口: 端口類型爲"GE", 綁定信息爲 “VMware VMnet1”;
可根據需要選擇不同的虛擬網絡
增加端口映射: 端口類型爲"GE", 入端口&出端口編號分別選擇以上增加的端口編號"1" & “2”; 勾選"雙向通道"複選框啓用雙向數據轉發;
至此已完成eNSP連接虛擬網絡配置, 添加網絡設備與虛擬機之間通信!
<Huawei>sys
[Huawei]vlan 100
[Huawei-vlan100]quit
[Huawei]int Vlanif 100
[Huawei-Vlanif100]ip address 192.168.173.9 24
[Huawei-Vlanif100]quit
[Huawei]int GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1] port link-type trunk
[Huawei-GigabitEthernet0/0/1] port trunk pvid vlan 100
[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan 100
[Huawei-GigabitEthernet0/0/1] quit
[Huawei]dis ip int bri
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
MEth0/0/1 unassigned down down
NULL0 unassigned up up(s)
Vlanif1 unassigned up down
Vlanif100 192.168.173.9/24 up up
[Huawei]
注意:
1> eNSP 依賴 WinPCAP 4.1.3; 新版 Wireshark 默認安裝 npcap 作爲 PCAP 驅動, 必須手動卸載 npcap 後自行安裝 WinPCAP 4.1.3 纔可以識別主機物理&虛擬網卡;
2> VMware 在更新重新安裝後 Wireshark & WinPCAP 無法識別新虛擬網卡, 必須重新卸載 & 安裝 WinPCAP 纔可以識別虛擬網卡;