Subject: Re: pppd doesn't allow "netmask 255.255.255.255"
To: None <netbsd-bugs@NetBSD.ORG>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 11/21/1996 00:02:14
In article <199611201715.MAA14428@heathers.stdio.com>,
	risner@heathers.stdio.com (James Risner) writes:
> Am I confused, or is this wrong?

No comment. :-)

> When is a netmask for a ppp interface valid at 255.255.255.255?

tron@jehova:~>ifconfig -a
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST>
        inet 194.121.202.132 netmask 0xfffffff8 broadcast 194.121.202.135
lo0: flags=8009<UP,LOOPBACK,MULTICAST>
        inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=51<UP,POINTOPOINT,RUNNING>
        inet 194.121.202.132 --> 194.121.202.185 netmask 0xffffffff 
ppp1: flags=51<UP,POINTOPOINT,RUNNING>
        inet 194.121.202.132 --> 194.121.202.137 netmask 0xffffffff 

> I don't understand how a netmask of all f's could ever be correct?

Point to point.

> Since when is a netmask even needed for a point to point link?

Yes, I asked myself the same question two. But I had a routing a problem
on a NetBSD 1xEthernet 2xPPP router which I fixed by setting the netmask
of the two PPP interfaces to 255.255.255.255.

-- 
Matthias Scheler
tron@lyssa.owl.de