ping局域网主机得到外网IP或另一网段IP
2013-08-18 02:40
232 查看
症状:;两个笔记本连接到同一个路由器上, 一个ip是 192.168.1.100,主机名是Lenovo-A, 另一个是192.168.1.109,主机名是Lenovo-B
在Lenovo-A 上ping Lenovo-B,得到结果
Ping request could not find host Lenovo-B. Please check the name and try again.
Pinging 192.168.1.109 with 32 bytes of data:
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.1.109:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms
同样在Lenovo-B 上ping Lenovo-A,得到结果
Pinging Lenovo-A.domain [69.125.124.21] with 32 bytes of data:
Reply from 69.125.124.21: bytes=32 time<64ms TTL=128
Reply from 69.125.124.21: bytes=32 time<64ms TTL=128
Reply from 69.125.124.21: bytes=32 time<63ms TTL=128
Reply from 69.125.124.21: bytes=32 time<68ms TTL=128
参照此贴:http://bbs.csdn.net/topics/300096424
解决方案: Choose Append parent suffixes of the primary DNS suffix from http://technet.microsoft.com/zh-cn/library/cc959339
因为安装了某些与公司网络环境相关的软件,所以启用了自动添加DNS后缀选项。选择上面的“Append parent suffixes of the primary DNS suffix”就好了。
在Lenovo-A 上ping Lenovo-B,得到结果
Ping request could not find host Lenovo-B. Please check the name and try again.
Pinging 192.168.1.109 with 32 bytes of data:
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Reply from 192.168.1.109: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.1.109:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms
同样在Lenovo-B 上ping Lenovo-A,得到结果
Pinging Lenovo-A.domain [69.125.124.21] with 32 bytes of data:
Reply from 69.125.124.21: bytes=32 time<64ms TTL=128
Reply from 69.125.124.21: bytes=32 time<64ms TTL=128
Reply from 69.125.124.21: bytes=32 time<63ms TTL=128
Reply from 69.125.124.21: bytes=32 time<68ms TTL=128
参照此贴:http://bbs.csdn.net/topics/300096424
解决方案: Choose Append parent suffixes of the primary DNS suffix from http://technet.microsoft.com/zh-cn/library/cc959339
因为安装了某些与公司网络环境相关的软件,所以启用了自动添加DNS后缀选项。选择上面的“Append parent suffixes of the primary DNS suffix”就好了。
相关文章推荐
- linux下c实现得到给定网段的所有IP
- Docker 如何分配宿主机网段 IP
- .NET下得到服务器主机名,IP和当前用户名
- C#怎么得到主机名,IP,MAC
- 如何将一个网络分为两个子网、如何通过已知IP和子网掩码计算其同一网段的主机IP
- 如何使主机和虚拟机IP处于同一网段(内网渗透专用)
- JAVA代码:得到指定主机的所有IP
- docker 指定IP地址、与主机同网段IP
- 5.如何使主机和虚拟机IP处于同一网段(内网渗透专用)
- pipework将docker容器ip设为宿主机网段
- 主机网卡IP与网关IP不在相同网段对外通讯测试
- [VB代码]通过hostname得到主机IP
- Ubuntu 使用NAT方式设置与主机不同IP网段的静态IP
- 根据IP得到主机名
- 设置vmware与主机IP同网段
- Fedora14 使用虚拟机桥接上网 静态配置固定IP 和宿主机IP在同一网段的方法 及 若干问题解决(NFS挂载第一步)
- Jbuilder5下调试得到主机ip的全过程
- 虚拟机ip和主机同一网段
- 得到主机mac ip
- Jbuilder5下调试得到主机ip的全过程