网络IP绑定

来源:百度知道 编辑:UC知道 时间:2024/05/20 13:55:47
有两台电脑 如何网络IP绑定

cmd,在命令行下输入ipconfig /all 回应如下:
Physical Address. . . . . . . . . : 00-11-2F-3F-96-88 (根据自己的实际填写)

DHCP Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.1.11

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.1.1

DNS Servers . . . . . . . . . . . : 61.177.7.1

Primary WINS Server . . . . . . . : 192.168.1.254
这些信息就是你现在计算机的IP地址及MAC地址!
接着,在命令行下输入:arp -s 192.168.1.11 00-11-2F-3F-96-88回车。
就绑定了。
如果要查看是否绑定,可以用arp -a 192.168.1.11回车,会得到如下提示:

Internet Address Physical Address Type

192.168.1.30 00-11-2f-3f-96-88 static

运行cmd 在命令行中ipconfig /all 回车
在看到的信息中找到
Physical Address. . . . . . . . . :网卡地址
例如:
Physical Address. . . . . . . . . : 00-11-2F-3F-96-88
然后使用
arp -s IP地址 网卡地址
例如:
arp -s 192.168.1.11 00-11-2F-3F-96-88回车