hostname  

# vi /etc/sysconfig/network

/etc/hosts

静止ping    vi /etc/sysctl.conf

net.ipv4.icmp_echo_ignore_all = 0

# cat /etc/resolv.conf

# route -n

route add defult  gw     网关

# dig  www.baidu.com

# nslookup

# traceroute www.baidu.com

telnet   --------   80

nmp

tcpdump

# tcpdump  -n icmp  -i eth0

19:13:33.470103 IP 192.168.10.5 > 192.168.10.10: ICMP echo request, id 1, seq 1, length 40

19:13:33.470258 IP 192.168.10.10 > 192.168.10.5: ICMP echo reply, id 1, seq 1, length 40