Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!RICHTER.MIT.EDU!krowitz From: krowitz@RICHTER.MIT.EDU (David Krowitz) Newsgroups: comp.sys.apollo Subject: SR10.1 TCP/IP question ... Message-ID: <8904181910.AA07281@richter.mit.edu> Date: 18 Apr 89 19:10:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 46 I've nstalled SR10.1 on my DN560 using the /etc/hosts files (as opposed to name servers). The DN560 is attached to our ringnet which, in turn, is connected to our campus etheret by a DN660 running SR9.7 and Domain TCP 3.1 (the AEGIS TCP/IP). The ringnet is net 18.138 (using a subnet mask of 255.255.0.0) and the campus ethernet segment for our building is 18.83. We use the /etc/rc.local file distributed with sr10.1 pretty much as it cam (starts up /etc/tcpd, runs /etc/iconfig with the command /etc/ifconfig net0 `/etc/hostname` netmask defaultmask runs /etc/routed with the -f and -h options [as it is set up in the distributed file], and then starts inetd). The name 'defaultmask' is defined in /etc/hosts as 255.255.0.0, yet when the machine is booted, we can not connect to any machine (ie. ping, telet or ftp) not on the local ringnet *unless* the rip_server (the AEGIS TCP/IP routing daemon) was running on the gateway at the time the sr10 node was booted. The /etc/hosts file lists both an address on the Apollo ringnet and the campus ethernet for the gateway node, and the subnet mask should have been defined correctly by the 'ifconfig' command, yet we can not access the campus ethernet unless the routing daemon was running on the sr9.7 machine whch is the gateway. I've tried several different variations on the /etc/hosts file (removing comments, changing the order of entries, etc), hardwired the subnet mask into the 'ifconfig' command, etc. and the only thing which seems to make a difference is the presense of the routing daemon on the gateway node. I understand that the '-f' option of /etc/routed clears the tcp daemon's routing table pror to reloading it with fresh info, but shouldn't it fall back on the /etc/hosts file when the info can't be found in the internal tables? When I add a new host to /etc/hosts I can access it immediately whether or not the machine is on my local ringnet or on a remote network. Should I not be running /etc/outed on a non-gateway node? The tcp manual for sr10 and the defaults in the /etc/rc.local file suggest that I should be running it. -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter@eddie.mit.edu krowitz%richter@athena.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)