Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ogicse!uidaho!pbickers From: pbickers@groucho Newsgroups: comp.sys.mips Subject: gated configuration problem Summary: how to configure a default gateway? Keywords: gated defaultgateway Message-ID: <1990Nov13.184853.20015@groucho> Date: 13 Nov 90 18:48:53 GMT Sender: pbickers@tamaluit.phys.uidaho.edu Reply-To: pbickers@neon.chem.uidaho.edu (Paul Bickerstaff) Distribution: na Organization: University of Idaho, Moscow Lines: 43 On a Magnum 3000 under RISCos/4.51 I'm having a small networking problem. The system was shipped with routed installed but it only works to a certain extent. We're part of NorthWestNet (part of Internet) and my routing tables let me get (apparently) anywhere in the Northwest but they do not let me access prep.ai.mit.edu for example (network unreachable). There is a simple solution. My local subnet has only one gateway. If I add this to the routing tables as a default then everything goes out and other gateways in NorthWestNet handle the connections to other networks. I have tried running gated. I have version 1.9.1.3 (shipped with the OS). A simple configuration is easy to set up, even for me! But, same problem. Now, according to the man page gated can be configured via the conf file to have a defaultgateway added statically to the tables. Sounds simple, just add a line defaultgateway ... to gated.conf and off we go. But if I follow the man page for this I get an initialization error on booting. Some rt_dumb message and gated doesn't work at all. Does this mean route_dumb or root_dumb? :-) Actually the man page instructions look wrong. I would have expected to have to add a metric and proto looks as though it should be proto type. However several variants have all led to the same error. So my questions are: 1) How am I supposed to configure a default gateway or is gated bust? 2) If I opt for static routing, which seems best for my situation anyway (what are the pros and cons, given possible local changes?) where should I add the /etc/route add ... lines? The usual place is /etc/rc.local but what is best on a mips, some rc file, /etc/init.d/netdaemons, /etc/init.d/tcp or someplace else? 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