From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,134aa64725de4404 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-05 17:10:35 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!pingpong.pa.dec.com!stuart From: stuart@pingpong.pa.dec.com (Stephen Stuart) Newsgroups: comp.unix.osf.osf1 Subject: Re: two routers advertising default? Date: 5 Oct 1994 21:10:52 GMT Organization: Digital Equipment Corporation, Palo Alto, CA, USA Message-ID: <36v4os$jv5$2@usenet.pa.dec.com> References: NNTP-Posting-Host: pingpong.pa.dec.com X-Newsreader: TIN [version 1.2 PL2] System Janitor (hubcap@hubcap.clemson.edu) wrote: : Is it OK to have two routers on a subnet advertising default? Our : network manager thinks it is OK, and it doesn't seem to be causing : too many problems in general, but it makes this ALPHA (still running : 1.3, soon to be upgraded to 3.0) go haywire. Thousands of routes to : places you could generally care less about (Class A network 1 for : example). I have Alpha AXP systems running OSF/1 on dual-connected subnets such as you describe, and I haven't seen this problem. : For the time being, I have turned off routed, and put in a static : route to the campus gateway router. Another thing I might try is : to see what happens if I turn on gated configured to listen to RIP. : Regardless of all that... is it a good idea to have two routers : advertising default? Having two routers advertise default is not only fine, but can be desirable in some situations. Whenever I have two routers advertising default on the same network, I cause one to increase the cost metric such that one is "preferable". In gated-speak: rip yes { interface x.x.x.x metricout 1 ; } ; One router specifies the "subnet" interface, and the other specifies the "backbone" interface. The routers will thus be biased in different directions: one will tend to forward traffic from the subnet to the backbone, and the other from the backbone to the subnet. If one goes down, the other will carry all traffic - no action required. I would suggest running gated on the Alpha using the following configuration file: traceoptions "/usr/spool/log/gated" replace size 300k files 3 none ; rip yes { nobroadcast ; traceoptions packets route ; } ; The "nobroadcast" clause causes gated to behave like "routed -q". The traceoptions clause will cause packets and routing table changes to get logged. PLEASE make sure directory "/usr/spool/log" exists, and has roughly a megabyte of free space. If the routing table ends up having a lot of weird stuff in it, check the log to see if the RIP packets you're getting are sensible and the routes installed are in any way related to the RIP packets received. -- - ----- Stephen Stuart stuart@pa.dec.com Network Systems Laboratory Digital Equipment Corporation