Re: Newbie questions


Subject: Re: Newbie questions
From: Carolyn Jean Fairman (cfairman@Stanford.EDU)
Date: Sat Jun 16 2001 - 12:57:47 MDT


Mike,

I understand the loopback address. I ran ifconfig (will make some
login script to get this for me and set some env variable to it so it
is easy to use). I can see the inet addr is the IP address so that
makes sense and thanks!

So why can't I ping that address once I telnet into somewhere else?
Do you know what configuration I need? I assumed ping always worked
and you would get so-and-so is alive if they didn't want to give out
info. But the ping gets no response at all.

--Carolyn

     When you connect out to the Internet, only one IP address (generally) of
   your machine will be accessible from the outside. Although it is correct
   that your machine will have multiple IP addresses some of them, like
   127.0.0.1, are not eally "internet addresses". That one in particular is
   the address for the loopback connection (which allows you to open a
   connection to localhost even if you don't have a network). To find the IP
   address supplied by your ISP, you need to figure out what address is
   associated with your Ethernet card (alternatively the modem if you were
   dialing up). Sometimes this can be figured out from the name of your
   machine (aka adsl-xxx-xxx...), but you can always use the ifconfig command
   to get information on your network devices and pull the IP addres from
   there. Unfortunately, I'm not at a linux box at the moment so I can't tell
   you exactly which number it is - but I do know it is not the P-to-P
   number, and not the netmask. It will be a set of 4 numbers seperated by
   ".", just like a normal IP address. You may even recognize it as being
   similar to the name mentioned above (adsl-xxx--blahblah). Hope that helps
   :)

   Mike



This archive was generated by hypermail 2a24 : Sat Jun 16 2001 - 12:03:17 MDT