Re: [PATCH] broadcast address on subnet
From: David S. Miller <hidden>
Date: 2004-07-05 22:35:38
From: David S. Miller <hidden>
Date: 2004-07-05 22:35:38
On Wed, 30 Jun 2004 13:02:16 +0200 (CEST) Jaap Keuter [off-list ref] wrote:
Digging a bit deeper revealed that it actually is an issue with SIOIFNETMASK. Once you bring up an interface with SIOIFADDR, a classfull netmask and broadcast address is set (if applicable for the type of interface), in order to get a properly configured interface. But if you subnet the network using SIOIFNETMASK no proper broadcast address is set. So you always have to calculate it yourself, obviously leading to configuration errors.
Indeed that's odd behavior. I like this patch and will apply it to my trees. Thanks.