On (07/09/09 09:47), Peter Memishian wrote: > > > > So what exactly does a label represent? One or more addresses that have > > > been bundled together? How do I change the dimensions of the bundle? > > > > A label represents an address object. For a static address, this is > > exactly one address. For IPv6/DHCPv6, this is a group of addresses, and as > > Erik pointed out, the size of that group is controlled by other protocols. > > ... and you don't think this is confusing? We end up with an "address > object" that acts something a normal "address" that administrators are
I'd be more than happy to drop support for DNS/hostname resolution and just require numeric addresses to be specified to ipadm. But I gather (both from Jim and some other users like Clusters) that having the /etc/hosts resolution with ifconfig was somewhat attractive. here's another option: make the "-a" optional, and the "label" always mandatory. So # ipadm create-addr -i net0 myhost will lookup myhost in DNS and configure it on net0. It will fail if myhost resolves to more than one address. If you don't like that, fix the resolver. # ipadm create-addr -i net0 -a 1.2.3.4 addr1 will set up 1.2.3.4 on net0 and let you refer to the address as addr1 in subsequent commands. # ipadm create-addr -i net0 -a 1.2.3.4 and # ipadm create-addr -i ip.tun0 -a 1.2.3.4,1.2.3.5 will fail. Please specify a label. # ipadm create-addr -i ip.tun0 -a 1.2.3.4 tunaddr will fail- 2 addresses need to be specified. Is that sufficently confusion free to all? > used to, but has a naming mechanism that is distinct from hostnames (but Well, logical interfaces are doing that already. --Sowmini
