Bug #1022
closedipadm can't set broadcast property
100%
Description
ipadm can get the value for the broadcast property but trying to set the property via
ipadm set-addrprop -p broadcast=<addr> <addrobj>
fails with:
ipadm: set-addrprop: broadcast: Operation not supported
Broadcast address should be tunable.
As far as a fix goes, one needs to add a callback into the property table (ipadm_addrprop_table[]) in libipadm (ipadm_addr.c).
Updated by Dan McDonald almost 12 years ago
You can update the netmask or prefix-length with ipadm(1M), correct? The broadcast address falls out of the address + prefix, so it's not necessary to SET the broadcast, but GETting it is helpful from an observability point-of-view.
I'm not sure if this is a real bug or not.
Updated by Nick Zivkovic almost 12 years ago
- % Done changed from 0 to 100
Ok. Dan makes a very good point. Setting the broadcast is unnecessary, as it's derived from the netmask and prefix.
Marking this as 100% complete.