Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

Networking, traceroute on linux

I get the following:

-bash-3.2# ping 10.14.10.10
PING 10.14.10.10 (10.14.10.10) 56(84) bytes of data.
64 bytes from 10.14.10.10: icmp_seq=1 ttl=64 time=0.209 ms
64 bytes from 10.14.10.10: icmp_seq=2 ttl=64 time=0.247 ms

--- 10.14.10.10 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.209/0.228/0.247/0.019 ms
-bash-3.2#
-bash-3.2#
-bash-3.2# traceroute 10.14.10.10
traceroute to 10.14.10.10 (10.14.10.10), 30 hops max, 40 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
-bash-3.2#

Open in new window


Is this telling me I can ping 10.14.10.10, but its actually more than 30 hops from me ???

Can be so, its my gateway.  Am I misunderstanding something ?
Avatar of Los Angeles1
Los Angeles1

ASKER

Just realized this came from a VM, probably confused matters
SOLUTION
Avatar of southpau1
southpau1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Seaton007
Seaton007
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
could someone please post an example of the traceroute -l or traceroute -I
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I fully agree with the first part,

but for the second part : how do you explain the ttl of 64 ?
64 bytes from 10.14.10.10: icmp_seq=1 ttl=64 time=0.209 ms

Open in new window

That is the OS default for all TCP traffic....

But for traceroute it is altered to equal 0 in the first iteration, then 1, then 2...so on and so forth...
yes I know  , so suppose the target machine is linux.( which has default TTL 64) , and the ping reply has TTL=64 , then the target machine is only one hop away. no ?
No it is zero hops away, meaning it doesnt pass throughn a router, only switches. He is pinging a machine within his home network