gefranks
2021-07-28 21:10:57 +08:00
Knowledge
Modifying Mtu Size in Solaris 11 and getting : cannot set link property 'mtu' on 'net1': link busy (Doc ID 1623256.1) To BottomTo Bottom
Modified: 08-Oct-2019
Type: HOWTO
APPLIES TO:
Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.
GOAL
Need to increase the MTU size of an interface using dladm, in this case net1, but it fails with "link busy".
Example
# dladm set-linkprop -p mtu=9000 net1
dladm: warning: cannot set link property 'mtu' on 'net1': link busy
If we down the interface first and try again, it still fails with "link busy".
Example
# ifconfig net1 down
# dladm set-linkprop -p mtu=9000 net1
dladm: warning: cannot set link property 'mtu' on 'net1': link busy
SOLUTION
In order to set the MTU size of net1 using the dladm command, the NIC needs to be in an "unplumbed" state.
To unplumb the interface
# ipadm delete-ip net1
Once the net1 intefrace is "unplumbed", you can then set the MTU using the dladm command.
Example
# dladm set-linkprop -p mtu=9000 net1
# ipadm create-ip net1
# ipadm create-addr -T static -a local=xx.xx.xx.xx/16 net1
NOTE:Need to check the LLDP (Link Layer Diacover Protocol) service too if you are unable to resolve the issue with above steps.
Example:
------
# svcs -a | grep lldp
online 15:06:47 svc:/network/lldp:default
# dladm set-linkprop -p mtu=9000 net1
dladm: warning: cannot set link property 'mtu' on 'net1': link busy
# svcadm disable svc:/network/lldp:default
# dladm set-linkprop -p mtu=9000 net1
#
Related Products
Sun Microsystems > Operating Systems > Solaris Operating System > Solaris Operating System
Sun Microsystems > Operating Systems > Solaris Operating System > Solaris Operating System > Network Interface
Keywords
GIGABIT ETHERNET;INTERFACE;NIC;PROPERTY;SOLARIS