{"id":1402,"date":"2022-05-11T06:52:15","date_gmt":"2022-05-11T06:52:15","guid":{"rendered":"\/blog\/?p=1402"},"modified":"2022-05-24T17:52:45","modified_gmt":"2022-05-24T17:52:45","slug":"link-based-ipmp-in-solaris-11","status":"publish","type":"post","link":"\/blog\/index.php\/link-based-ipmp-in-solaris-11\/","title":{"rendered":"Link based ipmp in solaris 11"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.oracle.com\/cd\/E93612_01\/html\/E93617\/configlinkbasedipmpexample.html\">https:\/\/docs.oracle.com\/cd\/E93612_01\/html\/E93617\/configlinkbasedipmpexample.html<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># <strong>ipadm create-ip net0<\/strong>\n# <strong>ipadm create-ip net1<\/strong>\n# <strong>ipadm create-ipmp ipmp0<\/strong>\n# <strong>ipadm add-ipmp -i net0 -i net1 ipmp0<\/strong>\n# <strong>ipadm create-addr -T static -a 192.168.1.1\/24 ipmp0\/v4addr1<\/strong>\n# ipadm set-ifprop -p standby=on -m ip net1\n# ipmpstat -g\nGROUP       GROUPNAME   STATE     FDT       INTERFACES\nipmp0       ipmp0       ok        --        net0 (net7 net6 net5 net4 net3 net2 net1)\n<\/pre>\n\n\n\n<p>To test it use if_mpadm -d &lt;nic&gt; to disable a nic, and if_mpadm -r &lt;nic&gt; to enable it<\/p>\n\n\n\n<p><code># if_mpadm -d net1<br># if_mpadm -d net2<br># if_mpadm -d net3<br># if_mpadm -d net4<br># ping 192.168.5.1<\/code><\/p>\n\n\n\n<p><code># if_mpadm -r net0<br># if_mpadm -r net1<br># if_mpadm -r net2<br># if_mpadm -r net3<br># if_mpadm -r net4<br># if_mpadm -r net5<br># if_mpadm -r net6<\/code><\/p>\n\n\n\n<p>You can add a vnic to the ipmp group, so you can use it in a zone, you create over one of the nics of the ipmp group:<\/p>\n\n\n\n<p>dladm create-vnic -l net0 vnic0<\/p>\n\n\n\n<p>Add the nic to the zone<\/p>\n\n\n\n<p>zonecfg -z myzone<\/p>\n\n\n\n<p>>add net<br>> set physical=vnic0<br>>end<br>>verify<br>>commit<br>>exit<\/p>\n\n\n\n<p>You can also test by issuing:<br><code># ipadm disable-if -t net0<br># ipadm enable-if -t net0<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/docs.oracle.com\/cd\/E93612_01\/html\/E93617\/configlinkbasedipmpexample.html # ipadm create-ip net0 # ipadm create-ip net1 # ipadm create-ipmp ipmp0 # ipadm add-ipmp -i net0 -i net1 ipmp0 # ipadm create-addr -T static -a 192.168.1.1\/24 ipmp0\/v4addr1 # ipadm set-ifprop -p standby=on -m ip net1 # ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES ipmp0 ipmp0 ok &#8212; net0 (net7 net6 net5 net4 net3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1402","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1402"}],"version-history":[{"count":7,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1402\/revisions"}],"predecessor-version":[{"id":1439,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1402\/revisions\/1439"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1402"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}