On Thu, 15 Jul 1999 [EMAIL PROTECTED] wrote:

|Why does my dialup ppp connection die when I place defaultroute in my
|pppd command on the ppp-on script?
|
|I am using ppp2.2.0 and kernel 2.0.30.
|My modem hangs up when I use defaultroute.  When I take the defaultroute
|out, it dials in and connects.  I can ping the remote HOST, but any
|thing else returns "NETWORK IS UNREACHABLE".

[edited]

|exec /usr/lib/ppp/pppd debug -detach lock modem crtscts /dev/ttyS1 38400
|\
| $LOCAL_IP:$REMOTE_IP \
| noipdefault netmask $NETMASK connect $DIALER_SCRIPT

Adding defaultroute won't cause the problem you describe unless you've
failed to follow the scripting rules, e.g., you insert defaultroute on it's
own line and didn't escape the eol with `\'.

[edited]

|When I do a route -n, I see the loopback and the ppp interface for the
|remote host but I don't see the ppp interface as the defaultroute.  There
|are no defautroutes established anywhere that I can tell. 

You will get a default route through the PPP interface via the IP address
of the remote provided the defaultroute option is used, the script has no
error and you don't already have a default route set.  This is an example:

Kernel IP routing table
Destination     Gateway       Genmask         Flags Metric Ref  Use Iface
38.83.57.75     0.0.0.0       255.255.255.255 UH    0      0    0   ppp0
0.0.0.0         38.83.57.75   0.0.0.0         UG    0      0    0   ppp0

---
Clifford Kite                                               Not a guru. (tm)



-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to