On Mon, Feb 04, 2002 at 12:09:00PM +0800, glynn wrote:
> Im newbie in this traffic shaping and id like to ask if its possible to
> this. I have a two dsl lines connected to different provider. is it
> possible that ill configure my linux box so that if other dsl line fails
> the other one will work on this?
Well, yes and no. The problem is that ''working'' or
''not-working'' may be hard
to detect. The router may be up, but not connected to anything. The only
thing Linux can see is if the default gateway doesn''t respond to ARPs
anymore, when it becomes a ''dead gateway''.
Your best bet is to run a script from cron that pings some remote hosts to
figure out which link is up, and set routes accordingly.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc