{"id":821,"date":"2014-10-21T20:31:58","date_gmt":"2014-10-21T20:31:58","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=821"},"modified":"2014-10-21T20:31:58","modified_gmt":"2014-10-21T20:31:58","slug":"change-gateway-centos","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/21\/change-gateway-centos\/","title":{"rendered":"Change the gateway in CentoS"},"content":{"rendered":"<p>Edit the netowrk file<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# nano \/etc\/sysconfig\/network\n<\/pre>\n<p>You should see this:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nHOSTNAME=host.domain.com\n# =============================================================\n# Network Script generated by BareMetal\n# =============================================================\nNETWORKING=yes\nNETWORKING_IPV6=no\nGATEWAY=216.xx.xx.1\n\n<\/pre>\n<p>Change the Gateway and save then restart networking<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# service  network restart\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Edit the netowrk file # nano \/etc\/sysconfig\/network You should see this: HOSTNAME=host.domain.com # ============================================================= # Network Script generated by BareMetal # ============================================================= NETWORKING=yes NETWORKING_IPV6=no GATEWAY=216.xx.xx.1 Change the Gateway and save then restart networking # service network restart<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,72],"tags":[],"class_list":["post-821","post","type-post","status-publish","format-standard","hentry","category-centos6","category-networking"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=821"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/821\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}