[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

pppd lost default routing after hangup

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
matpae
Asked:
matpae
  • 3
  • 2
1 Solution
 
ahoffmannCommented:
And what is the problem about that?
0
 
matpaeAuthor Commented:
I can't a new dial, when I don't have a default routing.
0
 
ahoffmannCommented:
Remove the defaultroute option, or read man-page about passive and proxyarp option.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
matpaeAuthor Commented:
When I remove the defaultroute option, the defaultroute lost after the connect.
0
 
ahoffmannCommented:
Strange :|
heck if you can set/restore your default route with ip-up and/or ip-down script.
0
 
unicorntechCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now