vmware workstation不支持配置虚拟机的vlan,可以间接的通过虚拟机的网卡设置vlan
修改网卡类型,vmx配置文件添加:
ethernet0.virtualDev = "vmxnet3"
支持vlan的网卡类型:
1.e1000
windows7不支持,xp安装驱动https://downloadcenter.intel.com/product/50485/Intel-PRO-1000-MT-Desktop-Adapter
2.e1000e
windows7安装驱动https://downloadcenter.intel.com/download/18713
3.vmxnet3
xp和windows7都支持,需安装vmware tool驱动。
参考:
https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2093486
http://blog.csdn.net/pkgfs/article/details/8298781
标签:none
学习了,感谢博主分享