Peter Memishian wrote:
 > # ipadm create-if bge0
 > # ipadm create-addr -i bge0 10.1.2.3/24
> > Since this is the first time an address is configured on bge0,
 > option 1) Should the address be created on the 0th logical interface, or
 > option 2) Should create-addr always add a new logical interface?

I'd vote for (1).  One thing we learned the hard way with the old IPMP
implementation is that there are applications out there that just grab
whatever is in the 0th slot and never look at the other IP addresses on
the interface.  (i.e., they do a SIOCG[L]IFADDR for foo0, or do a
SIOCG[L]IFCONF and stop a the first thing they find for foo0).

Agreed.

It might later make sense to tweak the kernel (as part of the IP control part refactoring project?) so that one can create an ill without creating an ipif, in which case libadm can always do an SIOCSLIFADDIF for a create-addr. But that is something we can worry about later.

   Erik
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to