Hi Ana,

the following might work:

First you should enable the parameter defaultroute in /etc/isdn/ipppd.ippp0.
That will add the default route when the line comes up so you won't have to manually set it.

After the connection ends, it will be deleted ...

(automatically - enabling the defaultroute command in ipppd.ippp0 results in both, the setting and the deletion of the default route)

... and /etc/ppp/ip-down will be executed, into which you have to add the line route add default ippp0
to bind the default route to your ISDN-Interface again for the next dial-up.

Tanis
 
 
 

[EMAIL PROTECTED] schrieb:

        Hello, I have a Linux machine with an ISDN card (Teles 16.3).
I have configured de card to connect to my Internet Provider. I use ipppd
an isdn4linux software. All things go well except one:

        I have configured the ippp0 device for the conexion. In my routing
table I added the default route to this interface:

        #route add default ippp0

        But my problem is that after the conexion this route is deleted and I
have to put it by hand to get the conexion.
        I have dinamic IP addresses and when the provider assigns me a valid
IP, the default route is deleted and this is added:

        172.16.1.0    *    255.255.255.0 .....    ippp0

        so I have to add the default route by hand.

        The default route is deleted when the conexion is down too.

        How can I solve this problem? is it normal or I am doing something
wrong???

        Please answer me to [EMAIL PROTECTED]

thanks and sorry for my english

Ana Santos

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

 

Reply via email to