{"id":41,"date":"2020-08-01T18:12:23","date_gmt":"2020-08-01T11:12:23","guid":{"rendered":"https:\/\/arnut.com\/home\/?p=41"},"modified":"2022-09-04T18:13:15","modified_gmt":"2022-09-04T11:13:15","slug":"%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%9b%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b9%81%e0%b8%95%e0%b9%88%e0%b8%87-ip-address-%e0%b8%9a%e0%b8%99-centos-8-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-nmtui","status":"publish","type":"post","link":"https:\/\/arnut.com\/home\/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%9b%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b9%81%e0%b8%95%e0%b9%88%e0%b8%87-ip-address-%e0%b8%9a%e0%b8%99-centos-8-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-nmtui\/","title":{"rendered":"\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07 IP Address \u0e1a\u0e19 CentOS 8 \u0e14\u0e49\u0e27\u0e22 nmtui"},"content":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07 IP Address \u0e1a\u0e19 CentOS 8 \u0e14\u0e49\u0e27\u0e22 nmtui<\/p>\n<pre><code spellcheck=\"false\"><strong>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08 NetworkManager<\/strong>\r\nrpm -qa | grep NetworkManager\r\n\r\n<\/code><strong>\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a<\/strong> <code spellcheck=\"false\">ifconfig -a\r\nip a\r\n\r\n<\/code><strong>\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a<\/strong> <code spellcheck=\"false\">nmtui-edit eth1<\/code><\/pre>\n<pre><strong>\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\u0e1b\u0e34\u0e14\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a<\/strong>\r\n<code spellcheck=\"false\">ifdown eth1\r\nifup eth1\r\nifconfig eth1<\/code><\/pre>\n<p><strong>\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07 IP Address \u0e1a\u0e19 CentOS 8 \u0e14\u0e49\u0e27\u0e22 nmtui<\/strong><br \/>\n<code spellcheck=\"false\">nmcli connection show nmcli<\/code><\/p>\n<pre><code spellcheck=\"false\">nmcli con mod eth1 ipv4.method manual\r\n<\/code><\/pre>\n<pre><code spellcheck=\"false\">nmcli con mod eth1 ipv4.address 192.168.10.100\/24\r\nnmcli con mod eth1 ipv4.gateway 192.168.10.1\r\n\r\n<\/code><code spellcheck=\"false\">nmcli con mod eth1 ipv4.dns \"1.1.1.1 192.168.10.1\"<\/code><\/pre>\n<pre><code spellcheck=\"false\">nmcli con mod eth1 autoconnect yes\r\n<\/code><\/pre>\n<pre><code spellcheck=\"false\">nmcli con down eth1\r\nnmcli con up eth1\r\n<\/code><\/pre>\n<pre><code spellcheck=\"false\">ifconfig eth1\r\nnmcli device show eth1<\/code><\/pre>\n<pre><code spellcheck=\"false\">\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07\u0e42\u0e14\u0e22\u0e40\u0e02\u0e49\u0e32\u0e2b\u0e49\u0e2d\u0e07\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07\u0e04\u0e48\u0e32\u0e17\u0e32\u0e07\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22<\/code>\u0e2b\u0e49\u0e2d\u0e07 '\/etc\/sysconfig\/network-scripts'<\/pre>\n<pre><code spellcheck=\"false\">cd \/etc\/sysconfig\/network-scripts\/\r\nls -lah\r\n\r\n<\/code><code spellcheck=\"false\">ifconfig eth1<\/code><\/pre>\n<pre><code spellcheck=\"false\">mv ifcfg-eth1 ~\/ifcfg-eth1.backup\r\nvim ifcfg-eth1<\/code><\/pre>\n<pre><code spellcheck=\"false\">TYPE=\"Ethernet\"\r\nBOOTPROTO=\"none\"\r\nNAME=\"eth1\"\r\nIPADDR=\"192.168.10.100\"\r\nNETMASK=\"255.255.255.0\"\r\nGATEWY=192.168.10.1\r\nDNS1=1.1.1.1\r\nDNS2=192.168.10.1\r\nDEVICE=\"eth1\"\r\nONBOOT=\"yes\"\r\n\r\n<\/code><\/pre>\n<pre><code spellcheck=\"false\">ifdown eth1\r\nifup eth1<\/code><\/pre>\n<pre>\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07 IP Address \u0e1a\u0e19 CentOS 8 \u0e14\u0e49\u0e27\u0e22 nmtui \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08 NetworkManager rpm -qa | grep NetworkManager \u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a ifconfig -a ip a \u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a nmtui-edit eth1 \u0e01\u0e32\u0e23\u0e40\u0e1b\u0e34\u0e14\u0e1b\u0e34\u0e14\u0e2d\u0e34\u0e19\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1f\u0e2a ifdown eth1 ifup eth1 ifconfig eth1 \u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07 IP Address \u0e1a\u0e19 CentOS 8 \u0e14\u0e49\u0e27\u0e22 nmtui nmcli connection show nmcli nmcli con mod eth1 ipv4.method manual nmcli con mod eth1 ipv4.address 192.168.10.100\/24 nmcli [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3],"tags":[19,20],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-sysadmin","category-ubuntu-linux","tag-centos","tag-linux"],"_links":{"self":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":1,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/posts\/41\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arnut.com\/home\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}