Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 15:52:02 -0600
From:      Brian Davis <brian_davis@cox.net>
To:        FreeBsdBeni <freebsdbeni@spymac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ip address behind router ?
Message-ID:  <20050110155202.06ffb1ed.brian_davis@cox.net>
In-Reply-To: <200501091438.59814.freebsdbeni@spymac.com>
References:  <200501091438.59814.freebsdbeni@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Jan 2005 14:38:56 +0100
FreeBsdBeni <freebsdbeni@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050110155202.06ffb1ed.brian_davis>