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

被折叠的 条评论
为什么被折叠?



