Solved

pppd lost default routing after hangup

Posted on 1998-01-07
6
272 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
Comment Utility
And what is the problem about that?
0
 

Author Comment

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

Expert Comment

by:ahoffmann
Comment Utility
Remove the defaultroute option, or read man-page about passive and proxyarp option.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

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

Expert Comment

by:ahoffmann
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now