From owner-freebsd-questions Wed Oct 18 17:00:35 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA02686 for questions-outgoing; Wed, 18 Oct 1995 17:00:35 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA02681 for ; Wed, 18 Oct 1995 17:00:33 -0700 Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id QAA28445 for ; Wed, 18 Oct 1995 16:58:55 -0700 Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (8.6.11/8.6.11) with SMTP id XAA04109 ; Wed, 18 Oct 1995 23:32:54 +0100 To: patl@asimov.volant.org cc: freebsd-questions@freebsd.org Subject: Re: Netmask in iijppp In-reply-to: Your message of "Tue, 17 Oct 1995 08:26:43 PDT." <9510171526.AA17317@asimov.volant.org> Date: Wed, 18 Oct 1995 23:32:51 +0100 Message-ID: <4107.814055571@palmer.demon.co.uk> From: Gary Palmer Sender: owner-questions@freebsd.org Precedence: bulk patl@asimov.volant.org stands accused of writing in message ID <9510171526.AA17317@asimov.volant.org>: >Can I set the netmask in the ppp.conf or ppp.linkup file? If so, how? >If not, what is the right way/place to set a netmask for a tun device >used as a full-time link? As an occasional link? If (like me) you are using dial-on-demand, the netmask is set (AFAIK) by the mask used in the ``add 0 '' statement. e.g. I have: add 0 255.255.0.0 158.152.1.194 as my ISP runs a Class B network and I use 158.152.1.194 as my default router... (I have a single IP allocated by my ISP, so I don't have to worry a lot about subnetting. My ether is on a private IP range) Gary