Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 1996 13:44:38 +0000
From:      "James Gardiner [hunter]" <james@planetx.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   Setting PPP netmask! HOW!
Message-ID:  <32872DC6.41C67EA6@planetx.com.au>

next in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32872DC6.41C67EA6>