Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
    7       ins-db3-te-0-7-0-0.desm.netins.net  (167.142.67.182)        7.845   ms
5.145 ms 5.131 ms
8 216.176.4.29 (216.176.4.29) 20.557 ms 20.981 ms 20.978 ms
9 216.176.4.58 (216.176.4.58) 20.124 ms 20.085 ms 20.103 ms
10 209.85.254.120 (209.85.254.120) 21.424 ms 22.390 ms 22.382 ms
11 209.85.240.150 (209.85.240.150) 23.318 ms 22.823 ms 22.821 ms
12 ord08s08-in-f3.1e100.net (74.125.225.99) 22.306 ms 23.269 ms
23.252 ms

The third tool, mtr, combines the functionality of ping and traceroute
and gives you a live display of the data as it runs, as shown in this example:


Click here to view code image
My traceroute [v0.80]
example.lan Sat Jul 14 14:07:50
2012


                                                                                                                                                            Packets                                                             Pings
Hostname %Loss Rcv Snt Last Best Avg
Worst

1.  example.lan                                                                                             0%          11          11                  1               1               1

2
2. ae-31-51.ebr1.Chicago1.Level3.n 19% 9 11 3 1 7
14
3. ae-1.ebr2.Chicago1.Level3.net 0% 11 11 7 1 7
14
4. ae-2.ebr2.Washington1.Level3.ne 19% 9 11 19 18 23
31
5. ae-1.ebr1.Washington1.Level3.ne 28% 8 11 22 18 24
30
6. ge-3-0-0-53.gar1.Washington1.Le 0% 11 11 18 18 20
36
7. 63.210.29.230 0% 10 10 19 19 19
19
8. t-3-1.bas1.re2.yahoo.com 0% 10 10 19 18 32
106
9. p25.www.re2.yahoo.com 0% 10 10 19 18 19
19


mtr is not useful for creating a text file for analysis, but like the live system
monitoring tool top (discussed in Chapter 16, “System-Monitoring Tools”),
it gives real-time data and is quite powerful. As with top, you press the Q
key to exit mtr.


Networking with TCP/IP


The basic building block for any network based on UNIX hosts is the
Transmission Control Protocol/Internet Protocol (TCP/IP) suite, which

Free download pdf