From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,911fbd590ff94e1b X-Google-Attributes: gidfee84,public X-Google-Thread: f9325,911fbd590ff94e1b X-Google-Attributes: gidf9325,public From: curt@cynic.portal.ca (Curt Sampson) Subject: Re: Redundant networks, what do I need to run? Date: 1996/06/22 Message-ID: <4qh990$9am@cynic.portal.ca>#1/1 X-Deja-AN: 161577301 references: <4qa3vp$lpg@web.nmti.com> organization: Internet Portal Services, Inc. newsgroups: comp.protocols.tcp-ip,comp.unix.osf.osf1 In article <4qa3vp$lpg@web.nmti.com>, Peter da Silva 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.