리눅스에서 traceroute 설치와 -n 옵션 사용

  • c4016675
    (냉장고를사다줘)
  • c4016675's Avatar 이 글의 작성자
  • Offline
  • Junior
  • Junior
더보기
24 Nov 2016 00:45 - 24 Nov 2016 22:58 #1439 작성자: c4016675
c4016675 님의 글: 리눅스에서 traceroute 설치와 -n 옵션 사용
1. yum 설치

# yum install traceroute
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.oasis.onnetcorp.com
 * extras: mirror.oasis.onnetcorp.com
 * updates: mirror.oasis.onnetcorp.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package traceroute.x86_64 3:2.0.14-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                 Arch                Version                     Repository         Size
=================================================================================================
Installing:
 traceroute              x86_64              3:2.0.14-2.el6              base               51 k

Transaction Summary
=================================================================================================
Install       1 Package(s)

Total download size: 51 k
Installed size: 80 k
Is this ok [y/N]: y
Downloading Packages:
traceroute-2.0.14-2.el6.x86_64.rpm                                        |  51 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 3:traceroute-2.0.14-2.el6.x86_64                                              1/1
  Verifying  : 3:traceroute-2.0.14-2.el6.x86_64                                              1/1

Installed:
  traceroute.x86_64 3:2.0.14-2.el6

Complete!

2. -ㅜn 옵션을 사용하지 않을 때

$ traceroute www.google.co.kr
traceroute to www.google.co.kr (216.58.197.99), 30 hops max, 60 byte packets
 1  10.0.1.181 (10.0.1.181)  0.204 ms  0.150 ms  0.150 ms
 2  54.122.248.2 (54.122.248.2)  0.554 ms  0.462 ms  0.545 ms
 3  54.122.240.49 (54.122.240.49)  1.102 ms  1.243 ms  1.061 ms
 4  54.122.240.25 (54.122.240.25)  0.424 ms  0.333 ms  0.415 ms
 5  212.50.3.173 (212.50.3.173)  0.900 ms  0.890 ms  0.714 ms
 6  212.63.35.77 (212.63.35.77)  0.751 ms  0.818 ms  0.741 ms
 7  1.209.151.29 (1.209.151.29)  6.576 ms  6.511 ms 1.213.149.181 (1.213.149.181)  6.964 ms
 8  212.53.88.141 (212.53.88.141)  6.735 ms 212.40.6.133 (212.40.6.133)  6.671 ms 1.213.104.86 (1.213.104.86)  6.456 ms
 9  1.209.105.253 (1.209.105.253)  6.970 ms 1.213.106.61 (1.213.106.61)  6.518 ms 1.213.106.73 (1.213.106.73)  6.637 ms
10  1.213.147.54 (1.213.147.54)  44.045 ms 1.213.106.94 (1.213.106.94)  43.292 ms 1.209.107.78 (1.209.107.78)  42.777 ms
11  1.209.106.106 (1.209.106.106)  43.786 ms  46.765 ms  46.728 ms
12  72.14.215.29 (72.14.215.29)  58.299 ms  58.150 ms  49.718 ms
13  108.170.241.97 (108.170.241.97)  58.571 ms 108.170.241.65 (108.170.241.65)  42.589 ms  50.283 ms
14  216.239.62.59 (216.239.62.59)  42.919 ms 216.239.62.57 (216.239.62.57)  50.388 ms 216.239.62.59 (216.239.62.59)  45.236 ms
15  hkg12s01-in-f99.1e100.net (216.58.197.99)  42.235 ms  53.403 ms  53.086 ms

3. -n 옵션 사용 시

$ traceroute -n www.google.co.kr
traceroute to www.google.co.kr (216.58.197.99), 30 hops max, 60 byte packets
 1  10.0.1.181  0.163 ms  0.138 ms  0.120 ms
 2  54.122.248.2  0.479 ms  0.496 ms  0.585 ms
 3  54.122.240.49  2.595 ms  2.643 ms  2.704 ms
 4  54.122.240.25  0.347 ms  0.337 ms  0.289 ms
 5  212.50.3.173  0.863 ms  0.828 ms  0.926 ms
 6  212.63.35.77  0.686 ms  0.707 ms  0.662 ms
 7  1.209.151.29  6.688 ms 1.213.149.181  6.934 ms 1.209.151.29  6.432 ms
 8  1.209.145.134  6.500 ms 1.209.147.10  6.478 ms 1.213.146.21  6.685 ms
 9  204.233.53.165  6.595 ms 212.53.88.189  6.818 ms 1.213.106.121  6.723 ms
10  1.209.145.46  49.342 ms 1.209.145.42  49.505 ms 1.213.149.34  50.337 ms
11  1.209.106.210  41.713 ms 1.209.106.106  46.796 ms 1.209.150.182  40.800 ms
12  72.14.215.29  58.136 ms  50.489 ms  58.189 ms
13  108.170.241.65  42.157 ms  50.320 ms  42.781 ms
14  216.239.62.59  43.141 ms  43.104 ms  50.660 ms
15  216.58.197.99  44.455 ms  41.374 ms  47.678 ms
Time to create page: 0.050 seconds
Powered by Kunena Forum