Solved

pppd lost default routing after hangup

Posted on 1998-01-07
6
281 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

776 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