标签:
1.查询ip地址 ifconfig
2.查找服务器上应用程序的端口分配
grep telnet /etc/services (telnet)
telnet使用TCP/UDP端口号23
grep domain /etc/services (domain) ,
telnet | ftp | tftp | http | https | snmp | domain | echo | discard | daytime | chargen | time |
23 | 20 | 69 | 80 | 443 | 161 | 53 | 7 | 9 | 13 | 19 | 37 |
3.ping [ip address] , 测试网络是否连通, 回声请求消息给目的地并报告是否收到所希望的ICMP echo (ICMP回声应答)
ping 163.com
4.tracert [ip address], Tracert(跟踪路由)是路由跟踪实用程序,用于确定 IP数据报访问目标所采取的路径
tracert sina.com
标签:
原文地址:http://www.cnblogs.com/fortunely/p/4695332.html