in reply to Re: How to identify router IP address
in thread How to identify router IP address

I don't believe that's the case. I don't see my actual ip when I tracert perlmonks from a command prompt. it shows the local address of my router.. then the next hop is another box out side our network.

Grygonos
  • Comment on Re^2: How to identify router IP address

Replies are listed 'Best First'.
Re^3: How to identify router IP address
by neniro (Priest) on Jun 22, 2004 at 14:31 UTC
    Yeah, thats true. Seems that this doesn't count as a hop. Odd behavior in my opinion.

    Update:NAT'ing isn't routing - so it can't be a hop. Or am I wrong?

      I think your concept of a hop is a bit off. Each hop represents a stop at a computer, not and interface. So the first hop is his router, when it generates the ICMP reply it should send it out on the interface closes the computer it's sending it to. Therefore the address on the packet should be that of the internal interface. Traceroute then ups the TTL and the router sends it on the next host that does the same, that packet has the address of the interface on that system that is closest to the original sender.

      NAT is the rewriting of address and port fields for packets, they still have to be routed before/after they are rewritten. It shouldn't have an effect in this case.
        Thank you. I've to take a closer look to some RFCs again. Seems that I've forgotten a lot, a while ago.

        neniro