不是政务云哦,就是普通内网。执行的结果如下:
- [root@localhost ~]# ping -w 5 www.bt.cn
- PING www.bt.cn (42.157.129.124) 56(84) bytes of data.
- 64 bytes from 42.157.129.124: icmp_seq=1 ttl=36 time=86.5 ms
- --- www.bt.cn ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 86.523/86.523/86.523/0.000 ms
- [root@localhost ~]# ping -w 5 api.bt.cn
- PING api.bt.cn (42.157.129.47) 56(84) bytes of data.
- --- api.bt.cn ping statistics ---
- 5 packets transmitted, 0 received, 100% packet loss, time 4137ms
- [root@localhost ~]#
- [root@localhost ~]# curl https://www.bt.cn
- <html>
- <head><title>302 Found</title></head>
- <body>
- <center><h1>302 Found</h1></center>
- <hr><center>nginx</center>
- </body>
- </html>
- [root@localhost ~]# curl https://api.bt.cn
- <html>
- <head><title>404 Not Found</title></head>
- <body>
- <center><h1>404 Not Found</h1></center>
- <hr><center>nginx</center>
- </body>
- </html>
- [root@localhost ~]#
复制代码
curl https://www.bt.cn
curl https://api.bt.cn
这两个9号执行都是可以的返回的IP是一样的
|