Date: Thu, 14 Feb 2002 14:44:47 -0600 From: "Jay Austad" <austad@marketwatch.com> To: <freebsd-net@FreeBSD.ORG> Subject: gated config Message-ID: <54180709DD3FE145917BB165AFE7EFA002E0D4DC@mspexch2.office.mktw.net>
next in thread | raw e-mail | index | archive | help
Ok, I'm trying to use gated. Here's my setup... I have 2 machines in
different offices, each with an internal and external ethernet
interface. There is a gif0 tunnel between the external interfaces tied
down to a 10.x.x.x address assigned to lo1.
I've tried using the following config:
bgp off;
egp off;
ospf off;
rip on {
broadcast;
interface fxp0;
interface gif0;
interface fxp1 noripin noripout;
};
export proto rip interface gif0 {
proto direct {
10.20.0.0 mask 255.255.0.0 metric 1;
10.254.254.76 mask 255.255.255.252 metric 1;
};
};
export proto rip interface fxp0 {
proto direct {
10.20.0.0 mask 255.255.0.0 metric 1;
10.254.254.76 mask 255.255.255.252 metric 1;
};
};
import proto rip interface gif0 {
all;
};
import proto rip interface fxp0 {
all;
};
However, it doesn't seem to send out any routing updates over the gif0
tunnel. What am I doing wrong? I need to make sure it doesn't accept
or broadcast routes out the fxp1 interface also. And it also should
*not* broadcast a default route.
It needs to send routes acquired from other routers on each network
across the tunnel and be broadcast out to the other network.
I guess OSPF would work also. Does anyone have a working config for
this type of situation that they could post? (either ospf or rip)
Or any working config for that matter?
Thanks.
Jay
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54180709DD3FE145917BB165AFE7EFA002E0D4DC>
