Advertisement
Guest User

Untitled

a guest
Dec 28th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. # ping 8.8.8.8
  2. PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
  3. ^C
  4. --- 8.8.8.8 ping statistics ---
  5. 3 packets transmitted, 0 received, 100% packet loss, time 2015ms
  6.  
  7.  
  8. # ping -c4 172.16.1.9
  9. PING 172.16.1.9 (172.16.1.9) 56(84) bytes of data.
  10. 64 bytes from 172.16.1.9: icmp_seq=1 ttl=128 time=1.63 ms
  11. 64 bytes from 172.16.1.9: icmp_seq=2 ttl=128 time=63.7 ms
  12. 64 bytes from 172.16.1.9: icmp_seq=3 ttl=128 time=85.4 ms
  13. 64 bytes from 172.16.1.9: icmp_seq=4 ttl=128 time=5.52 ms
  14.  
  15. --- 172.16.1.9 ping statistics ---
  16. 4 packets transmitted, 4 received, 0% packet loss, time 3005ms
  17. rtt min/avg/max/mdev = 1.638/39.072/85.411/36.339 ms
  18.  
  19.  
  20.  
  21. # ifconfig eth0
  22. eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
  23. inet addr:172.16.5.10 Bcast:172.16.255.255 Mask:255.255.0.0
  24. inet6 addr: fe80::baac:6fff:fe85:b5fd/64 Scope:Link
  25. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  26. RX packets:372 errors:0 dropped:0 overruns:0 frame:0
  27. TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
  28. collisions:0 txqueuelen:1000
  29. RX bytes:38707 (38.7 KB) TX bytes:42445 (42.4 KB)
  30. Interrupt:17
  31.  
  32.  
  33.  
  34. # cat /etc/network/interfaces
  35. # This file describes the network interfaces available on your system
  36. # and how to activate them. For more information, see interfaces(5).
  37.  
  38. # The loopback network interface
  39. auto lo
  40. iface lo inet loopback
  41.  
  42. # The primary network interface
  43. auto eth0
  44. iface eth0 inet static
  45. address 172.16.5.10
  46. netmask 255.255.0.0
  47. gateway 172.16.1.1
  48. dns-nameservers 172.16.0.2
  49. dns-search valid.search.host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement