{"id":14945,"date":"2025-11-07T01:31:44","date_gmt":"2025-11-07T07:31:44","guid":{"rendered":"https:\/\/www.supportpro.com\/blog\/?p=14945"},"modified":"2026-03-27T03:01:31","modified_gmt":"2026-03-27T09:01:31","slug":"how-to-configure-network-bonding-on-debian-10-11-after-os-reload","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/how-to-configure-network-bonding-on-debian-10-11-after-os-reload\/","title":{"rendered":"How to Configure Network Bonding on Debian 10 &amp; 11 After OS Reload"},"content":{"rendered":"\n<p>After reinstalling Debian\u2014whether version <strong>10<\/strong> (<strong>Buster<\/strong>) or <strong>11<\/strong> (<strong>Bullseye<\/strong>)\u2014one of the most common headaches is losing your network configuration. If your setup uses <strong>bonded interfaces (LACP \/ 802.3ad)<\/strong> for redundancy, the reload wipes out all those settings. The system comes up, but there\u2019s no proper connectivity until bonding is restored. This guide walks through the exact steps we follow at <strong>SupportPRO<\/strong> to bring the network back up after a reload, get the bonds working again, and make sure SSH is accessible. This process is crucial for <strong>server performance<\/strong>, <strong>high availability<\/strong>, and <strong>Linux network configuration<\/strong>.<br><\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: Find the Correct Interfaces<\/strong><\/h2>\n\n\n\n<p>Start by listing your interfaces:<\/p>\n\n\n\n<p>ip a<\/p>\n\n\n\n<p>You\u2019ll usually see something like eno1, enp9s0f0, or similar. The one with the smaller number is typically your public NIC. Make note of both interfaces that are connected to your public network \u2014 you\u2019ll need them for bonding. Identifying accurate NICs is essential for <strong>Debian network bonding configuration<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: Bring Up a Temporary Network<\/strong><\/h2>\n\n\n\n<p>Before setting things up permanently, it\u2019s easier to create a <strong>temporary connection<\/strong> so you can install packages or fetch updates. Adjust interface names and IPs as needed for your server:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image.png\" data-rel=\"penci-gallery-image-content\" ><img fetchpriority=\"high\" decoding=\"async\" width=\"521\" height=\"235\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image.png\" alt=\"\" class=\"wp-image-14947\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image.png 521w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-300x135.png 300w\" sizes=\"(max-width: 521px) 100vw, 521px\" \/><\/a><\/figure>\n\n\n\n<p>Once this is done, check if you can ping an external host (for example, 8.8.8.8). If that works, you\u2019re good to move on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 3: Update and Install Required Packages<\/strong><\/h2>\n\n\n\n<p>Next, refresh the package index and install a couple of tools that help with bonding:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-1.png\" data-rel=\"penci-gallery-image-content\" ><img decoding=\"async\" width=\"418\" height=\"62\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-1.png\" alt=\"\" class=\"wp-image-14948\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-1.png 418w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-1-300x44.png 300w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/a><\/figure>\n\n\n\n<p>If this step fails, it\u2019s usually because the Debian repository URLs are outdated \u2014 that\u2019s common when working with older versions. This ensures tools like <strong>ifenslave<\/strong> required for <strong>Linux bonding setup<\/strong> work correctly.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 4: Fixing the Repository List (for Debian 10)<\/strong><\/h2>\n\n\n\n<p>Debian 10\u2019s repositories have moved to the archive servers. You\u2019ll need to point APT to those.<br>Open \/etc\/apt\/sources.list and replace the contents with:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-2.png\" data-rel=\"penci-gallery-image-content\" ><img decoding=\"async\" width=\"687\" height=\"187\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-2.png\" alt=\"\" class=\"wp-image-14949\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-2.png 687w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-2-300x82.png 300w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-2-585x159.png 585w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/a><\/figure>\n\n\n\n<p>Then run:<\/p>\n\n\n\n<p>apt update<\/p>\n\n\n\n<p>That should fix the issue and let you proceed with package installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 5: Set Up the Bonding Configuration<\/strong><\/h2>\n\n\n\n<p>Now it\u2019s time to make the \u00a0<strong>bonding configuration<\/strong> permanent.<br>Edit the network configuration file:<\/p>\n\n\n\n<p>nano \/etc\/network\/interfaces<\/p>\n\n\n\n<p>Add or replace the content with:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-3.png\" data-rel=\"penci-gallery-image-content\" ><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"586\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-3.png\" alt=\"\" class=\"wp-image-14950\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-3.png 363w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2025\/11\/image-3-186x300.png 186w\" sizes=\"(max-width: 363px) 100vw, 363px\" \/><\/a><\/figure>\n\n\n\n<p>Replace <code>eno1<\/code> and <code>eno2<\/code> with your actual interface names \u2014 check using <code>ip a<\/code> if unsure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 6: Restart the Network<\/strong><\/h2>\n\n\n\n<p>To apply the configuration:<\/p>\n\n\n\n<p>systemctl restart network<\/p>\n\n\n\n<p>After restarting, your data center team will need to <strong>rebond the ports on the switch<\/strong>. Once they\u2019ve done that, the system should come back online with full internet access.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 7: Check SSH Settings<\/strong><\/h2>\n\n\n\n<p>If SSH isn\u2019t accessible, open \/<strong>etc\/ssh\/sshd_config<\/strong> and make sure this line is present (or uncommented):<\/p>\n\n\n\n<p>PermitRootLogin yes<\/p>\n\n\n\n<p>Then restart SSH:<\/p>\n\n\n\n<p>systemctl restart sshd &amp;&amp; systemctl restart ssh<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 8: Verify Access and Reboot<\/strong><\/h2>\n\n\n\n<p>Try logging in via SSH:<\/p>\n\n\n\n<p>ssh root@your-server-ip<\/p>\n\n\n\n<p>If it connects, reboot the server once to confirm the changes persist:<\/p>\n\n\n\n<p>reboot<\/p>\n\n\n\n<p>After the reboot, your bonded interface (<strong>bond0<\/strong>) should be up and stable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Quick Recap<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><div class=\"pcrstb-wrap\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Step<\/strong><\/td><td><strong>Action<\/strong><\/td><td><strong>Purpose<\/strong><\/td><\/tr><tr><td>1<\/td><td>Identify interfaces<\/td><td>Determine public NICs<\/td><\/tr><tr><td>2<\/td><td>Temporary setup<\/td><td>Enable short-term connectivity<\/td><\/tr><tr><td>3<\/td><td>Install tools<\/td><td>Add ifenslave and net-tools<\/td><\/tr><tr><td>4<\/td><td>Fix APT sources<\/td><td>Update repositories if needed<\/td><\/tr><tr><td>5<\/td><td><a href=\"https:\/\/www.supportpro.com\/blog\/how-to-enable-and-configure-network-bonding-in-linux-a-step-by-step-guide\/\" title=\"\">Configure bonding<\/a><\/td><td>Edit \/etc\/network\/interfaces<\/td><\/tr><tr><td>6<\/td><td>Restart &amp; notify DC<\/td><td>Activate bonding on both ends<\/td><\/tr><tr><td>7<\/td><td>Enable SSH<\/td><td>Allow root login if blocked<\/td><\/tr><tr><td>8<\/td><td>Verify<\/td><td>Test connectivity and reboot<\/td><\/tr><\/tbody><\/table><\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Final Thoughts<\/strong><\/h2>\n\n\n\n<p>Once you\u2019ve done this process a few times, it starts to feel pretty straightforward. The tricky part is just getting that temporary connection up long enough to install the right tools. After that, it\u2019s mostly about following the steps in the right order and making sure your data center rebonds the ports on their end.<\/p>\n\n\n\n<p>Bonding\u2019s a small task that makes a big difference. You get better uptime, load balancing, and peace of mind knowing your public network won\u2019t drop because of a single cable. We at <a href=\"https:\/\/www.supportpro.com\/requestquote.php\" title=\"\"><strong>SupportPRO<\/strong> <\/a>do this routinely for hosting providers worldwide, so if you\u2019d rather not wrestle with it yourself, we can take care of it anytime.This makes <strong>Debian network bonding<\/strong>, <strong>Linux server optimization<\/strong>, and <strong>high-availability networking<\/strong> much easier for your infrastructure.<\/p>\n\n\n\n<div class=\"wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-vertically-aligned-center has-white-background-color has-background\"><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Facing issues? <\/p>\n\n\n\n<p class=\"has-large-font-size\">Our technical support<br>engineers can solve it. <\/p>\n\n\n\n<!--HubSpot Call-to-Action Code --><span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-3350a795-db50-482f-9911-301930d1b1be\"><span class=\"hs-cta-node hs-cta-3350a795-db50-482f-9911-301930d1b1be\" id=\"hs-cta-3350a795-db50-482f-9911-301930d1b1be\"><!--[if lte IE 8]><div id=\"hs-cta-ie-element\"><\/div><![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/3350a795-db50-482f-9911-301930d1b1be\" ><img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-3350a795-db50-482f-9911-301930d1b1be\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/3350a795-db50-482f-9911-301930d1b1be.png\"  alt=\"Contact Us today!\"\/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '3350a795-db50-482f-9911-301930d1b1be', {\"useNewLoader\":\"true\",\"region\":\"na1\"}); <\/script><\/span><!-- end HubSpot Call-to-Action Code -->\n<\/div><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"931\" src=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png\" alt=\"guy server checkup\" class=\"wp-image-12943 size-full\" srcset=\"https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup.png 904w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-291x300.png 291w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-768x791.png 768w, https:\/\/www.supportpro.com\/blog\/wp-content\/uploads\/2022\/09\/Free-server-checkup-585x602.png 585w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After reinstalling Debian\u2014whether version 10 (Buster) or 11 (Bullseye)\u2014one of the most common headaches is losing your network configuration. If your setup uses bonded interfaces (LACP \/ 802.3ad) for redundancy,&hellip;<\/p>\n","protected":false},"author":4,"featured_media":14946,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5,91,195],"tags":[],"class_list":["post-14945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-topics","category-linux","category-server-management"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=14945"}],"version-history":[{"count":2,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14945\/revisions"}],"predecessor-version":[{"id":14992,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/14945\/revisions\/14992"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media\/14946"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=14945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=14945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=14945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}