Remove references to gated, which is not distributed with freebsd for a
long time already. PR: 51407 (Found after removing the information) Submitted by: Bruce Cran
This commit is contained in:
parent
7a168adbe6
commit
2d0f03154a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32898
1 changed files with 0 additions and 91 deletions
|
@ -3190,97 +3190,6 @@ Shelmerg dc-slip sl-helmerg 0xfffffc00 autocomp</programlisting
|
||||||
troubleshooting/tweaking may be necessary to get
|
troubleshooting/tweaking may be necessary to get
|
||||||
static-route-based routing to work.</para>
|
static-route-based routing to work.</para>
|
||||||
</sect4>
|
</sect4>
|
||||||
|
|
||||||
<sect4>
|
|
||||||
<title>Running <application>&gated;</application></title>
|
|
||||||
<indexterm>
|
|
||||||
<primary><application>&gated;</application></primary>
|
|
||||||
</indexterm>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para><application>&gated;</application> is proprietary software now
|
|
||||||
and will not be available as source code to the public anymore
|
|
||||||
(more info on the <ulink
|
|
||||||
url="http://www.gated.org/">&gated;</ulink> website). This
|
|
||||||
section only exists to ensure backwards compatibility for
|
|
||||||
those that are still using an older version.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>An alternative to the headaches of static routes is to
|
|
||||||
install <application>&gated;</application> on your FreeBSD SLIP
|
|
||||||
server and configure it to use the appropriate routing protocols
|
|
||||||
(RIP/OSPF/BGP/EGP) to tell other routers about your SLIP
|
|
||||||
subnet. You will need to write a
|
|
||||||
<filename>/etc/gated.conf</filename> file to configure your
|
|
||||||
<application>&gated;</application>; here is a sample, similar to
|
|
||||||
what the author used on a FreeBSD SLIP server:</para>
|
|
||||||
|
|
||||||
<programlisting>#
|
|
||||||
# gated configuration file for dc.dsu.edu; for gated version 3.5alpha5
|
|
||||||
# Only broadcast RIP information for xxx.xxx.yy out the ed Ethernet interface
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# tracing options
|
|
||||||
#
|
|
||||||
traceoptions "/var/tmp/gated.output" replace size 100k files 2 general ;
|
|
||||||
|
|
||||||
rip yes {
|
|
||||||
interface sl noripout noripin ;
|
|
||||||
interface ed ripin ripout version 1 ;
|
|
||||||
traceoptions route ;
|
|
||||||
} ;
|
|
||||||
|
|
||||||
#
|
|
||||||
# Turn on a bunch of tracing info for the interface to the kernel:
|
|
||||||
kernel {
|
|
||||||
traceoptions remnants request routes info interface ;
|
|
||||||
} ;
|
|
||||||
|
|
||||||
#
|
|
||||||
# Propagate the route to xxx.xxx.yy out the Ethernet interface via RIP
|
|
||||||
#
|
|
||||||
|
|
||||||
export proto rip interface ed {
|
|
||||||
proto direct {
|
|
||||||
<replaceable>xxx.xxx.yy</replaceable> mask 255.255.252.0 metric 1; # SLIP connections
|
|
||||||
} ;
|
|
||||||
} ;
|
|
||||||
|
|
||||||
#
|
|
||||||
# Accept routes from RIP via ed Ethernet interfaces
|
|
||||||
|
|
||||||
import proto rip interface ed {
|
|
||||||
all ;
|
|
||||||
} ;</programlisting>
|
|
||||||
|
|
||||||
<indexterm><primary>RIP</primary></indexterm>
|
|
||||||
<para>The above sample <filename>gated.conf</filename> file
|
|
||||||
broadcasts routing information regarding the SLIP subnet
|
|
||||||
<replaceable>xxx.xxx.yy</replaceable> via RIP onto the
|
|
||||||
Ethernet; if you are using a different Ethernet driver than
|
|
||||||
the <devicename>ed</devicename> driver, you will need to
|
|
||||||
change the references to the <devicename>ed</devicename>
|
|
||||||
interface appropriately. This sample file also sets up
|
|
||||||
tracing to <filename>/var/tmp/gated.output</filename> for
|
|
||||||
debugging <application>&gated;</application>'s activity; you can
|
|
||||||
certainly turn off the tracing options if
|
|
||||||
<application>&gated;</application> works correctly for you. You
|
|
||||||
will need to change the <replaceable>xxx.xxx.yy</replaceable>'s
|
|
||||||
into the network address of your own SLIP subnet (be sure to change
|
|
||||||
the net mask in the <literal>proto direct</literal> clause as
|
|
||||||
well).</para>
|
|
||||||
|
|
||||||
<para>Once you have installed and configured
|
|
||||||
<application>&gated;</application> on your system, you will need to
|
|
||||||
tell the FreeBSD startup scripts to run
|
|
||||||
<application>&gated;</application> in place of
|
|
||||||
<application>routed</application>. The easiest way to accomplish
|
|
||||||
this is to set the <varname>router</varname> and
|
|
||||||
<varname>router_flags</varname> variables in
|
|
||||||
<filename>/etc/rc.conf</filename>. Please see the manual
|
|
||||||
page for <application>&gated;</application> for information on
|
|
||||||
command-line parameters.</para>
|
|
||||||
</sect4>
|
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
Loading…
Reference in a new issue