{"id":826,"date":"2017-12-22T21:45:28","date_gmt":"2017-12-23T06:45:28","guid":{"rendered":"\/blog\/?p=826"},"modified":"2023-09-21T09:37:40","modified_gmt":"2023-09-21T00:37:40","slug":"bonding-centos-7","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=826","title":{"rendered":"bonding (CentOS 7)"},"content":{"rendered":"\n<div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 bonding \ubaa8\ub4c8 \ub85c\ub4dc<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">modprobe --first-time bonding<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-bond0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">DEVICE=bond0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">NAME=bond0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">TYPE=Bond<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">BONDING_MASTER=yes<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">BONDING_OPTS=\"mode=active-backup primary=eno1 miimon=100 updelay=0 downdelay=0\"<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">IPADDR=10.10.10.106<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">PREFIX=24<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">GATEWAY=10.10.10.254<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">DNS1=8.8.8.8<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">DNS2=8.8.4.4<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-eno1<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">NAME=bond-slave-eno1<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">DEVICE=eno1<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">TYPE=Ethernet<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">BOOTPROTO=none<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">ONBOOT=yes<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">MASTER=bond0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">SLAVE=yes<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-eno2<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">NAME=bond-slave-eno2<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">DEVICE=eno2<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">TYPE=Ethernet<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">BOOTPROTO=none<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">ONBOOT=yes<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">MASTER=bond0<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">SLAVE=yes<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 \uc801\uc6a9<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">systemctl restart network<\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px;\"><br \/><\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\u25a0 bonding \uc0c1\ud0dc \uccb4\ud06c<\/span><\/div><div style=\"\"><span style=\"font-size: 12px; font-family: GulimChe, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">cat \/proc\/net\/bonding\/bond0<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 bonding \ubaa8\ub4c8 \ub85c\ub4dc modprobe &#8211;first-time bonding \u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-bond0 DEVICE=bond0 NAME=bond0 TYPE=Bond BONDING_MASTER=yes BONDING_OPTS=&#8221;mode=active-backup primary=eno1 miimon=100 updelay=0 downdelay=0&#8243; IPADDR=10.10.10.106 PREFIX=24 GATEWAY=10.10.10.254 DNS1=8.8.8.8 DNS2=8.8.4.4 \u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-eno1 NAME=bond-slave-eno1 DEVICE=eno1 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes \u25a0 \/etc\/sysconfig\/network-scripts\/ifcfg-eno2 NAME=bond-slave-eno2 DEVICE=eno2 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes \u25a0 \uc801\uc6a9 systemctl restart network \u25a0 bonding \uc0c1\ud0dc \uccb4\ud06c cat \/proc\/net\/bonding\/bond0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[39],"tags":[],"class_list":["post-826","post","type-post","status-publish","format-standard","hentry","category-os_linux_unix_macos"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=826"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/826\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}