This is my topology in my network.
It's easy to know my server can communicate to
But when I
traceroute the path, I only get one hop to it.
My doubt is why it do not through 126.96.36.199?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
Based on your diagram, it looks like the "gateway switch" is one device (a router) with multiple IP addresses: 172.18.32.254 and 188.8.131.52.
Your server 184.108.40.206 originates the first traceroute packet with a TTL of 1. The packet arrives at the "gateway switch" on the 220.127.116.11/ibr.100 interface. The packet is accepted. The router notices that one of its own ip addresses (172.18.32.254) is the destination and delivers the traceroute packet to the upper-layer stack for processing. This results in a response from 172.18.32.254.
Going between 18.104.22.168 and 172.18.32.254 does not count as a "hop" because that is the same device.
The original traceroute packet never has its ttl decremented. Per When is an IPv4 TTL decremented and what is the drop condition? a router only decrements a ttl once it has decided to forward it.
More simply, your server IS ONE NETWORK HOP from 172.18.32.254. Multiple interfaces/ips on a router is not a hop.