{"id":5679,"date":"2023-11-29T15:48:53","date_gmt":"2023-11-29T07:48:53","guid":{"rendered":"https:\/\/white-night.club\/?p=5679"},"modified":"2023-11-29T16:07:26","modified_gmt":"2023-11-29T08:07:26","slug":"blog32","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/11\/29\/blog32\/","title":{"rendered":"Linux\uff1a\u914d\u7f6eIP"},"content":{"rendered":"\n<p>ip a\/addr\/address\uff1a\u67e5\u770b\u6240\u6709\u7f51\u7edc\u63a5\u53e3\uff08eth0\uff0ceth1&#8230;\uff09\u914d\u7f6e\u7684IP\u3002<\/p>\n\n\n\n<p>ip a add xxx dev xxx\uff1a\u4e3a\u67d0\u4e2a\u7f51\u7edc\u63a5\u53e3\u914d\u7f6eIP\u3002\u4f8b\u5b50\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong><em>ip a add 192.168.0.1\/20 dev eth1<\/em><\/strong><\/p>\n\n\n\n<p>\u4e3aeth1\u7f51\u5361\u914d\u7f6eIP\u3002\u5982\u679c\u8be5\u63a5\u53e3\u5df2\u6709\u914d\u7f6e\u7684IP\uff0c\u65b0\u914d\u7f6e\u7684IP\u4f1a\u4f5c\u4e3a\u5907\u7528\uff08secondary\uff09IP\u4f7f\u7528\uff0c\u800c\u4e0d\u662f\u66ff\u4ee3\u539f\u6709\u7684IP\u3002<\/p>\n\n\n\n<p>ip a del xxx dev xxx\uff1a\u79fb\u9664\u67d0\u4e2a\u7f51\u7edc\u63a5\u53e3\u914d\u7f6e\u7684IP\u3002\u6ca1\u6709\u914d\u7f6eIP\u7684\u63a5\u53e3\u4f1a\u663e\u793aMAC\u5730\u5740\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\/\u589e\/\u5220IP<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[14,12],"tags":[70,11],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5679"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=5679"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5679\/revisions"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=5679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=5679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=5679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}