From owner-freebsd-isp Tue Mar 25 05:17:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA11178 for isp-outgoing; Tue, 25 Mar 1997 05:17:18 -0800 (PST) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA11169 for ; Tue, 25 Mar 1997 05:17:14 -0800 (PST) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id FAA11257; Tue, 25 Mar 1997 05:16:09 -0800 (PST) Message-ID: <19970325051609.27152@hydrogen.nike.efn.org> Date: Tue, 25 Mar 1997 05:16:09 -0800 From: John-Mark Gurney To: Chris Shenton Cc: freebsd-isp@freebsd.org Subject: Re: routing to a dialup network References: <19970324171847.08324@hydrogen.nike.efn.org> <199703251304.IAA19211@absinthe.i3inc.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=CT7hxwcZjrkORqDW X-Mailer: Mutt 0.67 In-Reply-To: <199703251304.IAA19211@absinthe.i3inc.com>; from Chris Shenton on Tue, Mar 25, 1997 at 08:04:40AM -0500 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk --CT7hxwcZjrkORqDW Content-Type: text/plain; charset=us-ascii Chris Shenton scribbled this message on Mar 25: > On Mon, 24 Mar 1997 17:18:47 -0800 > John-Mark Gurney 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) --CT7hxwcZjrkORqDW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gated.conf" 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 ; }; --CT7hxwcZjrkORqDW--