Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to identify router IP address

by neniro (Priest)
on Jun 22, 2004 at 14:06 UTC ( [id://368726]=note: print w/replies, xml ) Need Help??


in reply to How to identify router IP address

Assuming that you're using a win32-box you can simply use tracert for this job. The IP after your routers internal IP should be the one you're looking for.

Replies are listed 'Best First'.
Re^2: How to identify router IP address
by Grygonos (Chaplain) on Jun 22, 2004 at 14:15 UTC
    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.
      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://368726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found