{"id":587,"date":"2026-02-03T23:59:37","date_gmt":"2026-02-03T14:59:37","guid":{"rendered":"http:\/\/word.igoni.kr\/?p=587"},"modified":"2026-02-04T02:15:43","modified_gmt":"2026-02-03T17:15:43","slug":"nmcli%ea%b8%b0%eb%b0%98%ec%9d%98-%eb%84%a4%ed%8a%b8%ec%9b%8c%ed%81%ac-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=587","title":{"rendered":"nmcli\uae30\ubc18\uc758 \ub124\ud2b8\uc6cc\ud06c \uc124\uc815"},"content":{"rendered":"<p id=\"bkmrk-rhel8%EA%B3%84%EC%97%B4%EB%B6%80%ED%84%B0%EB%8A%94-networksc\">RHEL8\uacc4\uc5f4\ubd80\ud130\ub294 networkscripts\ub97c \uc0ac\uc6a9\ud558\uc9c0 \ubabb\ud558\uace0 NetworkManager\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc7a5\uce58\ub97c \uad00\ub9ac\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0, NetworkManager\ub97c \uc0ac\uc6a9\ud560\uc904 \uc54c\uc544\uc57c \ud558\ub124\uc694&#8230;.<\/p>\n<ol id=\"bkmrk-%EC%88%98%EB%8F%99%EC%9C%BC%EB%A1%9C-%EC%83%9D%EC%84%B1%EB%90%9C-ifcfg%ED%8C%8C%EC%9D%BC%EC%9D%84-ne\">\n<li>\uc218\ub3d9\uc73c\ub85c \uc0dd\uc131\ub41c ifcfg\ud30c\uc77c\uc744 NetworkManager \ub85c\ub4dc\n<pre><code class=\"language-shell\">$&gt; nmcli connection load \/etc\/sysconfig\/network-scripts\/ifcfg-eth0\r\n$&gt; nmcli connection up eth0<\/code><\/pre>\n<\/li>\n<li>\ub124\ud2b8\uc6cc\ud06c up\/down \uc124\uc815\n<pre><code class=\"language-shell\">$&gt; nmcli connection up eth0 \u00a0\u00a0\u00a0\u00a0#nic \ud65c\uc131\ud654\r\n$&gt; nmcli connection down eth0 \u00a0\u00a0#nic \ube44\ud65c\uc131\ud654<\/code><\/pre>\n<\/li>\n<li>\ub124\ud2b8\uc6cc\ud06c \uc5f0\uacb0\uc0c1\ud0dc \ud655\uc778\n<pre><code class=\"language-shell\">$&gt; nmcli device status\r\nDEVICE \u00a0TYPE \u00a0\u00a0\u00a0\u00a0\u00a0STATE \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CONNECTION\r\neth0 \u00a0\u00a0\u00a0ethernet \u00a0\uc5f0\uacb0\ub428 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0eth0\r\neth1 \u00a0\u00a0\u00a0ethernet \u00a0\uc5f0\uacb0\ub428 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0eth1\r\nlo \u00a0\u00a0\u00a0\u00a0\u00a0loopback \u00a0\uad00\ub9ac\ub418\uc9c0 \uc54a\uc74c \u00a0--<\/code><\/pre>\n<\/li>\n<li>\ub124\uc784\uc11c\ubc84 \uc124\uc815 bond0\uc5d0 \ub124\uc784\uc11c\ubc84\ub97c 8.8.8.8, 219.250.36.130 \uc73c\ub85c \uc124\uc815\n<pre><code class=\"language-shell\">$&gt; nmcli connection modify eth0 ipv4.dns \"8.8.8.8,219.250.36.130\"\r\n$&gt; nmcli connection up eth0\r\n$&gt; cat \/etc\/resolv.conf\r\n# Generated by NetworkManager\r\nnameserver 8.8.8.8\r\nnameserver 219.250.36.130<\/code><\/pre>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div class=\"linenos\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>\ubcf8\ub529\uad6c\uc131\ud558\uae30(active-backup \ubc29\uc2dd\uc73c\ub85c \uc124\uc815)\n<div>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>#bond NIC\uc774\ub984 \uc124\uc815\ud558\uace0 \ub124\ud2b8\uc6cc\ud06c \uc815\ubcf4 \uc124\uc815<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><code class=\"language-shell\">$&gt; nmcli connection add type bond con-name bond0 ifname bond0 bond.options \"mode=1,miimon=100\"\r\n$&gt; nmcli connection mod bond0 ipv4.addresses 192.168.10.100\/24\r\n$&gt; nmcli connection mod bond0 ipv4.gateway 192.168.10.1\r\n$&gt; nmcli connection mod bond0 ipv4.method manual\r\n$&gt; nmcli connection mod bond0 ipv6.method disabled<\/code><\/pre>\n<div>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>\n<p>#eth0\uacfc eth1\uc744 \ubcf8\ub529 \ub9f4\ubc84\uc6a9 NIC \ucd94\uac00<\/p><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><code class=\"language-shell\">$&gt; nmcli connection add type ethernet con-name eth0 ifname eth0 master bond0\r\n$&gt; nmcli connection add type ethernet con-name eth1 ifname eth1 master bond0<\/code><\/pre>\n<div>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div>\n<p>#\ubcf8\ub529 NIC \ud65c\uc131\ud654<\/p><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<pre><code class=\"language-shell\">$&gt; nmcli connection up bond0<\/code><\/pre>\n<div>\n<div class=\"box\">\n<div class=\"code\">\n<div class=\"linenoswrapper\">\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>\ubcf8\ub529 \ubaa8\ub4dc \ubcc0\uacbd\n<pre><code class=\"language-shell\">$&gt; nmcli connection mod bond0 +bond.options \"mode=0,miimon=100\"\r\n$&gt; nmcli connection up bond0<\/code><\/pre>\n<\/li>\n<\/ol>\n<div id=\"bkmrk-\" class=\"wikimodel-emptyline\"><\/div>\n<p id=\"bkmrk-reference\"><em>reference<\/em><\/p>\n<ul id=\"bkmrk-https%3A%2F%2Faccess.redha\">\n<li><em><span class=\"wikiexternallink\"><a class=\"wikimodel-freestanding\" href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/7\/html\/networking_guide\/sec-network_bonding_using_the_networkmanager_command_line_tool_nmcli\/\/\"><span class=\"wikigeneratedlinkcontent\">https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/7\/html\/networking_guide\/sec-network_bonding_using_the_networkmanager_command_line_tool_nmcli\/\/<\/span><\/a><\/span><\/em><\/li>\n<li><em><span class=\"wikiexternallink\"><a class=\"wikimodel-freestanding\" href=\"https:\/\/fendys.tistory.com\/28\/\/\"><span class=\"wikigeneratedlinkcontent\">https:\/\/fendys.tistory.com\/28\/\/<\/span><\/a><\/span><\/em><\/li>\n<\/ul>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<colgroup>\n<col style=\"width: 99.881%;\" \/><\/colgroup>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-589\" src=\"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/02\/07b0631a-b721-4a28-81dc-f67550fb82b3.png\" alt=\"\" width=\"1024\" height=\"1024\" srcset=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/07b0631a-b721-4a28-81dc-f67550fb82b3.png 1024w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/07b0631a-b721-4a28-81dc-f67550fb82b3-300x300.png 300w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/07b0631a-b721-4a28-81dc-f67550fb82b3-150x150.png 150w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/02\/07b0631a-b721-4a28-81dc-f67550fb82b3-768x768.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/td>\n<\/tr>\n<tr>\n<td class=\"align-right\">perplexity\uc5d0\uc11c \uc0dd\uc131\ud55c AI\uc774\ubbf8\uc9c0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>RHEL8\uacc4\uc5f4\ubd80\ud130\ub294 networkscripts\ub97c \uc0ac\uc6a9\ud558\uc9c0 \ubabb\ud558\uace0 NetworkManager\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc7a5\uce58\ub97c \uad00\ub9ac\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0, NetworkManager\ub97c \uc0ac\uc6a9\ud560\uc904 \uc54c\uc544\uc57c \ud558\ub124\uc694&#8230;. \uc218\ub3d9\uc73c\ub85c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":589,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185,7],"tags":[9,187,163],"class_list":["post-587","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-rhel8","category-linux-","tag-centos","tag-centos8","tag-nmcli"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=587"}],"version-history":[{"count":1,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions"}],"predecessor-version":[{"id":591,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions\/591"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/media\/589"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=587"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}