{"id":606,"date":"2023-08-14T02:35:38","date_gmt":"2023-08-14T02:35:38","guid":{"rendered":"https:\/\/carson.fenimorefamily.com\/?p=606"},"modified":"2023-08-14T02:36:12","modified_gmt":"2023-08-14T02:36:12","slug":"note-to-self-even-rocky-9-2-uses-bridge-utils","status":"publish","type":"post","link":"https:\/\/carson.fenimorefamily.com\/?p=606","title":{"rendered":"Note to self: Even rocky 9.2 uses bridge-utils"},"content":{"rendered":"\n<p>Sometimes I decrypt LUKS volumes via dracut\/dropbear (ssh).  To enable this I follow the instructions from the <a href=\"https:\/\/github.com\/dracut-crypt-ssh\/dracut-crypt-ssh\">dracut-ssh<\/a> project.  However since I usually use my linux boxes as hypervisors, and vms need a bridge, I end up with bridged networking.  <\/p>\n\n\n\n<p>Now for the problem: if your dracut networking config does not align with your normal post-dracut networking, you end up with a weird blending of the two.  So to avoid this I just keep dracut the same, building by bond\/bridges in dracut to match the normal configuration.<\/p>\n\n\n\n<p>Here&#8217;s a sample portion of my \/etc\/default\/grub:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rd.neednet=1 ip=10.10.2.2::10.10.0.1:255.255.240.0:server-2:bridge0:none:8.8.8.8 bridge=bridge0:enp47s0<\/code><\/pre>\n\n\n\n<p>This all works well, so long as you are sure to install bridge-utils &#8211; otherwise dracut silently fails.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y bridge-utils<\/code><\/pre>\n\n\n\n<p>Be sure to rebuild your dracut<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dracut --force --regenerate-all<\/code><\/pre>\n\n\n\n<p>Viola! Fin.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes I decrypt LUKS volumes via dracut\/dropbear (ssh). To enable this I follow the instructions from the dracut-ssh project. However since I usually use my linux boxes as hypervisors, and vms need a bridge, I end up with bridged networking. Now for the problem: if your dracut networking config does not align with your normal &hellip; <a href=\"https:\/\/carson.fenimorefamily.com\/?p=606\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Note to self: Even rocky 9.2 uses bridge-utils<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-606","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=606"}],"version-history":[{"count":1,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/606\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=\/wp\/v2\/posts\/606\/revisions\/607"}],"wp:attachment":[{"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carson.fenimorefamily.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}