win7下,多个网卡,连接不稳定Strong Host Model

本文介绍了IPv4及IPv6环境下弱主机模型与强主机模型的区别。弱主机模型接受所有本地目的地的数据包,而强主机模型仅接收匹配接收接口地址的数据包。文章详细解释了Windows XP、Windows Server 2003、Windows Vista和Windows 7等系统中这两种模型的应用,并提供了使用Netsh命令来切换模型的具体方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

When a unicast packet arrives at a host, IP must determine whether the packet is locally destined (its destination matches an address that is assigned to an interface of the host). IP implementations that follow a weak host model accept any locally destined packet, regardless of the interface on which the packet was received. IP implementations that follow the strong host model accept locally destined packets only if the destination address in the packet matches an address assigned to the interface on which the packet was received.

The current IPv4 implementation in Windows XP and Windows Server 2003 uses the weak host model. Windows Vista and Windows 7 support the strong host model for both IPv4 and IPv6 and are configured to use it by default. However, you can revert to the weak host model using Netsh. The weak host model provides better network connectivity, but it also makes hosts susceptible to multihome-based network attacks.

To change the host model being used, use the following Netsh commands (and specify the name of the network adapter).

Netsh interface IPv4 set interface "Local Area Connection" WeakHostSend=enabled
Ok.
Netsh interface IPv4 set interface "Local Area Connection" WeakHostReceive=enabled
Ok.

To return to the default settings, use the same command format but disable the WeakHostSend and WeakHostReceive parameters.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值