ip address behind router ?

Brian Davis brian_davis at cox.net
Mon Jan 10 13:52:05 PST 2005


On Sun, 9 Jan 2005 14:38:56 +0100
FreeBsdBeni <freebsdbeni at spymac.com> wrote:

> Hi,
> 
> How do I find what ip address I'm really having ? 
> My adsl modem/firewall gives me a dynamic private address :
> 192.168.1.101,  which is what I see with an ifconfig. But how do I find
> the real (dynamic)  address given to my modem by my provider ?
> I'm using 5.3-rel-p4.
> -- 
> Beni.
> 

Try the traceroute command. The first IP address will be the
address of your modem. If I traceroute my ISP this is the output.
The 1st line contains  the IP address of my cable modem.

traceroute to cox.net (68.1.17.9), 64 hops max, 40 byte packets
1  ip68-102-20-166.ks.ok.cox.net (68.102.20.166)  1.942 ms  1.941 ms 1.861
ms
2  ip68-102-0-1.ks.ok.cox.net (68.102.0.1)  14.284 ms  18.493 ms15.513 ms
3  ip68-103-127-194.ks.ok.cox.net (68.103.127.194)  21.864 ms 14.744 ms 
11.646 ms
4  ip68-103-255-237.ks.ok.cox.net (68.103.255.237) 14.404 ms  32.946 ms 
13.704 ms
 5  68.1.1.180 (68.1.1.180)  18.623 ms  13.751 ms  18.183 ms
 6  68.1.1.175 (68.1.1.175)  24.568 ms  29.769 ms  19.844 ms
 7  mtc3bbrc02-pos0100.rd.ok.cox.net (68.1.0.103)  41.478 ms  20.997 ms 
28.005 ms
 8  lkhnbbrc01-pos0200.rd.at.cox.net (68.1.0.113)  51.983 ms  57.733 ms 
48.226 ms
 9  lkhndsrc01-pos0901.rd.at.cox.net (68.1.0.5)  60.806 ms  85.053 ms 
53.278 ms
10  lkhnsysc01-gic03.at.cox.net (68.1.15.242)  46.912 ms  49.078 ms 
50.568 ms
11  lkhnsysl01-gex1.at.cox.net (68.1.16.53)  63.030 ms  57.538 ms  64.792
ms




More information about the freebsd-questions mailing list