Re: [ilugd] [OT] Load balancing router

2008-06-16 Thread Vivek Kapoor
Raj Mathur [EMAIL PROTECTED] writes:

 
 On Monday 26 May 2008, Karanbir Singh wrote:
  [snip]
  I've seen a couple of SMC barracuda ADSL routers that will handle
  dual links and do some failover stuff. I'd guess you already had
  modems for those links ?
 
 That helps.  Finally found the following 4 that seem to fit the bill, no 
 clue about availability in India:
 

Raj, were you able to arrive on a solution for this? I have recently ordered a
second Reliance Wimax connection and would want to use my Tata Indicom Broadband
along with that. A single router wherein both the cables can go shall be really
helpful.

Thank you
Vivek Kapoor
http://exain.com



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [OT] Load balancing router

2008-06-16 Thread Raj Mathur
On Monday 16 Jun 2008, Vivek Kapoor wrote:
 Raj Mathur [EMAIL PROTECTED] writes:
  On Monday 26 May 2008, Karanbir Singh wrote:
   [snip]
   I've seen a couple of SMC barracuda ADSL routers that will handle
   dual links and do some failover stuff. I'd guess you already had
   modems for those links ?
 
  That helps.  Finally found the following 4 that seem to fit the
  bill, no clue about availability in India:

 Raj, were you able to arrive on a solution for this? I have recently
 ordered a second Reliance Wimax connection and would want to use my
 Tata Indicom Broadband along with that. A single router wherein both
 the cables can go shall be really helpful.

Well, the situation changed when the chap told me that his wife would be 
the one who would manage the router.  So in the end it turned out to be 
simpler to get her to unplug the cable from one router and put it into 
the other one, rather than changing configurations.

Would still be interested in knowing if someone did it with a black box.

Regards,

-- Raju
-- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance  Chill: http://schizoid.in/   ||   It is the mind that moves

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [OT] Load balancing router

2008-06-16 Thread Vivek Kapoor
On Mon, June 16, 2008 2:10 pm, Raj Mathur wrote:

 Well, the situation changed when the chap told me that his wife would be
 the one who would manage the router.  So in the end it turned out to be
 simpler to get her to unplug the cable from one router and put it into
 the other one, rather than changing configurations.

 Would still be interested in knowing if someone did it with a black box.

I spoke to Artec Enterprises in Nehru Place. They're selling the DLink DI-LB604
for INR 5500+Taxes. It is not ADSL or Wifi, so probably I'd need to live with 3
routers - one for my Tata Indicom, the Wifi Router and the Dlink one.
Regardless, once I get this Reliance Wimax, then would probably buy it and
experiment.

Vivek Kapoor
http://exain.com


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [OT] Load balancing router

2008-06-16 Thread Shashidhar Bhat
Vivek Kapoor wrote:
 On Mon, June 16, 2008 2:10 pm, Raj Mathur wrote:
   
 Well, the situation changed when the chap told me that his wife would be
 the one who would manage the router.  So in the end it turned out to be
 simpler to get her to unplug the cable from one router and put it into
 the other one, rather than changing configurations.

 Would still be interested in knowing if someone did it with a black box.
 

 I spoke to Artec Enterprises in Nehru Place. They're selling the DLink 
 DI-LB604
 for INR 5500+Taxes. It is not ADSL or Wifi, so probably I'd need to live with 
 3
 routers - one for my Tata Indicom, the Wifi Router and the Dlink one.
 Regardless, once I get this Reliance Wimax, then would probably buy it and
 experiment.
   
Check with Sigma distributor in Nehru Place for an option from TP Link

- Shashi
 Vivek Kapoor
 http://exain.com


 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

   

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Nagarjuna G.
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!


recently we replaced our cisco routers in our LAN with vyatta which is
based on a fork of GNU zebra.  They have excellent documentation and
several kinds of load balancing, as well as many other tricks that can
be done with sophisticated routers are possible.  Our load balancing
is working fine with vyatta.  we are the server image provided at
their site: http://www.vyatta.org/  enjoy!

Nagarjuna

___
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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread ankush grover
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!

 Regards,

 -- Raju
 --


Hi Raj,

Why you need a router? this can be done by Linux box using ip rules and with
little bit of scripting.



Regards

Ankush
___
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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Ashish Shukla आशीष शुक्ल
-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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Raj Mathur
On Sunday 25 May 2008, Nagarjuna G. wrote:
  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!

 recently we replaced our cisco routers in our LAN with vyatta which
 is based on a fork of GNU zebra.  They have excellent documentation
 and several kinds of load balancing, as well as many other tricks
 that can be done with sophisticated routers are possible.  Our load
 balancing is working fine with vyatta.  we are the server image
 provided at their site: http://www.vyatta.org/  enjoy!

Hey guys, thanks for all the Linux suggestions, but I need a ready-made 
black box for a friend in B'lore.  If I'd wanted to know how to do it 
on Linux I wouldn't have put [OT] in the subject line :)

This is a non-technical mom and pop shop who just need a black box they 
can plug into the network(s), get the sales or support guy to configure 
once and then forget about it.  No RD, and I'm not going to be next 
door to them to sort out Linux problems if they face them, so the 
dumber the better.

A Netgear or something that suits their needs would be ideal.

Regards,

-- Raju
-- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance  Chill: http://schizoid.in/   ||   It is the mind that moves

___
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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Karanbir Singh
Raj Mathur wrote:
 This is a non-technical mom and pop shop who just need a black box they 
 can plug into the network(s), get the sales or support guy to configure 
 once and then forget about it.  No RD, and I'm not going to be next 
 door to them to sort out Linux problems if they face them, so the 
 dumber the better.

I've seen a couple of SMC barracuda ADSL routers that will handle dual 
links and do some failover stuff. I'd guess you already had modems for 
those links ?

Cant remember from memory what the model number was, but google should 
dig up something. Also, i dont think the device does any load-balance. 
But it does do failover from one link to the other and back again when 
quality is back at some fixed limit. We used to use these 5 - 6 years 
back with ADSL - ISDN failover in typical office setups. But since the 
WAN interfaces exposed are all ethernet, I'd imagine you can plugin a 
cable modem instead of an isdn one with no real issue. Watch out for the 
ones that directly talk isdn-nt, you dont want those!

Not sure if this helps, but its *something*. You could always get some 
micro-ITX kit or gumstix type machine, linux'ify it and post it over :D

- KB

-- 
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]

___
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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Raj Mathur
On Monday 26 May 2008, Karanbir Singh wrote:
 [snip]
 I've seen a couple of SMC barracuda ADSL routers that will handle
 dual links and do some failover stuff. I'd guess you already had
 modems for those links ?

That helps.  Finally found the following 4 that seem to fit the bill, no 
clue about availability in India:

http://d-link.ca/products/?pid=452sec=2 (around $130)

http://www.zyxel.com/web/product_family_detail.php?PC1indexflag=20040908175941CategoryGroupNo=53C4D3B9-98B3-4F1F-A7B2-BED2BBA2A7CA
(~450 UKP)

http://www.xrio.com/website/ (~UKP 550)

http://www.smc-asia.com/v2/index.php?option=com_contenttask=viewid=458Itemid=60
(~ $450)

Also considering setting up a USB stick which would do all this and have 
a web front-end for management of links, IP addresses, load balancing 
configuration, etc.  Is such a thing available?

Regards,

-- Raju
-- 
Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance  Chill: http://schizoid.in/   ||   It is the mind that moves

___
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/


Re: [ilugd] [OT] Load balancing router

2008-05-25 Thread Dhiraj Gaur
If an old PC is available then do try considering Endian Firewall Community
Edition. I have been using it for quite sometime in my office. Works great
as well as unattended and most features are supported out of the box. a few
cyber cafes in my areas have started using it as well and they are pretty
much satisfied with it and its web interface makes it easy for the dumb as
well. And yes it does support load balancing as well.

Regarding HW based thing I guess u may try a hand at Linksys WiFi Router
upgrade their firmware with a linux firmware like DD-WRT and have fun, but I
guess for load balancing you may require two such routers.

http://www.dd-wrt.com/dd-wrtv3/

http://www.wi-fiplanet.com/tutorials/article.php/3562391

http://www.wrtrouters.com/guides/upgradetolinux/

You may read about a few other such distros at

http://ezinearticles.com/?WRT54g-Linux-Firmware-Distributionsid=118837


Regards

Dhiraj Gaur

On Mon, May 26, 2008 at 6:27 AM, Raj Mathur [EMAIL PROTECTED] wrote:

 On Monday 26 May 2008, Karanbir Singh wrote:
  [snip]
  I've seen a couple of SMC barracuda ADSL routers that will handle
  dual links and do some failover stuff. I'd guess you already had
  modems for those links ?

 That helps.  Finally found the following 4 that seem to fit the bill, no
 clue about availability in India:

 http://d-link.ca/products/?pid=452sec=2 (around $130)


 http://www.zyxel.com/web/product_family_detail.php?PC1indexflag=20040908175941CategoryGroupNo=53C4D3B9-98B3-4F1F-A7B2-BED2BBA2A7CA
 (~450 UKP)

 http://www.xrio.com/website/ (~UKP 550)


 http://www.smc-asia.com/v2/index.php?option=com_contenttask=viewid=458Itemid=60
 (~ $450)

 Also considering setting up a USB stick which would do all this and have
 a web front-end for management of links, IP addresses, load balancing
 configuration, etc.  Is such a thing available?

 Regards,

 -- Raju
 --
 Raj Mathur[EMAIL PROTECTED]  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
 PsyTrance  Chill: http://schizoid.in/   ||   It is the mind that moves

 ___
 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/

___
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/