From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 21:52:04 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0C316A4CE for ; Mon, 10 Jan 2005 21:52:04 +0000 (GMT) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3C543D45 for ; Mon, 10 Jan 2005 21:52:04 +0000 (GMT) (envelope-from brian_davis@cox.net) Received: from Thor.Davis.net ([68.102.20.166]) by lakermmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with SMTP id <20050110215202.JGLA1656.lakermmtao12.cox.net@Thor.Davis.net>; Mon, 10 Jan 2005 16:52:02 -0500 Date: Mon, 10 Jan 2005 15:52:02 -0600 From: Brian Davis To: FreeBsdBeni Message-Id: <20050110155202.06ffb1ed.brian_davis@cox.net> In-Reply-To: <200501091438.59814.freebsdbeni@spymac.com> References: <200501091438.59814.freebsdbeni@spymac.com> X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: ip address behind router ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 21:52:05 -0000 On Sun, 9 Jan 2005 14:38:56 +0100 FreeBsdBeni 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