Re: [LARTC] Redundant internet connections.

2007-06-22 Thread Grant Taylor
(Off thread topic.) On 06/22/07 06:54, Gustavo Homem wrote: This is absolutetly the way to do it with ADSL. I could not agree more. Using a modem in bridged mode minimizes the responsability of the modem/router which is a potentially unstable device. Let the stable Linux box do the work

Re: [LARTC] Redundant internet connections.

2007-06-22 Thread Gustavo Homem
On Friday 22 June 2007 15:22, Grant Taylor wrote: (Off thread topic.) On 06/22/07 06:54, Gustavo Homem wrote: This is absolutetly the way to do it with ADSL. I could not agree more. Using a modem in bridged mode minimizes the responsability of the modem/router which is a potentially

Re: [LARTC] Redundant internet connections.

2007-06-22 Thread Grant Taylor
On 06/22/07 09:57, Gustavo Homem wrote: I've done this, but I think it's unreliable for professional use. The USB modems are non-standard so if one burns you can't exchange it for a different one without feasible but time consuming tweaking (tried more then one USB devices...). Even for

Re: [LARTC] Redundant internet connections.

2007-06-22 Thread Grant Taylor
On 06/21/07 17:35, Grant Taylor wrote: The problem with this method is that I have yet to get it to start re-using the primary route when it becomes available again. After doing some more testing and investigation, I think I know why the system appears to not be using the primary route. My

Re: [LARTC] Redundant internet connections. !!!SOLVED!!!

2007-06-22 Thread Grant Taylor
On 06/22/07 13:57, Grant Taylor wrote: I'm now going to test where the two routes are different MAC addresses to see if the traffic does indeed start using the proper rout again. Ok, I have done it and it is working. The short answer is all you need to have backup routes is to enter them in

[LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
(I know that what I'm wanting to do can be done, but for some reason I can not get it to work for the life of me. I think I have been staring at it too long and too closely.) I have two different internet connections from two cooperating ISPs. I also have a small 8 block of IPs that are

RE: [LARTC] Redundant internet connections.

2007-06-21 Thread Salim S I
To: Mail List - Linux Advanced Routing and Traffic Control Subject: [LARTC] Redundant internet connections. (I know that what I'm wanting to do can be done, but for some reason I can not get it to work for the life of me. I think I have been staring at it too long and too closely.) I have two

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Peter Rabbitson
Grant Taylor wrote: I need a way for the Linux kernel to try to use a default gateway and switch to another one if it does not see any traffic. I don't know about any working in-kernel solutions, but you can do it trivially with netfilter and a cronjob: * In netfilter do this: -t

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 10:35, Peter Rabbitson wrote: I don't know about any working in-kernel solutions, but you can do it trivially with netfilter and a cronjob: snip If I understand what you are proposing correctly, it looks like you are jumping to a sub-chain used used only for counting traffic. If

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Peter Rabbitson
Grant Taylor wrote: On 06/21/07 10:35, Peter Rabbitson wrote: I don't know about any working in-kernel solutions, but you can do it trivially with netfilter and a cronjob: snip If I understand what you are proposing correctly, it looks like you are jumping to a sub-chain used used only for

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 11:00, Peter Rabbitson wrote: This is not something I do automatically in netfilter - it is a responsibility of the cron job. *nod* I am counting only INcomming traffic (the -i flag). The source matching is there only for the following reason: consider You -1- Uplink router -2-

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Peter Rabbitson
Grant Taylor wrote: On 06/21/07 11:00, Peter Rabbitson wrote: Ah, here is part of the problem. (eth1) --- (DSL Modem) / DSL Gateway Server --- (DMZ) --- (Linux Router) (eth2) --- (Cable Modem / Cable Gateway Note: Globally routable DMZ

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 11:47, Peter Rabbitson wrote: You are misunderstanding how ICMP works. The modems themselves are hops, and the thing they connect to is another hop. Just look at the first several entries of a traceroute to any destination, and you will see what I mean. If you still do not believe

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Peter Rabbitson
Grant Taylor wrote: No, again, if you are dealing with modem router combos, I'll grant you what you say, but not on bridging modems. *nod* I had several cases when my ISP had problems like the one ou describe below, so the first 2 hops were pingable but nothing outside.l This is why I

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 12:37, Peter Rabbitson wrote: *nod* I had several cases when my ISP had problems like the one you describe below, so the first 2 hops were pingable but nothing outside. This is why I suggested the entire ISP subnet exclusion, just to be on the safe side. *nod* I got to give you

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Alex Samad
On Thu, Jun 21, 2007 at 05:35:13PM +0200, Peter Rabbitson wrote: Grant Taylor wrote: I need a way for the Linux kernel to try to use a default gateway and switch to another one if it does not see any traffic. should something like this work default proto static metric 5 nexthop via

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 16:01, Alex Samad wrote: should something like this work default proto static metric 5 nexthop via 58.173.108.1 dev vlan2 weight 10 nexthop via 10.20.20.106 dev ppp0 weight 20 and then let the dgd detect dead gateways and drop the relevant route about. Doesn't

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Alex Samad
On Thu, Jun 21, 2007 at 04:24:19PM -0500, Grant Taylor wrote: On 06/21/07 16:01, Alex Samad wrote: should something like this work default proto static metric 5 nexthop via 58.173.108.1 dev vlan2 weight 10 nexthop via 10.20.20.106 dev ppp0 weight 20 and then let the dgd

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 17:18, Alex Samad wrote: sorry yep, just woken up, reading and answering whilst eating breakfast *nod* okay then why not default via preffered path default via backup path metric 100 I've done that with a metric of 0/1, and 1/2. The problem that I'm seeing is that the system

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Alex Samad
On Thu, Jun 21, 2007 at 05:23:23PM -0500, Grant Taylor wrote: On 06/21/07 17:18, Alex Samad wrote: sorry yep, just woken up, reading and answering whilst eating breakfast *nod* okay then why not default via preffered path default via backup path metric 100 I've done that with a

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
Ok, after more testing and trying things that others have suggested, I've made some headways. Or at least what I think is some head ways. This is not an answer, just data that I have gathered along the way to help others that are trying to help me. I have determined that either I can not

Re: [LARTC] Redundant internet connections.

2007-06-21 Thread Grant Taylor
On 06/21/07 17:30, Alex Samad wrote: Strange I am running openwrt on a linksys wr54gs with 1 cable and 1 adsl. I load balance, (also have julian patches applied - its 2.4.30), when the routing notices the link is dead, so if i do a ip li. then it marks the routes as dead and stops using them,

RE: [LARTC] Redundant Internet connections [Updated]

2003-10-16 Thread Diogo Nuno P. Gomes
Telecomunicacoes (Aveiro) -Original Message- From: Seth J. Blank [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 15 de Outubro de 2003 18:28 To: [EMAIL PROTECTED] Subject: Re: [LARTC] Redundant Internet connections [Updated] I'm not aware of mii tools, could you give me more information on them

Re: [LARTC] Redundant Internet connections [Updated]

2003-10-15 Thread Seth J. Blank
Yeah, I figured out the problem (stupid mistake on my end) and everything is working now. With one exception. If I pull the cat5 out of eth0 (external interface 1) then everything just hangs. No connections can be made, etc. Pulling the cat5 out of eth1 (external interface 2) has no effect.

Re[2]: [LARTC] Redundant Internet connections [Updated]

2003-10-15 Thread Robert Kurjata
Hi Seth, I cant find anything more than posting my working script for load balancing over two links (it was for three links and I home I didn't remove too much). It has been done strictly by the rules on Nano-HOWTO and works. The main part is the PING section at the end. This ensures that kernel

Re: [LARTC] Redundant Internet connections [Updated]

2003-10-15 Thread Seth J. Blank
Thanks Robert, that's almost exactly what I had (I didn't have ip route flush cache). The problem is, everything is routing fine, and the data is being split evenly over eth0 and eth1, but as soon as I pull the cable out of eth0 (pulling it out of eth1 doesn't seem to matter) the connection

Re: [LARTC] Redundant Internet connections [Updated]

2003-10-14 Thread Seth J. Blank
Robert Kurjata wrote: I have a load balancing setup for 3 uplinks (3 different providers and technologies) w/failover set with http://www.ssi.bg/~ja/ Nano-HOWTO (carefully done By-The-Book - any shortcut and it's gone). I have finished implementing this step by step, and things still do not

Re: [LARTC] Redundant Internet connections [Updated]

2003-10-14 Thread gypsy
Seth J. Blank wrote: I have finished implementing this step by step, and things still do not appear to be working. During the testing phase, I have two problems (output which differs from what the howto says I should get). 1) When I run ip route list table main, only the proper entries for

[LARTC] Redundant Internet connections

2003-10-13 Thread Seth J. Blank
I have a firewall with two redundant internet connections coming in (eth0 and eth1) and an intranet behind eth2. What I am trying to do is have data off of eth2 split evenly between eth0 and eth1, and if one interface goes down, to fully utilize the other. What I'm trying to do is have all

[LARTC] Redundant Internet connections [Updated]

2003-10-13 Thread Seth J. Blank
Sorry, I really wasn't paying attention when I wrote this (i.e. I've had no sleep). I have the routing tables working properly for the internal network. What I need to do is have the routing tables update the gateways when a line is down. i.e.intranet - firewall - router1 -

Re: [LARTC] Redundant Internet connections [Updated]

2003-10-13 Thread Robert Kurjata
Witaj Seth, W Twoim licie datowanym 13 padziernika 2003 (18:24:08) mona przeczyta: SJB Sorry, I really wasn't paying attention when I wrote this (i.e. I've had SJB no sleep). SJB I have the routing tables working properly for the internal network. SJB What I need to do is have the routing