[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:31:56:03:3D
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:31ff:fe56:33d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15688 errors:0 dropped:0 overruns:0 frame:0
TX packets:16422 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:9929081 (9.4 MiB) TX bytes:4094467 (3.9 MiB)
Memory:cffe0000-d0000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2240 (2.1 KiB) TX bytes:2240 (2.1 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:117.194.234.170 P-t-P:117.194.224.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:15423 errors:0 dropped:0 overruns:0 frame:0
TX packets:16110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:9573183 (9.1 MiB) TX bytes:3724836 (3.5 MiB)
[root@localhost ~]# cat /etc/resolv.conf
# Generated by NetworkManager
domain local.lan
search local.lan
nameserver 218.248.255.162
nameserver 218.248.255.194
[root@localhost ~]# ping 212.100.160.51
PING 212.100.160.51 (212.100.160.51) 56(84) bytes of data.
64 bytes from 212.100.160.51: icmp_seq=1 ttl=50 time=252 ms
64 bytes from 212.100.160.51: icmp_seq=2 ttl=50 time=251 ms
64 bytes from 212.100.160.51: icmp_seq=3 ttl=50 time=254 ms
64 bytes from 212.100.160.51: icmp_seq=4 ttl=50 time=252 ms
64 bytes from 212.100.160.51: icmp_seq=5 ttl=50 time=251 ms
64 bytes from 212.100.160.51: icmp_seq=6 ttl=50 time=253 ms
^C
--- 212.100.160.51 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5365ms
rtt min/avg/max/mdev = 251.492/252.750/254.581/1.186 ms
[root@localhost ~]# ping
www.google.com
PING
www.l.google.com (74.125.159.104) 56(84) bytes of data.
64 bytes from yi-in-f104.google.com (74.125.159.104): icmp_seq=1 ttl=52 time=315 ms
64 bytes from yi-in-f104.google.com (74.125.159.104): icmp_seq=2 ttl=52 time=315 ms
64 bytes from yi-in-f104.google.com (74.125.159.104): icmp_seq=3 ttl=52 time=318 ms
^C
---
www.l.google.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3227ms
rtt min/avg/max/mdev = 315.492/316.594/318.660/1.532 ms