how to "up" an "unknown" interface
948483Jul 11 2012 — edited Jul 12 2012Hi all,
I do have 4 Nics on this host:
<pre>
# dladm show-link
LINK CLASS MTU STATE OVER
net1 phys 1500 down --
net2 phys 1500 unknown --
net0 phys 1500 up --
net3 phys 1500 unknown --
# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net1 Ethernet down 0 unknown e1000g1
net2 Ethernet unknown 0 unknown e1000g2
net0 Ethernet up 1000 full e1000g0
net3 Ethernet unknown 0 unknown e1000g3
</pre>
Now I know that net2 is connected to my switch.
They only way I seem to be able to plumb that nic is to run ifconfig
<pre>
# ifconfig net2 plumb
# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net1 Ethernet down 0 unknown e1000g1
net2 Ethernet up 1000 full e1000g2
net0 Ethernet up 1000 full e1000g0
net3 Ethernet unknown 0 unknown e1000g3
</pre>
Using ifconfig just doesn't seem right, since ipadm and dladm are
the new kids on the block, they should be doing that.
The Question is: How can this be done ?
Anyone with an explanation and/or pointers?
Cheers
Oliver