Daniel M. Debertin <[EMAIL PROTECTED]> wrote:
>
> Most of the documentation (FAQ, HOWTO) seems to be about IP-Masqing
> using a gateway host connected to an ISP with a modem (PPP/SLIP). Is
> anyone out there using an ethernet connection via DSL? Specifically,
> static-IP DSL?
It shouldn't be all that different, but it depends entirely on how you
hook things up. That is, the physical connection is more important than
the static-ness or dynamic-ness of the IP addreses.
Why is that? Well, because physical connections determine which
networks are the "same" or "different" than one another. The main thing
to remember is that forwarding only takes place between "different"
networks.
> I am about to build a little 2-machine IP-Masq network (other machine
> hasn't arrived in the mail yet), but the docs seem to say that I
> would have to set the IP address of my gateway to 192.108.1.1 (using
> RedHat 5).
That's 192.168.1.1. The numbers are important.
At any rate, that's what I was getting at earlier. Your masq machine
must have TWO IP addresses, not just one. Why? Because it is going to
FORWARD traffic between two DIFFERENT networks. That's the only way
forwarding works. So, you have to have two network interfaces. A
standard dial-up modem line with an ethernet has two interfaces, called
eth0 and ppp0. In your case, you're using your eth0 interface to talk
to the Internet. That means you need another interface, to talk to your
masqed machines. Maybe that will be an eth1 interface, using another
network card. (What do they cost, $5 these days?)
Anyway, another way to do is through network aliasing, where you create
a fake "eth0:0" interface and give it a separate IP address. Others on
this list have used that method. It's not the greatest, because the
collision rate on your eth0 interface will be bad. Packets will have to
travel the same ethernet cable twice, from the masq'd box to the masq
box, then from the masq box to the DSL modem, and then reversed for the
reply packets. You can probably saturate the network pretty easily with
a large download.
Oh well, it's your network. See what you can do with it. :)
--
[EMAIL PROTECTED] (Fuzzy Fox) || "Nothing takes the taste out of peanut
sometimes known as David DeSimone || butter quite like unrequited love."
http://www.dallas.net/~fox/ || -- Charlie Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]