windows 设置主机名和对应ip C:\WINDOWS\system32\drivers\etc\hosts127.0.0.1 localhost 192.168.1.100 domainname cmdping domainname192.168.1.100