|
Carl have you tried associating the default routes with a specific interface ? I seem to remember having the same problem when adding an internet connection and bound each of the default routes I needed to a specific interface. Sorry I can't remember the parameters that I added but maybe this will point you in the right direction. Hope this helps Regards Evan Harris >I am developing some code for a client. Basically the code will attempt to >FTP to a site on the internet over the company's existing T1. I ping the >FTP server first to see if the route is there. If I can not get a return on >my ping I want to start a PPP dial up connection to an ISP, and then do the >FTP over the dial up line. > >All the pieces work fine, except one. In my PPP profile I have set that the >dial up connection gets assigned the default route. If I currently have a >default route set up in my routing table, the PPP connection will not work, >it says there is already a default route set up. If I remove the default >route on the AS400, the PPP connection works fine and the data is routed >over the dial up to the internet. All of my customer's systems already have >a default route set up on their AS400 pointing to the local router so the >data is moved over their WAN. The only way I see to solve this problem is >to programmatically remove the default route in the routing table, start my >PTP PPP connection, do my FTP, end the PPP connection and then >programmatically add the default route entry back to the AS400. This seems >less than elegant. Any better ideas? >cjg +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.