{"id":1339,"date":"2012-09-06T09:57:28","date_gmt":"2012-09-06T01:57:28","guid":{"rendered":"http:\/\/rmohan.com\/?p=1339"},"modified":"2012-09-06T09:57:28","modified_gmt":"2012-09-06T01:57:28","slug":"linix-bonding","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=1339","title":{"rendered":"LINIX -Bonding"},"content":{"rendered":"<h3>LINIX -Bonding<\/h3>\n<div>\u00a0<\/div>\n<div dir=\"ltr\">Bonding &#8211; Linux allows binding multiple network interfaces into a single channel\/NIC using special kernel module called bonding.The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical &#8220;bonded&#8221; interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or load balancing services. Additionally, link integrity monitoring may be performed.&#8221;<\/p>\n<p> root#\/etc\/sysconfig\/network-scripts\/ifcfg-bond0<br \/> DEVICE=bond0<br \/> IPADDR=192.168.1.20<br \/> NETWORK=192.168.1.0<br \/> NETMASK=255.255.255.0<br \/> USERCTL=no<br \/> BOOTPROTO=none<br \/> ONBOOT=yes<br \/> root#\/etc\/sysconfig\/network-scripts\/ifcfg-eth0<br \/> DEVICE=eth0<br \/> USERCTL=no<br \/> ONBOOT=yes<br \/> MASTER=bond0<br \/> SLAVE=yes<br \/> BOOTPROTO=none<br \/> root#\/etc\/sysconfig\/network-scripts\/ifcfg-eth1<br \/> DEVICE=eth1<br \/> USERCTL=no<br \/> ONBOOT=yes<br \/> MASTER=bond0<br \/> SLAVE=yes<br \/> BOOTPROTO=none<br \/> &gt;&gt;Load bond driver\/module<br \/> root#\/etc\/modprobe.conf<br \/> alias bond0 bonding<br \/> options bond0 mode=balance-alb miimon=100<br \/> &gt;&gt;Test configuration<br \/> root#modprobe bonding<br \/> root#service network restart<br \/> root#less \/proc\/net\/bonding\/bond0<br \/> Bonding Mode: load balancing (round-robin)<br \/> MII Status: up<br \/> MII Polling Interval (ms): 0<br \/> Up Delay (ms): 0<br \/> Down Delay (ms): 0<br \/> Slave Interface: eth0<br \/> MII Status: up<br \/> Link Failure Count: 0<br \/> Permanent HW addr: 00:0c:29:c6:be:59<br \/> Slave Interface: eth1<br \/> MII Status: up<br \/> Link Failure Count: 0<br \/> Permanent HW addr: 00:0c:29:c6:be:63<br \/> root#ifconfig<\/div>\n","protected":false},"excerpt":{"rendered":"<p>LINIX -Bonding Bonding &#8211; Linux allows binding multiple network interfaces into a single channel\/NIC using special kernel module called bonding.The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical &#8220;bonded&#8221; interface. The behavior of the bonded interfaces depends upon the mode; generally speaking, modes provide either hot standby or [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1339"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1339"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1339\/revisions"}],"predecessor-version":[{"id":1341,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1339\/revisions\/1341"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}