When I do a traceroute to one of my machines behind the 1-1 NAT the last two hops are identical so it seems like this:
Hop 1
Hop 2
Hop 3
…
X.Y.Z.13
X.Y.Z.13
Is this a configuration issue or intended behaviour? It’d look nicer if the second-to-last hop was either the gw ip or didn’t show at all. At the moment the vyos (gw) does not have any ip assigned itself it only forwards ip’s using 1-1 NAT. I understand that I probably need to assign it its own ip if I want the hop to show but right now I’m just curious wether its possible or not before I do so.
Yeah ok, so what you’re saying is that it is expected and the way it should work? If I wanted to put the router as a hop with its own ip or remove the router hop entirely (or client if thats easier), how would I go about doing that? I probably won’t do it but I’m asking in principle to try and understand the theory. Thanks!
Right, I understand that. I won’t try and hide any hops. Thanks!
Would it be possible so instead of having two identical ips at the end of the traceroute have the gateway another ip assigned to it so instead of showing .13 and then .13 again it shows .10 followed by .13 (.10 being the ip of the gateway)?