-
AedilHi illumos.
-
antranigvI messed up something in my networking. can anyone help? I see in ipadm the following "vnic0/switch0 static disabled 10.10.0.1/24" and here's what I have in dladm "vnic0 vnic 9000 up -- stub0" and I have no idea how toe enable vnic0/switch0... any ideas?
-
andyfDoes `ipadm enable-if vnic0` do anything?
-
antranigvandyf enable didn't work, but turns out the etherstub and the vnic over the etherstub were gone somehow, I just reconfigured and all is fine now
-
sommerfeldwould need to be 'ipadm enable-if -t vnic0' IIRC
-
richloweif you're using `-t` a lot, the stuff will vanish when you reboot. `-t` is "temporary"
-
richloweI'm not sure if the tools protect you from creating permanent things over temporary things, but it seems like they probably should
-
richloweI can't think of other ways for an etherstub etc. to disappear
-
rmustaccdladm tries at least.
-
sommerfeldnote that ipadm's enable-if and disable-if do not have a persistent mode; they insist on a -t option.
-
sommerfeldleave it out and you get "ipadm: persistent operation not supported for disable-if"
-
jbkrichlowe: IIRC dladm and ipadm either share or copypasta their .conf file management bits
-
jbkand there are some issues
-
jbki thought I had created an upstream bug
-
jbkbut as an example: create a permanent aggr, remove-aggr -t, add-aggr (permanent)
-
jbkand you end up with an aggr that both exists and does not exist according to dladm
-
jbkand a messed up datalink.conf file
-
jbkI can't recall if you can fix it with commands or have to hand edit the file
-
jbkbut i guess i didn't
-
jbkoh, it's the messed up datalink.conf when you do that.. the aggr will be fine until you reboot and datalink.conf is re-read
-
jbkthat's where you get schrodinger's aggr