[pptp-server] Wrong netmask

Harald Kraemer harry at planlos.org
Sun Jan 14 11:17:44 CST 2001


Hello,

When my Windows 98 client connects to my linux box, it gets the wrong
netmask.

It should be: 255.255.255.0 
But the assigned netmask is: 255.255.0.0

I already tried to add "netmask 255.255.255.0" in the pppd config file,
without result.

My /etc/pptd.conf:

option /etc/ppp/options.pptp
debug
localip 172.16.0.240-245
remoteip 172.16.0.246-250
netmask 255.255.255.0

And /etc/options.pptp:

netmask 255.255.255.0
lock
debug
auth
+chap
proxyarp

I am using the following the following version:

* pptpd-1.0.1
* ppp-2.3.11
* linux-2.2.16

Are there any ideas? 

This matter makes problem with netbios broadcasts. With the wrong 
netmask all broadcasts are send to 172.16.255.255 (which is not 
working) instead of 172.16.0.255.

Greetings from a very cold Munich/Germany
Harald Kraemer




More information about the pptp-server mailing list