Paul Wittry <[EMAIL PROTECTED]> wrote:
>
> When I boot machine #2 into this situation, the gateway dials up. 
> This happens during the boot-up sequence, when AMD(auto mount daemon)
> is called.  I believe the machine is making a dns lookup, and
> therefore dials to satisfy what is in it's /etc/resolv.conf file.

What machine do you suppose it's looking up?  A local machine's name? 
Why would it go to an external DNS lookup, just to lookup a local host's
name?

> However, if I remove the ISP nameserver addresses from said file then
> Masquerading doesn't work.

Masquerade probably works fine; it would be DNS that doesn't work.  :)

> How can I keep the gateway from dialing when I boot #2, and still keep
> masquerade working?

One method would be to run a local, caching-only DNS server on your masq
box.  That will cut down on the amount of remote DNS traffic, anyway. 
Another would be to configure your machine to lookup hosts in its
/etc/hosts file first, and only lookup externally via DNS if that fails. 
I unfortunately can't remember how to do that.  I'm sure another
listmember will remind us.  :)

> Also, does machine #2 need ppp enabled in the kernel?

No.  PPP is only used for talking through a modem.  Machine #2 talks
through the ethernet, not the modem.  That's #1's job.  :)

-- 
   [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]

Reply via email to