Solved

Lost route entry when ppp0 re-connect

Posted on 2002-04-01
3
218 Views
Last Modified: 2013-12-15
I have a linux dial-in server (mgetty & pppd) at head office which allow a linux box (mgetty & pppd) of remote site to dial-in via PSTN. The remote site is a network 172.22.13.0/24 and the linux box is act as a gateway (172.22.13.5) to head office.

When the connection is established, the head office server automatically has the route entry for 172.22.13.5, but require manually to add a route entry for 172.22.13.0/24.

The manually added route entry will be lost when the phone line is disconnected.

How to make the 172.22.13.0/24 route entry will not be lost or tell linux box to add it automatically when connected?

Thanks.
0
Comment
Question by:akit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6912760
I believe you can arrainge for the route to be created in the  /etc/ppp/ip-up script on the dial-in server. It's been entirely too long since I needed to do this and I don't remember the exact details.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 6914301
/etc/ppp/ip-up or /etc/ppp/ip-up.local is the place to do this
0
 

Expert Comment

by:lespaul007
ID: 6935585
Hope this link helps you:

http://www.linuxdoc.com/howto/ppp
0

Featured Post

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

632 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