[arch-projects] [RFC2] [PATCH] [initscripts] network: Add missing broadcast address
Dave Reisner
d at falconindy.com
Fri Jun 10 12:19:29 EDT 2011
On Fri, Jun 10, 2011 at 01:03:36PM -0300, Gerardo Exequiel Pozzi wrote:
> On 06/10/2011 04:57 AM, Thomas Bächler wrote:
> >Am 10.06.2011 02:51, schrieb Gerardo Exequiel Pozzi:
> >>Without this broadcast address is not set.
> >>
> >>broadcast= parameter can be empty. In this case the broadcast address
> >>is derived by setting all of the interface host bits to one (+).
> >ACK, this looks sane.
> >
> >(However, I just found the + flag by accident in netcfg - I couldn't
> >find documentation for it).
> >
> I see it at least here:
> http://www.policyrouting.org/iproute2.doc.html#ss9.2.1
>
> PS: man pages of iproute2 are out-of-sync respect to iproute2
> commands, like the internal help of commands.
>
> --
> Gerardo Exequiel Pozzi
> \cos^2\alpha + \sin^2\alpha = 1
>
It's in the man page for 'ip':
broadcast ADDRESS
the broadcast address on the interface.
It is possible to use the special symbols '+' and '-' instead of
the broadcast address. In this case, the broadcast address is
derived by setting/resetting the host bits of the interface pre‐
fix.
d
More information about the arch-projects
mailing list