{"id":308,"date":"2011-01-11T11:01:09","date_gmt":"2011-01-11T10:01:09","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=308"},"modified":"2013-02-01T13:11:10","modified_gmt":"2013-02-01T12:11:10","slug":"how-to-add-a-virtual-ip-in-macosx","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=308","title":{"rendered":"How to add a virtual IP in MacOSX?"},"content":{"rendered":"<p>To add a secondary (virtual) IP address to an existing interface use the following command:<\/p>\n<pre>sudo ifconfig lo0 inet 192.168.0.1 netmask 255.255.255.0 alias<\/pre>\n<p>to remove it again use:<\/p>\n<pre>sudo ifconfig lo0 inet 192.168.0.1 netmask 255.255.255.0 -alias<\/pre>\n<p>simple as that\u00c2\u00a0\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add a secondary (virtual) IP address to an existing interface use the following command: sudo ifconfig lo0 inet 192.168.0.1 netmask 255.255.255.0 alias to remove it again use: sudo ifconfig lo0 inet 192.168.0.1 netmask 255.255.255.0 -alias simple as that\u00c2\u00a0\ud83d\ude42<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-mac-os-x"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=308"}],"version-history":[{"count":5,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/308\/revisions\/2713"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}