{"id":54,"date":"2012-04-07T16:15:00","date_gmt":"2012-04-07T14:15:00","guid":{"rendered":"https:\/\/test.n3oxid.fr\/?p=54"},"modified":"2021-04-18T21:23:47","modified_gmt":"2021-04-18T19:23:47","slug":"tolerance-aux-pannes-channel-bonding-sous-gnu-linux-debian-6-squeeze","status":"publish","type":"post","link":"https:\/\/www.n3oxid.fr\/?p=54","title":{"rendered":"Tol\u00e9rance aux pannes : Channel Bonding sous GNU\/Linux Debian 6 (Squeeze)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Le d\u00e9roulement<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Installation des composants<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># aptitude install firmware-bnx2 ifenslave\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">D\u00e9tection des interfaces<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># modprobe -r bnx2 &amp;&amp; modprobe bnx2\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Retrait de la configuration existante<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># ip a d &lt;address\/cidr&gt; dev eth1\n# ifconfig eth1 down\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Options pour les interfaces Bonding<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># echo -en \"alias bond0 bonding\\nalias bond1 bonding\\noptions bonding max_bonds=2 mode=1 miimon=100\" &gt; \/etc\/modprobe.d\/bonding.conf\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configuration des interfaces<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># vim \/etc\/network\/interfaces\n<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">auto eth0 eth1 eth2 eth3 bond0 bond1\niface bond0 inet static\n       address &lt;ip1&gt;\n       netmask &lt;mask1&gt;\n       gateway &lt;gw1&gt;\n       up \/sbin\/ifenslave bond0 eth0 eth2\n       down \/sbin\/ifenslave -d bond0 eth0 eth2\niface bond1 inet static\n       address &lt;ip2&gt;\n       netmask &lt;mask2&gt;\n       up \/sbin\/ifenslave bond1 eth1 eth3\n       down \/sbin\/ifenslave -d bond1 eth1 eth3\n       up route add -net &lt;net1&gt; netmask &lt;mask3&gt; gw &lt;gw2&gt;\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Montage des interfaces<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \/etc\/init.d\/networking stop\n# \/etc\/init.d\/networking start<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Le d\u00e9roulement Installation des composants # aptitude install firmware-bnx2 ifenslave D\u00e9tection des interfaces # modprobe -r bnx2 &amp;&amp; modprobe bnx2 Retrait de la configuration existante # ip a d &lt;address\/cidr&gt; &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[43],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-computing","tag-bonding"],"_links":{"self":[{"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":1,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.n3oxid.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}