Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 1999 16:58:57 -0400 
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        "'Dainel \"The Bruce\" Keller'" <dkeller@psln.com>
Cc:        "FreeBSD Mailing List (E-mail)" <questions@FreeBSD.org>
Subject:   RE: begginner question: how can I determine my local IP address?
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB440110596E@site2s1>

next in thread | raw e-mail | index | archive | help
ifconfig <interface>

Where <interface> is the name of your network interface.  E.g. if I wanted
to see my ip for my ppp I would type.

ifconfig tun0

-Chris


> -----Original Message-----
> From:	Dainel "The Bruce" Keller [SMTP:dkeller@psln.com]
> Sent:	Tuesday, June 08, 1999 5:27 PM
> To:	questions@freebsd.org
> Subject:	begginner question: how can i determin my local IP address?
> 
> I posted a similar message here last night, but I haven't gotten any
> response and I never received the message myself so I'm not sure if it got
> through,
> Thanks
> ----- Original Message -----
> From: Daniel Keller <dkeller@psln.com>
> Newsgroups: comp.unix.bsd.freebsd.misc
> Sent: Tuesday, June 08, 1999 1:39 PM
> Subject: begginner question: how can i determin my local IP address?
> 
> 
> > Hi,
> > I am having some trouble determining my local IP address when I dial
> into
> my
> > ISP. I have been getting what I believe is my IP from "netstat -rn", but
> I
> > can not usr this number to telnet, or ftp, or connect to any of the
> other
> > services available on "localhost" or "127.0.0.1". I am not sure if I am
> > getting the IP wrong, or if for some reason I cannon connect to myself
> > though the IP (perhaps I need to enable some sort of other routing, or
> > change my ipfw rules, which are currently set up for natd and are using
> > "ipfw add pass all from any to any"). Any help would be greatly
> appreciated.
> > Thanks,
> > Daniel Keller


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?6C37EE640B78D2118D2F00A0C90FCB440110596E>