* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
@ 2001-04-25 7:39 ` Arthur van Leeuwen
2001-04-25 12:50 ` Ramin Alidousti
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Arthur van Leeuwen @ 2001-04-25 7:39 UTC (permalink / raw)
To: lartc
On Wed, 25 Apr 2001, Sushil Suresh wrote:
[snip, automatic rerouting when interfaces are downed]
> Is there any means to automise the whole process. The effective aim
> is to utilize the most of all the isps that are available at a moment
> of time.
> ( At the moment we attain this via static routing and we have one
> personal monitoring this round the clock, in case a rerouting is necessary )
Okay, the thing to do is to figure out what this person is doing to check if
the links are up. Once you know this, you put that knowledge into a script
that checks if the link is up and run that script from cron. Depending on
the status of the uplinks you then let the script select one of the possible
static routings and enable it. (Rebuilding routing tables barely hurts
reliability, *especially* if you do not flush the route cache).
Hope this helps.
Doei, Arthur. (The tricky part is the link-state monitoring... at the TCP/IP
level this is theoretically impossible...)
--
/\ / | arthurvl@sci.kun.nl | Work like you don't need the money
/__\ / | A friend is someone with whom | Love like you have never been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody watching
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
2001-04-25 7:39 ` Arthur van Leeuwen
@ 2001-04-25 12:50 ` Ramin Alidousti
2001-04-27 10:41 ` Sushil Suresh
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Ramin Alidousti @ 2001-04-25 12:50 UTC (permalink / raw)
To: lartc
On Wed, Apr 25, 2001 at 09:39:27AM +0200, Arthur van Leeuwen wrote:
> Doei, Arthur. (The tricky part is the link-state monitoring... at the TCP/IP
> level this is theoretically impossible...)
Yes, indeed. There is no special protocol for this. That's why OSPF and
his younger and older brothers have those HELO packets. That's why TCP
has the optional keepalive segments (although, in case of TCP it's an
end-to-end behaviour).
If you know the IP of the next hop router and if that router has not been
instructed to ignore ICMP requests, ping might help. If you don't know
the IP, pinging to the subnet broadcast will also do.
Ramin
>
> --
> /\ / | arthurvl@sci.kun.nl | Work like you don't need the money
> /__\ / | A friend is someone with whom | Love like you have never been hurt
> / \/__ | you can dare to be yourself | Dance like there's nobody watching
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
2001-04-25 7:39 ` Arthur van Leeuwen
2001-04-25 12:50 ` Ramin Alidousti
@ 2001-04-27 10:41 ` Sushil Suresh
2001-04-27 10:49 ` Sushil Suresh
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sushil Suresh @ 2001-04-27 10:41 UTC (permalink / raw)
To: lartc
Hi,
OSFP is a dynamic routing protocol, isn't it. So is dynamic routing
going to solve my problem.
The problem is i do not want to use the best possible path ( cost vise ) to
route a packet. I have to make use of all the availabe bandwitdh of the 3
ISP's in the most efficient manner.
I have read about TEQ traffic equalizer. But it has been mentioned that you
cannot combine 3 different isps to act as one.
As if you are using TEQ at one end, you are bound to have it at the other
end.
with regards,
Sushil Suresh
----- Original Message -----
From: Ramin Alidousti <ramin@UU.NET>
To: Arthur van Leeuwen <arthurvl@sci.kun.nl>
Cc: Sushil Suresh <sushil@svw.com>; <lartc@mailman.ds9a.nl>
Sent: Wednesday, April 25, 2001 6:20 PM
Subject: Re: [LARTC] Will advanced linux routing help me
> On Wed, Apr 25, 2001 at 09:39:27AM +0200, Arthur van Leeuwen wrote:
>
> > Doei, Arthur. (The tricky part is the link-state monitoring... at the
TCP/IP
> > level this is theoretically impossible...)
>
> Yes, indeed. There is no special protocol for this. That's why OSPF and
> his younger and older brothers have those HELO packets. That's why TCP
> has the optional keepalive segments (although, in case of TCP it's an
> end-to-end behaviour).
>
> If you know the IP of the next hop router and if that router has not been
> instructed to ignore ICMP requests, ping might help. If you don't know
> the IP, pinging to the subnet broadcast will also do.
>
> Ramin
>
> >
> > --
> > /\ / | arthurvl@sci.kun.nl | Work like you don't need the
money
> > /__\ / | A friend is someone with whom | Love like you have never
been hurt
> > / \/__ | you can dare to be yourself | Dance like there's nobody
watching
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
` (2 preceding siblings ...)
2001-04-27 10:41 ` Sushil Suresh
@ 2001-04-27 10:49 ` Sushil Suresh
2001-04-27 11:41 ` Arthur van Leeuwen
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Sushil Suresh @ 2001-04-27 10:49 UTC (permalink / raw)
To: lartc
Hi,
At the moment we are using trace and ping to check the availability of a
particular site, and the status of a particular ISP
The problem faced in making use of these commands in a script is that, they
may fail in case of congestion and may be misunderstood as failure of a
particular ISP.
Also how and why do you flush the route cache?
with regards,
Sushil Suresh
----- Original Message -----
From: Arthur van Leeuwen <arthurvl@sci.kun.nl>
To: Sushil Suresh <sushil@svw.com>
Cc: <lartc@mailman.ds9a.nl>
Sent: Wednesday, April 25, 2001 1:09 PM
Subject: Re: [LARTC] Will advanced linux routing help me
> On Wed, 25 Apr 2001, Sushil Suresh wrote:
>
> [snip, automatic rerouting when interfaces are downed]
>
> > Is there any means to automise the whole process. The effective aim
> > is to utilize the most of all the isps that are available at a moment
> > of time.
>
> > ( At the moment we attain this via static routing and we have one
> > personal monitoring this round the clock, in case a rerouting is
necessary )
>
> Okay, the thing to do is to figure out what this person is doing to check
if
> the links are up. Once you know this, you put that knowledge into a script
> that checks if the link is up and run that script from cron. Depending on
> the status of the uplinks you then let the script select one of the
possible
> static routings and enable it. (Rebuilding routing tables barely hurts
> reliability, *especially* if you do not flush the route cache).
>
> Hope this helps.
>
> Doei, Arthur. (The tricky part is the link-state monitoring... at the
TCP/IP
> level this is theoretically impossible...)
>
> --
> /\ / | arthurvl@sci.kun.nl | Work like you don't need the
money
> /__\ / | A friend is someone with whom | Love like you have never been
hurt
> / \/__ | you can dare to be yourself | Dance like there's nobody
watching
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
` (3 preceding siblings ...)
2001-04-27 10:49 ` Sushil Suresh
@ 2001-04-27 11:41 ` Arthur van Leeuwen
2001-04-27 13:30 ` Ramin Alidousti
2001-04-27 13:32 ` Ramin Alidousti
6 siblings, 0 replies; 8+ messages in thread
From: Arthur van Leeuwen @ 2001-04-27 11:41 UTC (permalink / raw)
To: lartc
On Fri, 27 Apr 2001, Sushil Suresh wrote:
> At the moment we are using trace and ping to check the availability of a
> particular site, and the status of a particular ISP
Yes, that is the only thing you can do.
> The problem faced in making use of these commands in a script is that, they
> may fail in case of congestion and may be misunderstood as failure of a
> particular ISP.
Unfortunately, this cannot be helped, unless you have some layer-2
indication of the link still being up (something like carrier detect on
modems). This is not usually the case, however.
> Also how and why do you flush the route cache?
The why is trivial: to make sure the routing code starts off with a clean
slate and you're not surprised by routes you think you have deleted.
The how is equally simple: ip route flush table cache
Doei, Arthur.
--
/\ / | arthurvl@sci.kun.nl | Work like you don't need the money
/__\ / | A friend is someone with whom | Love like you have never been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody watching
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
` (4 preceding siblings ...)
2001-04-27 11:41 ` Arthur van Leeuwen
@ 2001-04-27 13:30 ` Ramin Alidousti
2001-04-27 13:32 ` Ramin Alidousti
6 siblings, 0 replies; 8+ messages in thread
From: Ramin Alidousti @ 2001-04-27 13:30 UTC (permalink / raw)
To: lartc
On Fri, Apr 27, 2001 at 04:07:36PM +0530, Sushil Suresh wrote:
> Hi,
>
> At the moment we are using trace and ping to check the availability of a
> particular site, and the status of a particular ISP
>
> The problem faced in making use of these commands in a script is that, they
> may fail in case of congestion and may be misunderstood as failure of a
> particular ISP.
Your script should not rely on only one missed ping. You should add
some intelligence to the script.
BTW, what do you do with trace?
>
> Also how and why do you flush the route cache?
Arthur covered this just fine ;-)
Ramin
>
> with regards,
> Sushil Suresh
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [LARTC] Will advanced linux routing help me
2001-04-25 2:51 [LARTC] Will advanced linux routing help me Sushil Suresh
` (5 preceding siblings ...)
2001-04-27 13:30 ` Ramin Alidousti
@ 2001-04-27 13:32 ` Ramin Alidousti
6 siblings, 0 replies; 8+ messages in thread
From: Ramin Alidousti @ 2001-04-27 13:32 UTC (permalink / raw)
To: lartc
On Fri, Apr 27, 2001 at 03:59:49PM +0530, Sushil Suresh wrote:
> Hi,
>
> OSFP is a dynamic routing protocol, isn't it. So is dynamic routing
> going to solve my problem.
No. You cannot run a routing protocol on your own. It needs
the ISP's co-operation.
>
> The problem is i do not want to use the best possible path ( cost vise ) to
> route a packet. I have to make use of all the availabe bandwitdh of the 3
> ISP's in the most efficient manner.
TC is the way to go !!
Ramin
>
> I have read about TEQ traffic equalizer. But it has been mentioned that you
> cannot combine 3 different isps to act as one.
> As if you are using TEQ at one end, you are bound to have it at the other
> end.
>
> with regards,
> Sushil Suresh
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread