Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a bit confused about how many hops this shows ...
[root@host-2-129 ~]# traceroute -I 10.200.0.1
traceroute to 10.200.0.1 (10.200.0.1), 30 hops max, 60 byte packets
1 host-2-134.linuxzoo.net (10.0.2.134) 0.218 ms 0.195 ms 0.151 ms
2 hub1-gw.linuxzoo.net (10.200.0.1) 0.562 ms 0.418 ms 0.479 ms
[root@host-2-129 ~]#
I thought it was 2?
I am doing a tutorial on Linuxzoo, asking how many hops does it take to get to the last network node which is 10.200.0.1.
Looks like two for that particular path. host-2-134 is connected to both systems (host-2-129, and hub1-gw).
It depends on your network - your network mask is not the default for the 10. net (which would be 255.0.0.0), which would eliminate the hop. But that depends on your networks physical topology. Physical (or logical) partitioning of the net would add hops.
The msg '30 hops max' means it will only send up to 30 hops away ie any system further away will be deemed 'unreachable'.
This num is configurable - see the man page and https://en.wikipedia.org/wiki/Traceroute
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.