From owner-freebsd-hackers Sun Nov 10 19:48:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA09341 for hackers-outgoing; Sun, 10 Nov 1996 19:48:23 -0800 (PST) Received: from pixel.planetx.com.au (root@pixel2.planetx.com.au [203.16.241.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA09334 for ; Sun, 10 Nov 1996 19:48:11 -0800 (PST) Received: from pixel.planetx.com.au (james@pixel.planetx.com.au [203.16.241.66]) by pixel.planetx.com.au (8.7.5/8.6.12) with SMTP id NAA17662; Mon, 11 Nov 1996 13:44:40 GMT Message-ID: <32872DC6.41C67EA6@planetx.com.au> Date: Mon, 11 Nov 1996 13:44:38 +0000 From: "James Gardiner [hunter]" Organization: Planet X Studios X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Setting PPP netmask! HOW! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello all, I'm using PPP under 2.1.5 to connect to my ISP. I have my own C-Class but currently it is trashed as PPP under freebsd seems to not give you the option to set the netmask!! I have looked through the manuals with no help. I have made many guess attempts in the config files to see if it had any effect NADA! 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! My config follows --- default: set device /dev/cuaa1 set speed 57600 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" iis: set phone xxxxxxxxx set login "TIMEOUT 5 username:-\\r-username: planetx word: xxxxxxxx Number 1" set timeout 9999 set ifaddr 203.16.241.10 203.8.105.10 add 0 0 203.8.105.10 #### set netmask 255.255.255.248 THIS DOES NOT WORK! --- If anyone knows the syntec to effect the netmask above please HELP! Thanks, James Gardiner -- http://www.planetx.com.au/~james