Solved

pppd lost default routing after hangup

Posted on 1998-01-07
6
286 Views
Last Modified: 2010-03-18
On a linuxbox I have a ISDN-Callline. When I boot the box, I make a default route to the ISDN-interface. The first call ist ok, but after hangup the defaultrouting is lost.
The options of the pppd is defaultroute and the authentication is pap.
0
Comment
Question by:matpae
  • 3
  • 2
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587269
And what is the problem about that?
0
 

Author Comment

by:matpae
ID: 1587270
I can't a new dial, when I don't have a default routing.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587271
Remove the defaultroute option, or read man-page about passive and proxyarp option.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

Author Comment

by:matpae
ID: 1587272
When I remove the defaultroute option, the defaultroute lost after the connect.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587273
Strange :|
heck if you can set/restore your default route with ip-up and/or ip-down script.
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 100 total points
ID: 1587274
The reason this occurs is due to the fact that when the interface  shuts down it resets and thus the default route is "broken". The easiest way to resolve this is to use a simple script to call the defaultroute command after a disconnect.

So a simple way to do this would be as soon as the layer drops and the isdn interface shuts to call defaultroute. That way as soon as you send a nother packet destined for somewhere not on  your network (or your computer) the packet will travel to the default gateway (the isdn interface) causing it to dial and re-establish the connection.

Hope this helps,

Let me know how it goes,

Regards,

Jason
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question