Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 1999 09:20:45 -0700
From:      "Daniel \\" The Bruce\ " Keller" <dkeller@psln.com>
To:        ChrisMic@clientlogic.com, freebsd-questions@freebsd.org
Subject:   Re: Fw: begginner question: how can I determine my local IP address? (can't ping)
Message-ID:  <375D42DD.2F7F5DB7@psln.com>

next in thread | raw e-mail | index | archive | help
Thanks, here is the output of ifconfig -a :

ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:00:c0:59:a6:f4 
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006
        inet 206.155.61.163 --> 206.155.61.100 netmask 0xffffff00 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

and here is netstat -rn:

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            206.155.61.100     UGSc        6       15     ppp0
10/24              link#1             UC          0        0      ed0
127.0.0.1          127.0.0.1          UH          0        0      lo0
206.155.61.100     206.155.61.163     UH          7        0     ppp0

ipfw show produces:
65535 0 0 allow ip from any to any

Thanks for any suggestions,
Daniel Keller


Dainel \"The Bruce\" Keller wrote:
> 
> ----- Original Message -----
> From: Christopher Michaels <ChrisMic@clientlogic.com>
> To: <dkeller@psln.com>
> Cc: <freebsd-questions@freebsd.org>
> Sent: Tuesday, June 08, 1999 2:48 PM
> Subject: RE: begginner question: how can I determine my local IP address?
> 
> > Hrmm.. I think what would be best is if you posted to the list the output
> of
> > ifconfig -a and netstat -rn.  Also, when kind of connection is this,
> dialup,
> > lan, etc..?
> >
> > Can you ping/telnet from other systems?
> >
> > -Chris
> > > -----Original Message-----
> > > From: Dainel "The Bruce" Keller [SMTP:dkeller@psln.com]
> > > Sent: Tuesday, June 08, 1999 6:13 PM
> > > To: Christopher Michaels
> > > Cc: freebsd-questions@freebsd.org
> > > Subject: begginner question: how can I determine my local IP address?
> > >
> > > Thanks, I had been looking all over the mailing list and gerneally
> getting
> > > nowhere. unfortunately I now have a rather larger problem. I can't ping
> or
> > > telnet to myself by the IP address. I can ping localhost fine, but not
> my
> > > IP
> > > (206.155.61.1XX). I have tried flushing ipfw and making sure it is not
> > > blocking anything, but I have no idea what to try next. And suggestions
> > > would help greatly.
> > > Thanks again for the help!
> > > Daniel Keller
> > > ----- Original Message -----
> > > From: Christopher Michaels <ChrisMic@clientlogic.com>
> > > To: 'Dainel "The Bruce" Keller' <dkeller@psln.com>
> > > Cc: FreeBSD Mailing List (E-mail) <questions@FreeBSD.ORG>
> > > Sent: Tuesday, June 08, 1999 1:58 PM
> > > Subject: RE: begginner question: how can I determine my local IP
> address?
> > >
> > >
> > > > 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?375D42DD.2F7F5DB7>