My IP address with DHCP
Chuck Hallenbeck
chuckh at sent.com
Sun Jan 11 20:30:27 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Greg,
My firewall script wants what it calls the IP address of my DHCP
server. That must not be what ifconfig reports, right? But I
grabbed that IP address from ifconfig and plugged it into the
firewall script, and it works fine.
My ISP is "mhcable.com" -- is it their IP address that the
firewall wants when it asks for the IP address of my dhcp server?
I am closing in on it, but not quite there yet.
Chuck
On Sun, 11 Jan 2004, Gregory Nowak wrote:
> Hi Chuck.
>
> The inet addr is your ip address. Remember that ppp0 is a point to
> point interface, which means that even though you have an ip address
> visible to the world assigned by the ppp gateway, you are actually
> connecting from a separate private address assigned to you by the
> gateway, to an interface address on that gateway which is also
> private. Thus a point to point connection.
>
> With eth0, you don't have a point to point connection, but you do have
> an ethernet connection which means your inet addr is the address the
> rest of the world knows you by, and there are no intermediate
> addresses between you and your isp like you have with ppp.
>
> Hope that helped, and that it wasn't too confusing.
>
> Greg
>
>
> On Sun, Jan 11, 2004 at 08:12:30PM -0500, Chuck Hallenbeck wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi people,
> >
> > I am confused (for a change?)
> >
> > My cable modem connection works like a charm, so maybe I should
> > leave it alone. But I am confused about my IP address and that of
> > the host to which I am connecting.
> >
> > With the ppp0 interface, I can find both the remote and the local
> > IP addresses, but with the eth0 interface, ifconfig reports only
> > one address, which it calls "inet addr:". Is that me? Or is it my
> > ISP? I have assumed it is my ISP, and have used it as such in my
> > firewall script, which is working great. But then what is my own
> > IP address, the one that used to be called a local IP address
> > with ppp0?
> >
> > I am seeing weird entries in my firewall log with destination
> > addresses matching what ifconfig calls the "inet addr:" and I am
> > not sure if that is my address, or my ISP's?
> >
> > Any advice will be handsomely rewarded.
> >
> > Chuck
> >
> >
> > - --
> > The Moon is Waning Gibbous (82% of Full)
> > In a world without Fences or Walls no one needs Windows or Gates.
> > My home page is now at http://www.mhcable.com/~chuckh
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (GNU/Linux)
> >
> > iQCVAwUBQAH0hzVdG8M9x9tGAQL4lwP9HDWZcZdnYvVlAwPMKz+mWvCg/bIYpto4
> > FfU28E/W+LlUYsHmIuDnVTJOp6XV2EHw7PRpq5hQ8U3u63Ke0bFc5QeyVDBYmsDS
> > VF52c57ee5uxnsY+gkRnYgE7a4mR4Yz8JZqt629S1C6hgyY0PBLygTZiHlZ8QGwS
> > VLiZe37Ttdk=
> > =Bc+X
> > -----END PGP SIGNATURE-----
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
- --
The Moon is Waning Gibbous (81% of Full)
In a world without Fences or Walls no one needs Windows or Gates.
My home page is now at http://www.mhcable.com/~chuckh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iQCVAwUBQAH4ujVdG8M9x9tGAQLqEAQA3Oo7d6aETXqTDa4oJ7S4wzgu8w5Qxjog
tUIiDC69lhSqKWz04AXvZqeXlD7yJo91zKl146y8uqPwgFeHco0Zes6iMw1bG5Pi
JtUwVx8cmK4+x0NKK3v+NuQJfplp+BpMcyEWcXVojXqVs04wybnsm4ctfw8Z33cD
Sd9n5F9EYXY=
=gk9H
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list