{"id":523,"date":"2014-08-18T17:00:44","date_gmt":"2014-08-18T17:00:44","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=523"},"modified":"2014-08-25T18:12:51","modified_gmt":"2014-08-25T18:12:51","slug":"how-to-set-a-static-ip-address-in-os-x-from-command-line","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-set-a-static-ip-address-in-os-x-from-command-line\/","title":{"rendered":"How to set a Static ip Address in OS X from Command Line"},"content":{"rendered":"<p>You can set a static ip address in OS X with the following command.  Replace en0 with the appropriate interface.<\/p>\n<pre>sudo ipconfig set en0 INFORM 192.168.10.12<\/pre>\n<p>The default ethernet interface on a Mac is usually en0.  You can run <code>ifconfig<\/code> to view all the interfaces available on the machine.<\/p>\n<p>The ip address will last until you reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can set a static ip address in OS X with the following command. Replace en0 with the appropriate interface. sudo ipconfig set en0 INFORM 192.168.10.12 The default ethernet interface on a Mac is usually en0. You can run ifconfig &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-set-a-static-ip-address-in-os-x-from-command-line\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[25],"tags":[165,8,274,50,166],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-os-x","tag-apple","tag-command-line-2","tag-os-x","tag-static-ip","tag-terminal"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":8,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":534,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/523\/revisions\/534"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}