From owner-freebsd-hackers Wed Jan 8 14:22:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA03867 for hackers-outgoing; Wed, 8 Jan 1997 14:22:59 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA03862 for ; Wed, 8 Jan 1997 14:22:55 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA05856; Wed, 8 Jan 1997 23:22:23 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA23267; Wed, 8 Jan 1997 23:22:23 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id XAA14874; Wed, 8 Jan 1997 23:13:24 +0100 (MET) Message-ID: 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 References: <32D40441.41C67EA6@aristar.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <32D40441.41C67EA6@aristar.com>; from Matthew A. Gessner on Jan 8, 1997 15:32:01 -0500 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ``/'', 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. ;-)