From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Nicholson Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: OSPF Routing updates Date: Mon, 16 Dec 2002 12:16:06 +0000 (GMT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1040040980 32615 80.91.224.249 (16 Dec 2002 12:16:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 12:16:20 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18NuAU-0008Tn-00 for ; Mon, 16 Dec 2002 13:16:18 +0100 Original-Received: (qmail 18261 invoked by uid 5); 16 Dec 2002 12:16:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18252 invoked by uid 49493); 16 Dec 2002 12:16:20 -0000 Original-Received: from jjn@sanger.ac.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-8.1/5.0):. Processed in 0.573039 secs); 16 Dec 2002 12:16:20 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 16 Dec 2002 12:16:19 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7700MK0OQYPL@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Dec 2002 07:16:19 -0500 (EST) Original-Received: from mailsrv1.sanger.ac.uk (mailsrv1.sanger.ac.uk [193.62.207.19]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H77003EVOQW0C@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Dec 2002 07:16:09 -0500 (EST) Original-Received: from localhost (byron [193.60.84.74]) by mailsrv1.sanger.ac.uk (8.12.4/8.12.4) with ESMTP id gBGCG7sP159667 for ; Mon, 16 Dec 2002 12:16:08 +0000 (GMT) X-X-Sender: jjn@trusted6.wireless.sanger.ac.uk Original-To: Alpha OSF managers Xref: main.gmane.org gmane.os.tru64.managers:2736 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2736 Not a 100% fix, but it's good enough... I've basically been trying to be too clever! The only way to make an IP address 'stay up' even if the interface has gone away is to use a loop back address and advertise a route to that. This configuration is getting too complicated! Just using OSPF to listen for routing updates provides the redundancy that is required for the configuration. In the event of a network failure a route is learned through the other interface. Any TCP based services give up at this point as the source address has changed. However any new session will be fine. UDP just carries on. UDP is the important protocol in this case as the service we need to protect is the NFS client. I'd still be interesteed to hear of any improvements to my configuration. The gated.conf file looks like this:- interface all { passive; }; traceoptions "/usr/tmp/gated.log" replace size 100k files 2 general ; routerid 192.168.100.100; ospf yes { traceoptions lsatransmit; backbone { interface tu; }; } ; !--------------------------------------------------------------------------- = Jonathan Nicholson - Team Leader : System Support "Special Projects" = = The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA = = Email: jjn@sanger.ac.uk -=- Tel: 01223 834244 x4987 -=- Fax: 01223 494919 = ---------------------------------------------------------------------------- ---------- Forwarded message ---------- Date: Thu, 12 Dec 2002 20:38:46 +0000 (GMT) From: Jonathan Nicholson To: Alpha OSF managers Subject: Re: OSPF Routing updates Further to this, I've worked out why this doesn't work, but not how to fix it! The DS10s are advertising themselves as a route to the 192.168.101.0/24 network rather than just the host route (192.168.101.100/32) When the switch is still active it has a higher priority and so will perform the routing for the network. When the switch fails (power off) then the ds10 becomes the router, the reason it's only working part of the time is because there's another node that's trying to do the same thing. What I need to work out how to do is to make gated only advertise a host route to the other interface rather than a route to the whole subnet. Regards, Jonathan On Thu, 12 Dec 2002, Jonathan Nicholson wrote: > Hi, > > I'm trying to make a reliable network configuration using OSPF. > > The plan is to use the 2 interfaces on a DS10 into different networks & > switches:- > ______ > _( )_ > (_ OSPF _) > / (______) \ > / \ > / \ > ---------- ---------- > | Switch 1 | | Switch 2 | > | 100.1 | | 101.1 | > ---------- ---------- > | | > | --------------------- | > | | DS10 | | > +-+ tu0 192.168.100.100 | | > | 192.168.101.100 tu1 +-+ > --------------------- > > > The idea is that should switch 2 fail the DS10 will announce a host route > to 192.168.101.100 vi 192.168.100.100 which should be propergated through > the network. > > The I've got the DS10 configured as an IP router (iprsetup -s) and the following > configureation for gated:- > > # Create 2 trace files 100k each in /usr/tmp/gated.log (replace .0, .1...) > > > traceoptions "/usr/tmp/gated.log" replace size 100k files 2 general ; > > routerid 192.168.100.100; > > ospf yes { > traceoptions lsatransmit; > backbone { > interface tu; > }; > } ; > > > However it doesn't seem to work quite right. > > Under certain failure conditions (ie turning the switch off) it works 40% of > the time! > > Has anyone done any configuraiton of this type? > > Regards, > > Jonathan > > > > > !--------------------------------------------------------------------------- > = Jonathan Nicholson - Team Leader : System Support "Special Projects" = > = The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA = > = Email: jjn@sanger.ac.uk -=- Tel: 01223 834244 x4987 -=- Fax: 01223 494919 = > ---------------------------------------------------------------------------- > -- !--------------------------------------------------------------------------- = Jonathan Nicholson - Team Leader : System Support "Special Projects" = = The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs, CB10 1SA = = Email: jjn@sanger.ac.uk -=- Tel: 01223 834244 x4987 -=- Fax: 01223 494919 = ----------------------------------------------------------------------------