Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ping 8.8.8.8
- PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
- ^C
- --- 8.8.8.8 ping statistics ---
- 3 packets transmitted, 0 received, 100% packet loss, time 2015ms
- # ping -c4 172.16.1.9
- PING 172.16.1.9 (172.16.1.9) 56(84) bytes of data.
- 64 bytes from 172.16.1.9: icmp_seq=1 ttl=128 time=1.63 ms
- 64 bytes from 172.16.1.9: icmp_seq=2 ttl=128 time=63.7 ms
- 64 bytes from 172.16.1.9: icmp_seq=3 ttl=128 time=85.4 ms
- 64 bytes from 172.16.1.9: icmp_seq=4 ttl=128 time=5.52 ms
- --- 172.16.1.9 ping statistics ---
- 4 packets transmitted, 4 received, 0% packet loss, time 3005ms
- rtt min/avg/max/mdev = 1.638/39.072/85.411/36.339 ms
- # ifconfig eth0
- eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
- inet addr:172.16.5.10 Bcast:172.16.255.255 Mask:255.255.0.0
- inet6 addr: fe80::baac:6fff:fe85:b5fd/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:372 errors:0 dropped:0 overruns:0 frame:0
- TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:38707 (38.7 KB) TX bytes:42445 (42.4 KB)
- Interrupt:17
- # cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- auto eth0
- iface eth0 inet static
- address 172.16.5.10
- netmask 255.255.0.0
- gateway 172.16.1.1
- dns-nameservers 172.16.0.2
- dns-search valid.search.host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement