Oracle Solaris System Administration (MOSC)

MOSC Banner

How can I add more than one address to an interface?

edited Jun 30, 2013 10:57AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓
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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center