From owner-freebsd-questions Tue Oct 17 08:22:03 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA28106 for questions-outgoing; Tue, 17 Oct 1995 08:22:03 -0700 Received: from phoenix.volant.org (root@phoenix.volant.org [205.179.79.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA28101 for ; Tue, 17 Oct 1995 08:21:58 -0700 From: patl@asimov.volant.org Received: from asimov.volant.org (asimov.volant.org [205.179.79.65]) by phoenix.volant.org (8.6.11/8.6.9) with SMTP id IAA15852 for ; Tue, 17 Oct 1995 08:20:52 -0700 Received: by asimov.volant.org (5.x/SMI-SVR4) id AA17317; Tue, 17 Oct 1995 08:26:43 -0700 Date: Tue, 17 Oct 1995 08:26:43 -0700 Message-Id: <9510171526.AA17317@asimov.volant.org> To: freebsd-questions@freebsd.org Subject: Netmask in iijppp Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Md5: Vem9f4rh6FxEmxsJhoDaqA== Sender: owner-questions@freebsd.org Precedence: bulk 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? (As you have probably inferred, I've split my class C network into subnets; but tun0 is starting up with 0xffffff00 as the netmask instead of 0xffffffc0. For now, I'm fixing it via manual ifconfig; but I'd like to make it automatic; and I want it to actually be linked to the startup of the ppp process rather than an ifconfig in the rc file, if possible.) Thanks, -Pat