C:\Windows\System32\drivers\etc\hosts
在上面文件中加入ip地址与主机名
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.150.130 s1
192.168.150.129 c1
..........
C:\Windows\System32\drivers\etc\hosts
在上面文件中加入ip地址与主机名
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.150.130 s1
192.168.150.129 c1
..........