[arch-projects] [PATCH] [initscripts] network: Add missing broadcast address

Thomas Bächler thomas at archlinux.org
Thu Jun 9 12:35:54 EDT 2011


Am 09.06.2011 17:02, schrieb Seblu:
> On Thu, Jun 9, 2011 at 10:04 AM, Thomas Bächler <thomas at archlinux.org> wrote:
>> Am 09.06.2011 06:04, schrieb Gerardo Exequiel Pozzi:
>>> Without this broadcast address is not set.
>>
>> The broadcast address is uniquely defined by the network(or IP) and
>> netmask. The user should not need to explicitly specify this.
> 
> It's true in most cases. But it's strictly false. Broadcast address is
> not something which can be calculated automaticaly in complex setup.
> But i agree, let it empty should do the default expected behaviour.

Correct. We can still optionally configure it, but the default should be
what I do in my patch. We could combine Eric's and my patch.

Right now, netcfg doesn't have a way to configure the broadcast either,
and just computes it automatically.


Do you have a use case where the broadcast is not the last address in
the subnet? I haven't seen this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110609/fe4c0667/attachment.asc>


More information about the arch-projects mailing list