GateD R3_5 Operations

Starting GateD at boot time

GateD is usually started from /etc/rc.local at system startup (boot) time. GateD is preferably started after the partition it resides in is mounted and after syslog (8) has been started. It is acceptable to start GateD before the interfaces have been enabled with ifconfig (8), but it may be started later if desired. GateD must be started before starting any programs that require routing information, for example NFS mounts from systems on different neworks or xntpd (8).

Starting GateD directly

Usually a few lines like the following is added to /etc/rc.local to start GateD:

if [ -f /etc/gated.conf -a -f /usr/local/sbin/gated ]; then
	/usr/local/sbin/gated ;	echo -n "gated "

Starting GateD with Gdc

Starting GateD with Gdc is required when some system resources are inadequate to run gated. Again, a few lines need to be added to /etc/rc.local:

if [ -f /etc/gated.conf -a -f /usr/local/bin/gdc ]; then
    /usr/local/bin/gdc [ flags ] start ; echo -n "gated(via gdc) " ;
Where flags are any Gdc options.

Controlling GateD

GateD is normally controlled via the gdc utility, but may be controlled directly. See the Gdc Manual Page and GateD Manual Page for more information.

Checking GateD status

Using gdc it is possible to obtain a status dump from GateD. It is also possible to query GateD for information about the RIP and OSPF protocols with the ripquery and ospf_monitor utilities. See the Ripquery Manual Page and Ospf_monitor Manual Page for more information.
Last updated 1994/03/16 21:39:06.