On 06/10/2011 01:19 PM, Dave Reisner wrote:
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
Oops, true true. Anyway the argument is still valid. See for example the output of "ip link help" (list of TYPE) and the man page. Also the "TYPE macvtap" is not listed in internal help. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1