{"id":502,"date":"2016-11-03T17:32:25","date_gmt":"2016-11-03T16:32:25","guid":{"rendered":"http:\/\/btrnaidu.com\/?p=502"},"modified":"2016-11-03T17:32:25","modified_gmt":"2016-11-03T16:32:25","slug":"nmtui-a-nice-tool-to-tweek-network-settings-in-centos","status":"publish","type":"post","link":"https:\/\/btrnaidu.com\/index.php\/nmtui-a-nice-tool-to-tweek-network-settings-in-centos\/","title":{"rendered":"nmtui &#8211; a nice tool to tweek network settings in centos"},"content":{"rendered":"<p>If you ever ran into an issue of having two network card and wanted to make one as primary, <strong>nmtui<\/strong> can be a handy tool.<\/p>\n<p>Ideally defining GATEWAY to one of the network interfaces would solve the problem but this situation is ideal when one has static and other has dynamic IP or both have static IPs. \u00a0My situation was even complex when I had both the interfaces get its config via dhcp. \u00a0In this case I really cannot control which interface should have the GATEWAY defined and which not.<\/p>\n<p>With the help of nmtui command, i could tweek the network interface settings where I selected the below option for all the interfaces accept the primary one:<\/p>\n<pre style=\"padding-left: 30px;\">Never use this network for default route<\/pre>\n<p>And that was it. \u00a0Hope it helps someone needy. \u00a0[tweetthis]nmtui &#8211; to tweek your network settings. [\/tweetthis]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever ran into an issue of having two network card and wanted to make one as primary, nmtui can be a handy tool. Ideally defining GATEWAY to one of the network interfaces would solve the problem but this situation is ideal when one has static and other has dynamic IP or both have &hellip; <a href=\"https:\/\/btrnaidu.com\/index.php\/nmtui-a-nice-tool-to-tweek-network-settings-in-centos\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">nmtui &#8211; a nice tool to tweek network settings in centos<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[156,125],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux"],"_links":{"self":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":2,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/502\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}