×

网卡支持VLAN TAG

hqy hqy 发表于2021-01-09 16:22:23 浏览2161 评论0

抢沙发发表评论

目前测试支持的是Intel网卡


微软PROSet驱动安装:

下载地址:

https://www.intel.cn/content/www/cn/zh/support/articles/000005634/network-and-i-o/wireless-networking.html

根据电脑操作系统选择适合的版本进行安装,网卡属性里有红框项表示安装成功


增加vlan。在真实物理网卡上只会看到Marvell VLAN Protocol协议,就是通过该协议实现了VLAN。

然后在每张VLAN出来的虚网卡属性里配置“VLAN ID”,然后就能为每张虚VLAN网卡配置IP或者DHCP client了。



C:\>ipconfig /allWindows IP ConfigurationHost Name . . . . . . . . . . . . : FOXPrimary Dns Suffix . . . . . . . :Node Type . . . . . . . . . . . . : UnknownIP Routing Enabled. . . . . . . . : YesWINS Proxy Enabled. . . . . . . . : NoEthernet adapter Local:Connection-specific DNS Suffix . :Description . . . . . . . . . . . : VLAN 3: Marvell Yukon 88E8001/8003/8010 PCI Gigabit Ethernet ControllerPhysical Address. . . . . . . . . : 00-1B-FC-E1-E2-FFDHCP Enabled. . . . . . . . . . . : NoIP Address. . . . . . . . . . . . : 192.168.0.1Subnet Mask . . . . . . . . . . . : 255.255.255.0Default Gateway . . . . . . . . . :Ethernet adapter Inet:Connection-specific DNS Suffix . :Description . . . . . . . . . . . : VLAN 2: Marvell Yukon 88E8001/8003/8010 PCI Gigabit Ethernet ControllerPhysical Address. . . . . . . . . : 00-1B-FC-E1-E2-FFDHCP Enabled. . . . . . . . . . . : NoIP Address. . . . . . . . . . . . : 192.168.1.2Subnet Mask . . . . . . . . . . . : 255.255.255.0Default Gateway . . . . . . . . . : 192.168.1.1DNS Servers . . . . . . . . . . . : 192.168.1.1



下面是一个简单的实验,服务器用单网卡实现VLAN,连个VLAN实现转发,Switch配置的VLAN ID要和Marvell卡配的相同才能联通。

这样就用1张网卡+1台VLAN Switch实现了双网卡的功能。实际中,大多Switch都是可网管的,如此一来就不必要求机器有机器双网口,就可以做防火墙或者一些软路由了。


 您阅读本篇文章共花了: 

打赏

本文链接:https://kinber.cn/post/1596.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

群贤毕至

访客