How can I add more than one address to an interface?
The output of addresses is ADDROBJ TYPE STATE ADDR
vmxnet3s2/addr static ok 172.16.2.10/16
When I try to add a second address to this interface like so
/usr/sbin/ipadm create-addr -T static -a thewarehousespray vmxnet3s2/addr
where thewarehousespray is 172.16.2.15 in /etc/hosts
I get the message,
ipadm: cannot create address: Address object already exists
Also, why is the subnet mask 16 and not 24? I never told it 16 explicitly.
vmxnet3s2/addr static ok 172.16.2.10/16
When I try to add a second address to this interface like so
/usr/sbin/ipadm create-addr -T static -a thewarehousespray vmxnet3s2/addr
where thewarehousespray is 172.16.2.15 in /etc/hosts
I get the message,
ipadm: cannot create address: Address object already exists
Also, why is the subnet mask 16 and not 24? I never told it 16 explicitly.
0