Date: Wed, 8 Jan 1997 23:13:24 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: mgessner@aristar.com (Matthew A. Gessner) Cc: hackers@freebsd.org (hackers) Subject: Re: ppp -direct problems Message-ID: <Mutt.19970108231324.j@uriah.heep.sax.de> In-Reply-To: <32D40441.41C67EA6@aristar.com>; from Matthew A. Gessner on Jan 8, 1997 15:32:01 -0500 References: <32D40441.41C67EA6@aristar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As Matthew A. Gessner wrote: > #1: if my "remote" machine is 10.0.0.123 and my "host" is 10.0.0.3 how > do I > > a) set up tun0 (or do I use tun1 since I have a modem)? You don't -- PPP will do this for you. > b) set up the 'ifaddr' in ppp.secret and ppp.conf Not in ppp.secret, but in ppp.conf: set ifaddr 10.0.0.3 10.0.0.123 Note the leading space. I think you are also allowed to specify address ranges by appending a ``/<number of bits>'', so both PPPs can negotiate the address. One extreme of this is: set ifaddr 0.0.0.0/0 10.0.0.123 Your own address can become anything then, while you insist of a particular remote address. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970108231324.j>