[comp.protocols.tcp-ip] Question about route vs. routed

roy@phri.UUCP (Roy Smith) (02/22/89)

	I'm sure this is a naive question, but could somebody give me a
quick rundown on what /etc/route and /etc/routed do on BSD unix?  We're on
an ethernet with only one connection to the Internet.  People have told me
that instead of running routed on each of my diskless workstations, all I
really have to do is run route from /etc/rc to set up a default route to a
gateway host.  Will I see any difference in performance?  What happens when
that default gateway host goes down?  How will the machines know to switch
to another gateway.

	I'm sure you can tell, from the level of the questions, that I'm
sort of new to this internetworking game.  Maybe somebody could point me at
the appropriate reading material (RFCs, etc) to fill me in on all this
routing magic?
-- 
Roy Smith, System Administrator
Public Health Research Institute
{allegra,philabs,cmcl2,rutgers}!phri!roy -or- phri!roy@uunet.uu.net
"The connector is the network"

hutton@s3sun (Thomas Hutton) (02/22/89)

Routed is the routing daemon which speaks RIP.  This is used to pass routing
information between hosts in a domain (eg company, campus, etc).  This is 
called an "interior protocol" as it only is used within your domain.  
The information is used to route between systems and ethernets under
your control.

Since you state that you only have one connection to the internet, that is 
your gateway (and default route).  In your rc file comment out the /etc/routed 
lines and add a line of the form

/etc/route add 0 gatewayhost 2   

where gateway host is your system that talks to the internet.  Since this is
your only path out,  and you only have one ethernet, all your packets for off
site destinations should go to that gateway.

There is really no reason to want to run any interior routing in your case.

Thomas Hutton
hutton@scubed.com