From owner-freebsd-questions Sat Nov 25 23:58:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from yoda.dccnet.com (mail.deltacable.com [207.230.239.70]) by hub.freebsd.org (Postfix) with ESMTP id 5748B37B4CF for ; Sat, 25 Nov 2000 23:58:08 -0800 (PST) Received: from dccnet.com (unverified [209.5.158.158]) by yoda.dccnet.com (Rockliffe SMTPRA 3.4.6) with ESMTP id ; Sat, 25 Nov 2000 23:58:03 -0800 Message-ID: <3A20C2C7.EF3E323F@dccnet.com> Date: Sat, 25 Nov 2000 23:59:03 -0800 From: "Kevin G. Eliuk" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.1.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Banning Cc: questions@freebsd.org Subject: Re: finding my IP address References: <20001126001216.A1466@www3.pacific-pages.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Banning wrote: > > I am trying to find out my Dynamic IP address that has been issued > to me by my ISP - I think I found it like so; > > $ ppp > Working in interactive mode > Using interface: tun0 > ppp ON d> dial isp > ppp ON d> > Ppp ON d> > PPp ON d> > PPP ON d> > PPP ON d> show iface > tun0 (idx 12) has 1 address: > 216.191.61.60/32 -> 192.168.70.6 > PPP ON d> > > Then when I entered http://216.191.61.60/myfiles.html > > I got the html I wanted. > Is there a command from the shell I can type to get it without > going into ppp first?; Look at ifconfig(1). It will allow you to display all current ip configurations. i.e.) #ifconfig -a dc0: flags=8843 mtu 1500 inet 192.168.192.2 netmask 0xffffff00 broadcast 192.168.192.255 -- Regards, )))))) )))))) )))))) Kevin G. Eliuk )) )) )) )) )) )) http://www.FreeBSD.org )) "Change your operating system, )) )) )) )) )) and You can change your World." )))))) )))))) )))))) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message