Re: [LARTC] Backup Route

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For configuring a backup route, it shouldn't be that difficult.
You should configure the preferred route (the radio link) statically,
with the default metric,
and for the backup route (ADSL link), configure it (also statically)
with a higher metric.

This way traffic will go along the preferred route, as long as the link
is up.
When the link fails, the route with the higher metric should take over.
The routing algorithm will always take a (valid) route with the lowest
metric.

But indeed, you should read the iproute2 docs,
and test the configuration you've chosen.

If you want to do load balancing and traffic filtering, all the others
(iptables/ipchains and
the advanced routing howto )come into the picture. But for mere backup
routes, playing with metrics will do.

Regards, Guy


Andrew wrote:
> 
> "Michel A. S. Pereira - KIDMumU[InLove]" wrote:
> >
> > Hi there.
> >
> >     I've two Internet connections at the same box, one connection is
> > made through ADSL, and another is made with a Radio-Link (WaveLAN
> > IE822).
> >     I wan't to do a backup connection with the ADSL link.
> >     With what tools I can do this?
> >     ipchains, iptables, a third party tool?
> >
> I'm in the middle of doing something very similar. I don't know how often they
> update the archives on this list but the subject on the thread for what I'm
> working on
> is [a complicated routing scenario (for me at least)]
> 
> Basically you'll have to compile the advanced routing options into the kernel
> allong with ipchains, then install the iproute2 tools. Then you'll have to
> configure your box properly using the advanced routing tools and ipchains for
> the redundant routes. It's way too complicated to explain it all in one email,
> so your best bet is  to look in the archives on this list.
> 
> Probably your single best source of information in the way of docs is the
> command reference doc for the "ip" command (comes in the iproute2 package). If
> you read and understand this doc, you'll be well on your way to doing what you
> want to do. You can also read the ipchains howto, the advanced routing howto,
> and the ip-masquerading howto.
> 
> When I get it all done, I'm thinking of writing a howto on the subject, we'll
> see...
> 
> -Andrew
> 
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux