* TCP buffered data, how to force TCP to retry sooner
1996-06-19 4:00 Redundant networks, what do I need to run? Peter da Silva
@ 1996-06-20 4:00 ` Peter da Silva
1996-06-27 4:00 ` Curt Sampson
1996-06-20 4:00 ` Redundant networks, what do I need to run? Herbert Falk
1996-06-22 4:00 ` Curt Sampson
2 siblings, 1 reply; 8+ messages in thread
From: Peter da Silva @ 1996-06-20 4:00 UTC (permalink / raw)
In article <4qa3vp$lpg@web.nmti.com>, Peter da Silva <peter@nmti.com> wrote:
> Scenario: A number of Alpha-based servers and workstations, each with
> two ethernet cards, running between two parallel redundant lans:
[...]
Another consideration is, if we have a TCP connection that has backed
way off while the failure of the primary LAN was detected and the routing
was patched up underneath it, how do we "kick" it to retry?
Again, we don't have the source to the application involved, so we need
to do this from the outside.
Thanks in advance for any information.
--
Peter da Silva (NIC: PJD2) `-_-' 1601 Industrial Boulevard
Bailey Network Management 'U` Sugar Land, TX 77487-5013
+1 713 274 5180 "Har du kramat din varg idag?" USA
Bailey pays for my technical expertise. My opinions probably scare them
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: TCP buffered data, how to force TCP to retry sooner
1996-06-20 4:00 ` TCP buffered data, how to force TCP to retry sooner Peter da Silva
@ 1996-06-27 4:00 ` Curt Sampson
1996-06-28 4:00 ` Peter da Silva
0 siblings, 1 reply; 8+ messages in thread
From: Curt Sampson @ 1996-06-27 4:00 UTC (permalink / raw)
In article <4qccqv$c5v@web.nmti.com>, Peter da Silva <peter@nmti.com> wrote:
>
>Another consideration is, if we have a TCP connection that has backed
>way off while the failure of the primary LAN was detected and the routing
>was patched up underneath it, how do we "kick" it to retry?
>
>Again, we don't have the source to the application involved, so we need
>to do this from the outside.
You don't need the source to your application, you need the source to your
TCP stack. :-)
I should think the easiest thing would be just to leave it be; a timeout
in the TCP layer will occur and the retry will happen automatically.
cjs
--
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: TCP buffered data, how to force TCP to retry sooner
1996-06-27 4:00 ` Curt Sampson
@ 1996-06-28 4:00 ` Peter da Silva
0 siblings, 0 replies; 8+ messages in thread
From: Peter da Silva @ 1996-06-28 4:00 UTC (permalink / raw)
In article <4qv8un$k9@cynic.portal.ca>,
Curt Sampson <curt@cynic.portal.ca> wrote:
> I should think the easiest thing would be just to leave it be; a timeout
> in the TCP layer will occur and the retry will happen automatically.
Unfortunately, before that happens we start running out of buffers.
*sigh*
--
Peter da Silva (NIC: PJD2) `-_-' 1601 Industrial Boulevard
Bailey Network Management 'U` Sugar Land, TX 77487-5013
+1 713 274 5180 "Har du kramat din varg idag?" USA
Bailey pays for my technical expertise. My opinions probably scare them
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Redundant networks, what do I need to run?
1996-06-19 4:00 Redundant networks, what do I need to run? Peter da Silva
1996-06-20 4:00 ` TCP buffered data, how to force TCP to retry sooner Peter da Silva
@ 1996-06-20 4:00 ` Herbert Falk
1996-06-25 4:00 ` Pascal PERROT
1996-06-22 4:00 ` Curt Sampson
2 siblings, 1 reply; 8+ messages in thread
From: Herbert Falk @ 1996-06-20 4:00 UTC (permalink / raw)
peter@nmti.com (Peter da Silva) wrote:
>Scenario: A number of Alpha-based servers and workstations, each with
>two ethernet cards, running between two parallel redundant lans:
> X.X.3 --------------------------------------------------
> | X.X.3.1 | X.X.3.2 | X.X.3.3
> | | |
> +---+ +---+ +---+
> | | | | | |
> +---+ +---+ +---+
> | | |
> | X.X.1.1 | X.X.1.2 | X.X.1.3
> X.X.1 --------------------------------------------------
>We have applications running on the primary LAN (X.X.3), but if the LAN
>fails we want the packets to all get routed over the backup LAN (X.X.1).
>We don't have access to the source of all the apps, so we need to
>automatically update the routing tables so that packets for X.X.3 get
>routed to X.X.1. I originally thought that just running routed -q
>would do this... apparently not.
>We can detect when the lan goes down and do the switch ourselves, but
>is there any existing software that does this automatically? If there's
>some option to gated or routed that would handle it that would be
>optimal.
>--
>Peter da Silva (NIC: PJD2) `-_-' 1601 Industrial Boulevard
>Bailey Network Management 'U` Sugar Land, TX 77487-5013
>+1 713 274 5180 "Har du kramat din varg idag?" USA
>Bailey pays for my technical expertise. My opinions probably scare them
Cabletron makes an AUI transceiver that could do the failover
automatcially.
Herbert Falk
SISCO
6605 19-1/2 Mile Road
Sterling Heights, MI. 48314
Phone: 810-254-0020
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Redundant networks, what do I need to run?
1996-06-19 4:00 Redundant networks, what do I need to run? Peter da Silva
1996-06-20 4:00 ` TCP buffered data, how to force TCP to retry sooner Peter da Silva
1996-06-20 4:00 ` Redundant networks, what do I need to run? Herbert Falk
@ 1996-06-22 4:00 ` Curt Sampson
2 siblings, 0 replies; 8+ messages in thread
From: Curt Sampson @ 1996-06-22 4:00 UTC (permalink / raw)
In article <4qa3vp$lpg@web.nmti.com>, Peter da Silva <peter@nmti.com> wrote:
>We don't have access to the source of all the apps, so we need to
>automatically update the routing tables so that packets for X.X.3 get
>routed to X.X.1. I originally thought that just running routed -q
>would do this... apparently not.
Well, no. The problem is that you've got x.x.3.1 talking to x.x.3.2,
not x.x.1.2. So when x.x.3.0 goes down, now it x.x.3.1 would have
to see a route to x.x.3.2 on the x.x.1.1 interface, which is not
going to work if it also knows that it's directly connected to
x.x.3.0 through another card. And regardless, you probably want to
make sure that traffic for x.x.3.2 goes to that machine directly,
and doesn't go to another machine advertising itself as a gateway
and then get routed across what remains of the x.x.3.0 network (if
that even still works).
>We can detect when the lan goes down and do the switch ourselves, but
>is there any existing software that does this automatically? If there's
>some option to gated or routed that would handle it that would be
>optimal.
Presumably you want a fast cutover, so what about doing something
like this? Set up gated on all the systems, and have each system
broadcast a host route through the x.x.1.x interface to its x.x.3.x
address. This gives your machine lower priority alternate routes
to x.x.3.x machines through the x.x.1.x network.
Now, when your x.x.3.x network goes down, detect it through whatever
means you like and ifconfig the interface down. (Gated will decide
an interface is down anyway when it stops receiving routing protocol
packets on that interface, but this can take a couple of minutes.)
Now gated should install the lower priority routes to the x.x.3.x
machines through the x.x.1.x network into the kernal routing table,
and connectivity should be restored.
If you've got questions about getting host routes broadcast by
gated, drop me a note; it was a bit tricky when I was doing it,
and I can't remember off-hand what I had to do.
cjs
--
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.
^ permalink raw reply [flat|nested] 8+ messages in thread