Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2000 23:59:03 -0800
From:      "Kevin G. Eliuk" <kg@dccnet.com>
To:        David Banning <david@banning.com>
Cc:        questions@freebsd.org
Subject:   Re: finding my IP address
Message-ID:  <3A20C2C7.EF3E323F@dccnet.com>
References:  <20001126001216.A1466@www3.pacific-pages.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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) <UP,POINTOPOINT,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A20C2C7.EF3E323F>