09
2021
01
16:22:23

网卡支持VLAN TAG



推荐点击下面图片,通过本站淘宝优惠价购买:

image.png

目前测试支持的是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都是可网管的,如此一来就不必要求机器有机器双网口,就可以做防火墙或者一些软路由了。


本文链接:http://www.hqyman.cn/post/1596.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:





休息一下,本站随机推荐观看栏目:


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: