Am 09.06.2011 17:02, schrieb Seblu:
On Thu, Jun 9, 2011 at 10:04 AM, Thomas Bächler <thomas@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.