New Perspectives On Web Design

(C. Jardin) #1

CHAPTER 8 How to Fix The Web: Obscure Back-End Techniques and Terminal Secrets


You can use the ping command to see if it is up and available. Type
ping 192.168.0.1.

$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=1.31 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.561 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=12.6 ms

The “64 bytes from 192.168.0.1” represents a successful reply. If you get
a reply, then your broadband router is reachable. If not, then check it again.
On Mac and Linux the replies will go on forever until you press Control + C.
On Windows, it will quit after the fourth ping.

beYonD The RouTeR
To go beyond your router, you will need the traceroute command on
Mac and Linux, and tracert on Windows. This command traces a route
through the Internet, reporting each networking device (router) it comes
across. IP addresses are formed of four numbers from 0 to 255^10. Pick an IP
address out of a hat and try it:

$ traceroute -q 1 -n 1.2.3.4
traceroute to 1.2.3.4 (1.2.3.4), 30 hops max, 60 byte packets
1 *
2 80.3.65.217 9.163 ms
3 213.105.159.157 11.158 ms
4 213.105.159.190 11.215 ms
...
13 72.14.236.149 98.484 ms
14 209.85.252.47 104.071 ms
15 *
16 *...

10 There are newer long IPv6 (version 6) addresses which have 8 blocks of 4 hexidemcial digits separa-
ted by colons, but you are unlikely to come across these in 2013.
Free download pdf