From owner-freebsd-isp Tue Mar 4 18:36:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA12533 for isp-outgoing; Tue, 4 Mar 1997 18:36:05 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA12436 for ; Tue, 4 Mar 1997 18:35:29 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.7.3) id NAA22462; Wed, 5 Mar 1997 13:50:25 +1100 (EST) Date: Wed, 5 Mar 1997 13:50:24 +1100 (EST) From: "Daniel O'Callaghan" To: Charles Reese cc: freebsd-isp@freebsd.org Subject: Re: HELP: tun ifconfig for dialin lines In-Reply-To: <1.5.4.32.19970304222350.006ea500@chem.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 4 Mar 1997, Charles Reese wrote: > Could someone please post an example for the ifconfig line in sysconfig for > tun devices (ie ifconfig_tun0= ) for dialin lines. I have looked at the Don't. The ifconfig is handled by ppp when it receives a call. > handbook, but the example is for a dialout line. What do I put for the ISP > (me) address and the remote (customer) address with dynamic addressing. > Also, should I use the actual netmask used by my ethernet (255.255.255.224) > or something else. You should use the netmask of the remote network. The netmask in a point-to-point interface (pppX, tunX, slX) applies to the remote end address, not the local end address. Danny