TRACEROUTE(1) User Commands TRACEROUTE(1)NAME
traceroute - Trace the route to a host
SYNOPSIS
traceroute [OPTION...] HOST
DESCRIPTION
Print the route packets trace to network host.
-f, --first-hop=NUM
Set initial hop distance, that is the time-to-live.
-g, --gateways=GATES
List of gateways for loose source routing.
-I, --icmp
Use ICMP ECHO as probe.
-m, --max-hop=NUM
Set maximal hop count (default is 64).
-M, --type=METHOD
Use METHOD (icmp or udp) for traceroute operations, defaulting to udp.
-p, --port=PORT
Use destination PORT port (default is 33434).
-q, --tries=NUM
Send NUM probe packets per hop (default is 3).
--resolve-hostnames
Resolve hostnames.
-t, --tos=NUM
Set type of service (TOS) to NUM.
-w, --wait=NUM
Wait NUM seconds for response (default is 3).
-?, --help
Give this help list.
--usage
Give a short usage message.
-V, --version
Print program version.
GNU inetutils 2015-05-15 TRACEROUTE(1)
Check Out this Related Man Page
TRACEROUTE(1) User Commands TRACEROUTE(1)NAME
traceroute - Trace the route to a host
SYNOPSIS
traceroute [OPTION...] HOST
DESCRIPTION
Print the route packets trace to network host.
-M, --type=METHOD
use METHOD (`icmp' or `udp') for traceroute operations
-p, --port=PORT
use destination PORT port (default: 33434)
-q, --tries=NUM
send NUM probe packets per hop (default: 3)
--resolve-hostnames
resolve hostnames
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
AUTHOR
Written by Elian Gidoni.
REPORTING BUGS
Report bugs to <bug-inetutils@gnu.org>.
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for traceroute is maintained as a Texinfo manual. If the info and traceroute programs are properly installed at
your site, the command
info traceroute
should give you access to the complete manual.
GNU inetutils 1.9 December 2011 TRACEROUTE(1)
Hi all,
I wonder, how I can change Time To Live field for icmp packet in Redhat 7.1, kernel 2.4.2-2? I looked up in /proc/sys/net/ipv4 and did find this field in there.
There should be a way to change TTL. If it's in header file, in which one?
Thank you all :p (11 Replies)
I understand the concept of traceroute - can anyone explain the output to me e.g. 39ms 39ms 39ms are these the times for each trip it takes? Assuming each machine is pinged 3 times.
and how does the RTT work? Is this the time it takes from one machine to another because it doesn't look like... (6 Replies)
i know this is used in tracking down network problems. the problem is how is it helpful?? what should I look for when using traceroute?? i have looked on the internet but the information given isn't quite helpful as it as the same as the one in the man page.
the question here is, i have a... (6 Replies)
following is the output from traceroute
traceroute 10.1.11.6
traceroute to 10.1.11.6 (10.1.11.6), 30 hops max, 38 byte packets
1 10.129.1.250 (10.129.1.250) 20.618 ms 0.335 ms 0.271 ms
2 192.0.20.1 (192.0.20.1) 0.694 ms 4.660 ms 0.422 ms
3 192.0.40.1 (192.0.40.1) 0.972 ms 1.917 ms 0.873 ms... (4 Replies)
Hi guys,
I need a way to capture the host on the next-to-last hop in a traceroute output.
The last output is the destination but I need to capture the router just before the last hop.
I can do this in perl but I'm not so sure about Shell...
I'm on AIX 5.3 using ksh
any ideas?
... (3 Replies)
Hi All,
I have the below file:
sample.cfg
----------
SYS_TEST TEST1 TEST2
and I have set the blow:
NUM=1
I am running the command:
awk -v numb=`expr $NUM + 1` '/SYS_TEST/ {print \$numb}' sample.cfg
The output is TEST2 as expected. BUt I am unable to assign this output to a... (4 Replies)
Hi,
echo $i
until ||
do
read NUM
if && ; then
printf "$FBOLD\nInvalid number, please enter valid backup number: $FREG"
fi
done
Getting below error :
./import_location.sh: line 234: [: : integer expression expected
./import_location.sh: line 234: [: :... (5 Replies)
If i have a macro called NUM which is "8" (string) for example
How do I make it into say "7", well i just want to lower it by one, also there will never be the case where its "0" and i have to decrease it.
there is no guarantee how many digits NUM could have, but will always be an integer.
How... (6 Replies)
Please help me.
1)I have a file "test.txt" with below content
1546
2346
8765
2380
2)I have a variable called "NUM".
number variable is assigned with 5674
NUM=5674
3) How to subtract the first record with NUM variable?
I tried below but its below awk command but its showing 0 as... (3 Replies)
Hi,
I am having some performance issues with my JBOSS application server and have noticed something strange in my traceroute.
Can anyone explain the following output please?
# traceroute 196.10.101.51 8080
traceroute to 196.10.101.51 (196.10.101.51), 30 hops max, 8080 byte packets
... (5 Replies)
Hi all,
I'm having some trouble identifying what route is being used to talk to a target host. I can figure it out by looking at the routing tables but I want to automate this and don't much feel like scripting the network mask logic when I'd think there'd be a way to have the OS do it for me.... (5 Replies)
I am writing a perl code(windows) to traceroute IP address and to print the output.
I had executed the below code which was taken from cpan modules
#!C:/perl/bin/perl.exe
use Net::Traceroute;
$tr = Net::Traceroute->new(host=> "google.com");
if($tr->found) {
my $hops = $tr->hops;
if($hops... (4 Replies)
Hi,
I have a variable say NUM="9.126.145.110"
I need to get the output as 9,126,145,110
I tried with sed command as sed s/\./,/ $NUM
But it didnt work
Please help..:confused: (6 Replies)