Date: Tue, 25 Mar 1997 05:16:09 -0800 From: John-Mark Gurney <jmg@hydrogen.nike.efn.org> To: Chris Shenton <chris@absinthe.i3inc.com> Cc: freebsd-isp@freebsd.org Subject: Re: routing to a dialup network Message-ID: <19970325051609.27152@hydrogen.nike.efn.org> In-Reply-To: <199703251304.IAA19211@absinthe.i3inc.com>; from Chris Shenton on Tue, Mar 25, 1997 at 08:04:40AM -0500 References: <19970324171847.08324@hydrogen.nike.efn.org> <199703251304.IAA19211@absinthe.i3inc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Chris Shenton scribbled this message on Mar 25:
> On Mon, 24 Mar 1997 17:18:47 -0800
> John-Mark Gurney <jmg@hydrogen.nike.efn.org> wrote:
>
> jmg> actually... with pppd it doesn't support adding a network
> jmg> route... but I happen to have patches to pppd that will allow
> jmg> the adding of a net route... but I've switched to gated in favor
> jmg> of my patches...
>
> Could some of you folks who use gated post your gated.conf file? I've
> beaten my head against it and kina gotten it to work, despite the www
> docs (no explanation, just syntax) and lack of books (covers old
> version).
>
> What I need it to do is route to my /28 subnet once my PPP link comes
> up, like
>
> ether 206.27.236.230/28 (my subnet)
> ppp 206.27.236.x -> 206.27.236.x++ (dynamically assigned)
>
>
> with appropriate subnet masks.
>
> Some examples would really help. Thanks.
sure... attached is the gated.conf file that I use on my diskless terminal
server... it currently only routes for one remote subnet... and has a
default route through another slip link...
also note that I am using the reserved addresses are the other end of the
link is slirp which does the automatic rewriting of the packets... hope this
helps... and also.. I'm not a gated expert either... but this works for
me... ttyl...
--
John-Mark
Modem/FAX: (541) 683-6954 (FreeBSD Box)
Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)
[-- Attachment #2 --]
options gendefault gateway 192.168.0.1 ;
rip yes {
interface sl noripin ripout ;
interface ppp noripin ripout ;
interface ed ripin ripout ;
sourcegateways 192.168.0.1;
};
static {
192.168.3.0 mask 255.255.255.0 gateway 192.168.3.1;
default gateway 128.223.170.28;
};
import proto rip {
default;
ALL;
};
export proto rip {
proto static ;
proto direct ;
proto rip ;
};
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970325051609.27152>
