> Hello. > I have a server with two ISP connections: a flat ADSL with an ISP and > pay-per-traffic HDSL with another. > I'd like to use ADSL whenever possible, but switch to HDSL in case the first line > drops. > Any pointer? > > bye & Thanks > av.
Write a script and cronjob it to check every 5 minutes. The script should: a) ping both ISP gateways or use other means to check connectivity b) If the primary connection is down, remove the default route and point the default route to backup ISP. c) If using NAT, flush the nat rules, and re-map the internal network to backup ISP's IP address. d) If the primary ISP is back online, do vice versa to switch back. That's one way of doing it. You can also write a daemon too that's more robust than a simple shell script. -J -- James Jun (formerly Haesu) Network Operations TowardEX Technologies, Inc. Consulting, colocation, web hosting, network design and implementation http://www.towardex.com | [EMAIL PROTECTED] Cell: (978)394-2867 | Office: (978)263-3399 Ext. 170 Fax: (978)263-0033 | AIM: GigabitEthernet0 NOC: http://www.twdx.net | POC: HAESU-ARIN, HDJ1-6BONE _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"