A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
zone: error: net0: failed to create VNIC: operation not supported
November 21, 2016
9:03 am
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

Description:

T5-2 with Solaris 11.3 as LDOM host. Solaris 11.3 as guest system on this host. Kernel zone on Solaris 11.3 guest do not start with next error:

-bash-4.1# zoneadm -z ldomkz boot
zone 'ldomkz': error: net0: failed to create VNIC: operation not supported
zoneadm: zone ldomkz: call to zoneadmd(1M) failed: zoneadmd(1M

 

I try to create VNIC on Solaris guest, it failed with the same error:

-bash-4.1# dladm create-vnic -l net0 vnic2
dladm: vnic creation failed: operation not supported

 

Solution:

1. This error "failed to create VNIC: operation not supported" would generally come when there are not enough mac addresses to assign.

To solve it need to add alternate mac addresses to the interface. Stop LDM

root@t52:~# ldm list-domain
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
primary          active     -n-cv-  UART    8     8G       2.0%  2.0%  41d 20h 14m
0004fb0000060000ff1d3d8336112f6f active     -n—-  5001    50    64G      0.1%  0.1%  18h 23m

# ldm stop 0004fb0000060000ff1d3d8336112f6f

# ldm unbind 0004fb0000060000ff1d3d8336112f6f

# ldm set-vnet alt-mac-addrs=auto,auto,auto,auto net0 0004fb0000060000ff1d3d8336112f6f

# ldm bind 0004fb0000060000ff1d3d8336112f6f

# ldm start-domain 0004fb0000060000ff1d3d8336112f6f

 

2. Now log in to the Solaris guest and check if net0 have additional MAC addresses:

-bash-4.1# dladm show-phys -m
LINK                SLOT     ADDRESS            INUSE CLIENT
net0                primary  0:21:f6:d6:d3:e5   yes   net0
                    1        0:14:4f:f9:6d:8d   no    --
                    2        0:14:4f:fb:10:2b   no    --
                    3        0:14:4f:f9:41:d6   no    --
                    4        0:14:4f:f8:dd:c8   no    --
net1                primary  0:21:f6:51:be:4d   yes   net1

3. Now zone will start without any issue:

-bash-4.1# zoneadm -z ldomkz start

-bash-4.1#

 

 

Thank you.

 

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)