-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> Nagarjuna G writes:
    Nagarjuna> On Sun, May 25, 2008 at 11:48 AM, Raj Mathur <[EMAIL PROTECTED]> 
wrote:
    >> Hi,
    >> 
    >> Anyone have suggestions for a router that can do the following?
    >> 
    >> - Handle 2 providers: one ADSL and one Cable (Ethernet).
    >> 
    >> - Load balance between the two links.
    >> 
    >> - Periodically check status of links and switch to one line only if the
    >> other line goes down.
    >> 
    >> - Internal stuff like DHCP, etc.
    >> 
    >> Specific model numbers and your experience would be useful, thanks!
    >> 

    Nagarjuna> recently we replaced our cisco routers in our LAN with vyatta 
which is
    Nagarjuna> based on a fork of GNU zebra.  

GNU zebra and Quagga are dependent on routing information received from
different routing protocols to update routing table.

    Nagarjuna> They have excellent documentation and several kinds of
    Nagarjuna> load balancing, as well as many other tricks that can be
    Nagarjuna> done with sophisticated routers are possible.  Our load
    Nagarjuna> balancing is working fine with vyatta.  we are the server
    Nagarjuna> image provided at their site: http://www.vyatta.org/

I can see from your gnowledge.org's IPv4 address, that it is part of a
/16 allocation to TIFR. So you're probably using your vyatta box as
border router, receiving route updates from the peers.

So I think, a simple script to monitor the connectivity should include
the following:

1. Do a ping to an IP address after every n seconds, from each of the
interfaces, '-I' option of ping, and if exitcode from any ping is
non-zero, it means the link is not working and should not be included in
routes.

2. After you get the list of interfaces, you can create a multipath
route based on them.

HTH

P.S. I've not worked with any vyatta box or GNU zebra/quagga instance.
- -- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkg5KFUACgkQHy+EEHYuXnTW0ACg7odeau6hFg9fsChO7Kr6zQCf
CbIAnRJAgXGMtPemm6EqAuBQv5O4O5oO
=GeB8
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to