Windows Server 创建环回网卡

1、以管理员身份运行cmd后,在cmd命令窗口中执行:hdwwiz 启动硬件添加向导。

2、在添加硬件向导中选择手动安装或自动搜索都可以。然后选择网络适配器。

3、选择网络适配器:厂商选择Microsoft。网络适配器选择Microsoft Loopback Adapter。

(如果是Windows Server 2012或Windows 8 则右边选择Microsoft KM-TEST 环回适配器)

4、环回网卡配置:

4.1 设置环回网卡IP地址

> IP地址: 虚拟IP(如 192.168.1.10)

> 子网掩码: 255.255.255.255

其它不用设置了

4.2 修改客户端网卡接口、环回接口连接模式(至关重要)

> netsh interface ipv4 set interface "网卡名称" weakhostreceive=enabled 
> netsh interface ipv4 set interface "网卡名称" weakhostsend=enabled 
> netsh interface ipv4 set interface "环回网卡名称" weakhostreceive=enabled 
> netsh interface ipv4 set interface "环回网卡名称" weakhostsend=enabled

(网卡名称 如 “本地连接”)

原文地址:https://www.cnblogs.com/lyosaki88/p/4940531.html