Date: Thu, 25 Sep 1997 11:20:20 +0200 From: Robin Huiser <robinh@htsa.hva.nl> To: "Daniel C. Konnoff" <daniel@myson.com.tw> Cc: questions@FreeBSD.ORG Subject: Re: ppp and ed1 Message-ID: <342A2CD2.FB37F65D@htsa.hva.nl> References: <Pine.BSF.3.95q.970924172503.12296A-100000@mail.myson.com.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel C. Konnoff wrote: > Hello: > > I have a freebsd 2.2 machine that is connect to my isp through > the ppp interface tun0. There is also an ethernet card in the > machine connected to a local LAN. I would like packets that come > in on the local LAN interface (ed1) to automatically be routed to > the isp through tun0 so that local LAN people may see the isp > also. > How do I set up the correct route? > > Thanks for your time. > > Daniel Konnoff > email: daniel@myson.com.tw You don't. When you start the ppp USER mode program with the following options, ppp will route the packets between the interfaces! Make sure that you have NO routing daemon running at your machine!! /usr/sbin/ppp -auto -alias demand This mode of USER ppp will automatically connect to the internet when necessarily. Greets, -- Robin Huiser ,,, (o o) ()========================oOO==(_)==OOo==========================() Robin Huiser HVA Faculteit Electrotechniek & Informatica E-mail: robinh@htsa.hva.nl Important Unix command: echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?342A2CD2.FB37F65D>