Project

General

Profile

Bug #1022

ipadm can't set broadcast property

Added by Nick Zivkovic over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2011-05-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

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).

History

#1

Updated by Dan McDonald over 8 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.

#2

Updated by Nick Zivkovic over 8 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.

#3

Updated by Yuri Pankov almost 7 years ago

  • Status changed from New to Closed

Also available in: Atom PDF