On Sun, 18 Oct 1998, Fuzzy Fox wrote:

> Marc Thomas <[EMAIL PROTECTED]> wrote:
> >
> > In other words, if the PPP link is down, I want the masqueraded machines 
> > to be told "destination unreachable", but It doesn't seem to do this -
> > they just hang (& timeout).
> 
> Best way I can think of is to remove the default route when the link is
> down.  Then the gateway machine won't know where to forward the
> requests, so it should send back network-unreachables.  Do you let pppd
> instate and remove the default route, or do you do that yourself?
> 

This is what I thought - and is how my machine is configured. I have in
/etc/ppp/options the following;

crtscts
modem
defaultroute
asyncmap 0x00000000
mru 576
mtu 576


And the defaultroute makes pppd add & remove the default route when the
link goes up and down (it took me ages to find this!)

The interesting thing is that if I ping an IP address which I know is not
local when the PPP link is down, the Linux box says:
ping: sendto: Network is unreachable

I'm a bit confused here! Does this work for anyone else?


Cheers,

Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to