- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to count hops?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 05:23 AM
тАО07-17-2001 05:23 AM
How to count hops?
Sorry for this stupid question. BUT i'm confused...
A. How do i count the no. of hops from one device to another?
From my main switch -> to my Server
Switch port->twisted pair cable(RJ45)->media converter->fibre cable->media converter->twisted pair cable(RJ45)->Server NIC
How many hops does it make?
B. Is there a limit to the number of hops that i can have in a switched network segment?
Thanks for a reply
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 05:54 AM
тАО07-17-2001 05:54 AM
Re: How to count hops?
From your main switch to server nic it makes only one hop if you are in the same network(subnet). it doesn't consider switch port, cable and all. if you are in different network connected thru router then it makes hops to reach the defined target(max 30 hops).
you can test this using "traceroute" command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 06:39 AM
тАО07-17-2001 06:39 AM
Re: How to count hops?
/usr/contrib/bin/traceroute
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2001 10:38 AM
тАО07-17-2001 10:38 AM
Re: How to count hops?
the IP hop count/ttl is decremented each time an IP datagram passes through a router. as someone else points-out, you can see how many IP hops sit between two systems at a given point in time with the traceroute command. note the use of the term router here, not switch. basically, whenever the datagram is forwarded at layer three in the ISO model, not layer two
if you are talking "hops" in a more ethernet fashion, then you would count links between switches. for switched (versus hubbed) ethernet, I do not think there is a fixed limit to the number of hops one can have. a switch separates rather than propagates collision domains, and for classic (CSMA/CD) Ethernet, what limits the network diameter (iirc) is the required timing for collision detection.
further, many times, switches imply the use of full-duplex, which does not use CSMA/CD at all and so has no "collision domain" - and if one is going to be a strict interpreter of what is an is not "Ethernet" you would have to say that since full-duplex does not use CSMA/CD, it isn't really "Ethernet" :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2001 02:48 AM
тАО07-18-2001 02:48 AM
Re: How to count hops?
Hi
Use this command
#traceroute AA.AA.AA.AA "packet size"
Where AA.AA.AA.AA is the IP address of the remote device.
This command will give U a the Number of hops used.
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2001 03:27 AM
тАО07-18-2001 03:27 AM
Re: How to count hops?
the hop-count from the route-command does not really have to do with how many HOPs you have between two targets. This terminus is always used in this context, when you debug something with ip and routing.
Intentionally it means the COST of the ip route. I.E. you have a network, where two sites are connected through a leased line, with a backup-connection using dial-on-demand.
Assuming both connections are build with two routers, you would have an equal HOP-count (2).
Since usally you pay a fixed amount of money for a leased-line, in terms of COST, you would favor the leased line, because the dial-on-demand costs extra. So if you need to setup some routing tables, you would increase then hop/cost for the dial-on-demand line, although it actually has the same number of hops.
Just for counting the nodes which do route between diffrent IP-networks, as said already, traceroute gives a good shot.
I think there is no IP-Tool, to measure, how many active and inactive network-componets are inbetween. I found myself confused one time, when I had a connection between two machines within the same IP-network, but one card was a tokenring and the other one was fast ethernet. There was a transparent bridge between both !
Do not know if this helps.
Volker