From owner-freebsd-hackers Mon Nov 11 08:37:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA24405 for hackers-outgoing; Mon, 11 Nov 1996 08:37:59 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA24394 for ; Mon, 11 Nov 1996 08:37:53 -0800 (PST) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <19527(7)>; Mon, 11 Nov 1996 08:37:16 PST Received: from localhost by crevenia.parc.xerox.com with SMTP id <177557>; Mon, 11 Nov 1996 08:37:04 -0800 To: roberto@keltia.freenix.fr (Ollivier Robert) cc: freebsd-hackers@freebsd.org Subject: Re: Setting PPP netmask! HOW! In-reply-to: Your message of "Sun, 10 Nov 96 22:39:41 PST." Date: Mon, 11 Nov 1996 08:37:04 PST From: Bill Fenner Message-Id: <96Nov11.083704pst.177557@crevenia.parc.xerox.com> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message you write: >According to James Gardiner [hunter]: >> Anyway, what I need is to change the following >> --- >> ifconfig tun0 >> tun0: flags=8051 mtu 1500 >> inet 203.16.241.10 --> 203.8.105.10 netmask 0xffffff00 >> --- >> so the netmask is 0xfffffff8. >> If anyone knows how to do this I would love to know! If ppp won't do it for you properly, you can always set it after ppp configures it; just say "ifconfig tun0 netmask 0xfffffff8". Bill