From owner-freebsd-questions Wed Jun 9 13: 1:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.psln.com (psln.com [206.99.118.101]) by hub.freebsd.org (Postfix) with ESMTP id 7E34315942 for ; Wed, 9 Jun 1999 13:00:41 -0700 (PDT) (envelope-from dkeller@psln.com) Received: from g6200 (chester19.psln.com [206.155.61.119]) by mail.psln.com (8.9.1/8.9.1) with SMTP id MAA26911; Wed, 9 Jun 1999 12:46:30 -0700 (PDT) Message-ID: <002101beb2b8$234f9fe0$773d9bce@g6200> From: "Dainel \"The Bruce\" Keller" To: Cc: Subject: Fw: begginner question: how can I determine my local IP address? (can't ping) Date: Wed, 9 Jun 1999 13:39:13 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: Dainel "The Bruce" Keller To: Jamie Lawrence Sent: Wednesday, June 09, 1999 1:35 PM Subject: Re: begginner question: how can I determine my local IP address? (can't ping) > Thanks for the help, I think i may have confused things a bit. > I do have a NIC, but it is connected only to my other home computer, not the > internet. I am connected to my ISP through a dialup line, so the IP > should be the IP of the machine (or the modem?) right? I put the XXs on the > IP to show that it is dynamically assigned in that range. Once I know my > local IP I can ping it from my other computer by the NIC, and I assume other > computers on the internet can get to it, but I can't ping it from itself > using the IP address. Here is the output of "ifconfig -a": > > ed0: flags=8843 mtu 1500 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > ether 00:00:c0:59:a6:f4 > ppp0: flags=8051 mtu 1006 > inet 206.155.61.157 --> 206.155.61.100 netmask 0xffffff00 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > here is "netstat -rn": > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default 206.155.61.100 UGSc 3 8 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.157 UH 3 0 ppp0 > > > here is "ipfw show": > 00100 15 1260 divert 8668 ip from any to any via ppp0 > 65535 0 0 allow ip from any to any > > "ping localhost": > PING localhost (127.0.0.1): 56 data bytes > 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.052 ms > 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.043 ms > 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.030 ms > > --- localhost ping statistics --- > 3 packets transmitted, 3 packets received, 0% packet loss > round-trip min/avg/max/stddev = 0.030/0.042/0.052/0.009 ms > > "ping 206.155.61.157": > PING 206.155.61.157 (206.155.61.157): 56 data bytes > > --- 206.155.61.157 ping statistics --- > 8 packets transmitted, 0 packets received, 100% packet loss > > Any suggestions would be great, > Thanks again, > Daniel Keller > > ----- Original Message ----- > From: Jamie Lawrence > To: Dainel "The Bruce" Keller ; Christopher Michaels > > Sent: Tuesday, June 08, 1999 2:47 PM > Subject: Re: begginner question: how can I determine my local IP address? > (can't ping) > > > > At 03:13 PM 6/8/99 -0700, Dainel \"The Bruce\" Keller wrote: > > >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 > > > > Keep in mind that the IP address (206.155.61.130, BTW - you're > > not protecting yourself by obscuring it) is The NIC's IP, > > not the machine's. Make sure you ifconfig'ed your device correctly. > > > > Do an ifconfig -a and see what it tells you it thinks its IP, > > netmask, broadcast, etc. are. > > > > -j > > > > >----- Original Message ----- > > >From: Christopher Michaels > > >To: 'Dainel "The Bruce" Keller' > > >Cc: FreeBSD Mailing List (E-mail) > > >Sent: Tuesday, June 08, 1999 1:58 PM > > >Subject: RE: begginner question: how can I determine my local IP address? > > > > > > > > >> ifconfig > > >> > > >> Where 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 > > >> > 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 > > >> > > > > > > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > > >with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message