Date: Sat, 3 Feb 1996 13:55:50 +0100 (MET) From: guido@IAEhv.nl (Guido van Rooij) To: freebsd-hackers@freebsd.org Subject: gated config question Message-ID: <199602031255.NAA25678@iaehv.IAEhv.nl>
next in thread | raw e-mail | index | archive | help
Okay all you gated hackers. I am trying to solve a problem.
I have a machine with multiple interfaces. Underneath is the
for my problme relevant part of gated.conf.
ed3 is configured with adres 194.151.68.1, netmask 0xfffffe00.
What I like is that gated sends out rip packets containing entries
for both 194.151.68.0 and 194.151.69.0, both metric 1. In the setup
below, it will only do that for 194.151.68.0. I know that this is
normal because it wants to send out the routing entry on the gateway
itself, and the netmaks gets lost.
I would like to think that it should be possible to configure
gated in such a way that you just enter these two routing entries
in the static section. However, then nothing is send.
How can this be done?
-Guido
# our interfaces should never be timed out
interfaces {
interface 192.168.1.2 passive ;
interface ed3 passive ;
} ;
# configuration for rip protocols
rip yes {
# tell the world about our routes
broadcast;
# metric for non rip routes
defaultmetric 1;
# which routing info do we accept
interface 192.168.1.2 ripout version 1;
interface ed3 ripin ripout version 1;
} ;
static {
default gateway 192.168.1.3 retain;
131.155 gateway 192.168.1.1 retain; # TUE
194.151.68 mask 255.255.254.0 gateway 194.151.68.1 retain;
} ;
# what should we export
export proto rip interface 192.168.1.2 {
proto direct {
194.151.68.0 mask 255.255.254.0 metric 1;
#194.151.69.0 mask 255.255.255.0 refine metric 1;
#194.151.69.0 metric 1;
} ;
proto static {
#194.151.68.0 metric 2;
#194.151.69.0 metric 2;
} ;
} ;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602031255.NAA25678>
