Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!newton!lgy From: lgy@phys.washington.edu (Laurence G. Yaffe) Newsgroups: comp.sys.mips Subject: Re: gated configuration problem Keywords: gated defaultgateway Message-ID: Date: 14 Nov 90 02:31:38 GMT References: <1990Nov13.184853.20015@groucho> Sender: news@milton.u.washington.edu Distribution: na Lines: 33 pbickers@groucho writes: >On a Magnum 3000 under RISCos/4.51 I'm having a small networking problem. [Describes problems configuring routed and/or gated.] >There is a simple solution. My local subnet has only one gateway. >Thanks. >-- >Paul Bickerstaff Internet: pbickers@neon.chem.uidaho.edu >Physics Dept., Univ. of Idaho Phone: (208) 885 6809 >Moscow ID 83843, USA FAX: (208) 885 6173 Since you only need a static route to a default gateway, you might as well not run either routed or gated. Instead just call 'route' to add the default gateway. I do this, and place the following lines at the very end of the netdaemons_start() routine in /etc/init.d/netdaemons: # Add routing commands here # Example: "route add destination gateway 1" # route add 0.0.0.0 oreck 1 ("oreck" is the name of my gateway, with its IP address defined in /etc/hosts.) Placing the "route" command as the last thing in the netdaemons script is cosmetic - it prevents the output line produced by route from interrupting the list of deamons which gets echoed to the console when booting. -- -------------------------------------------------------------------------- Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu University of Washington Bitnet: yaffe@uwaphast.bitnet