HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- routing and pppd
Operating System - HP-UX
1827448
Members
4558
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2001 11:40 AM
05-31-2001 11:40 AM
This is for all the networking/pppd folks out there.
I would like to add a route to my /etc/rc.config.d/netconf file for a network with a gateway on the other side of a dialup ppp link, only this box isn?t the one dialing so I am fearful that the route won?t get added when the system is restarted as the dialup link won?t be there.
Here is a little background. I have a Remote Access Server and I am setting up framed routes so that I can establish an on-demand connection to some 50 remote HP-UX 11.0 boxes scattered around the country that have a pppd waiting for a connection. The route back to the dialing network has to be there already as I don?t know of a way to establish a route while the link is being made. It would be nice if pppd had the ability to add a route, besides itself, when the link comes up.
Any idea?
Thank you for any ideas.
Tim Rotunda
I would like to add a route to my /etc/rc.config.d/netconf file for a network with a gateway on the other side of a dialup ppp link, only this box isn?t the one dialing so I am fearful that the route won?t get added when the system is restarted as the dialup link won?t be there.
Here is a little background. I have a Remote Access Server and I am setting up framed routes so that I can establish an on-demand connection to some 50 remote HP-UX 11.0 boxes scattered around the country that have a pppd waiting for a connection. The route back to the dialing network has to be there already as I don?t know of a way to establish a route while the link is being made. It would be nice if pppd had the ability to add a route, besides itself, when the link comes up.
Any idea?
Thank you for any ideas.
Tim Rotunda
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2001 02:01 PM
05-31-2001 02:01 PM
Re: routing and pppd
Hi Tim
Try adding the route to only the RAS server at each site.
Paula
Try adding the route to only the RAS server at each site.
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 01:13 AM
06-01-2001 01:13 AM
Solution
Hi Tim,
to add a route when a ppp link comes up and delete it when it come down you can use the exec option of pppd:
From pppd(1)
exec exec-cmd
Run `exec-cmd up addr args' when the link comes up, and `exec-cmd down addr args' when it goes down. Addr is the IP address of the peer, and args is the list of arguments given to pppd.
You could do a simple script to add a route when it comes up and to delete the route when it comes down.
Best regards
Juan Gonzalez
to add a route when a ppp link comes up and delete it when it come down you can use the exec option of pppd:
From pppd(1)
exec exec-cmd
Run `exec-cmd up addr args' when the link comes up, and `exec-cmd down addr args' when it goes down. Addr is the IP address of the peer, and args is the list of arguments given to pppd.
You could do a simple script to add a route when it comes up and to delete the route when it comes down.
Best regards
Juan Gonzalez
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP