{"id":3020,"date":"2019-06-13T12:26:46","date_gmt":"2019-06-13T04:26:46","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3020"},"modified":"2019-06-13T12:26:48","modified_gmt":"2019-06-13T04:26:48","slug":"ifdown","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/ifdown","title":{"rendered":"ifdown\u547d\u4ee4 – \u7981\u7528\u7f51\u7edc\u63a5\u53e3"},"content":{"rendered":"\n
ifdown\u547d\u4ee4\u7528\u4e8e\u7981\u7528\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u8be5\u547d\u4ee4\u4f1a\u53bb\u8bfb\u53d6\/etc\/sysconfig\/network-scripts\/\u76ee\u5f55\u4e0b\u7684\u76f8\u5173\u7f51\u7edc\u63a5\u53e3\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u914d\u7f6e\u6587\u4ef6\u7684\u5185\u5bb9\u6765\u5173\u95ed\u8be5\u7f51\u7edc\u63a5\u53e3\u3002<\/p>\n\n\n\n
\u6ce8\u610f\uff1a\u7f51\u7edc\u63a5\u53e3\u540d\u79f0\u5fc5\u987b\u662f\/etc\/sysconfig\/network-scripts\/\u76ee\u5f55\u914d\u7f6e\u6587\u4ef6\u4e2d\u8bbe\u7f6e\u7684\u624d\u53ef\u4ee5\u3002\u5982\u679c\u4f7f\u7528ifconfig\u547d\u4ee4\u6539\u53d8\u4e86\u7f51\u7edc\u63a5\u53e3\u540e\uff0cifdown\u547d\u4ee4\u5c31\u4e0d\u4f1a\u8bc6\u522b\u4e86\u3002\u56e0\u4e3aifdown\u547d\u4ee4\u4f1a\u5bf9\u6bd4\u5f53\u524d\u7f51\u7edc\u7684\u53c2\u6570\u4e0e\/etc\/sysconfig\/network-scripts\/\u4e2d\u914d\u7f6e\u6587\u4ef6\u7684\u5185\u5bb9\u662f\u5426\u76f8\u7b26\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>ifdown [\u7f51\u7edc\u63a5\u53e3]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u7981\u7528\u7f51\u7edc\u63a5\u53e3eth0\uff1a<\/p>\n\n\n\n ifdown\u547d\u4ee4\u7528\u4e8e\u7981\u7528\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u8be5\u547d\u4ee4\u4f1a\u53bb\u8bfb\u53d6\/etc\/sysconfig\/network-scrip […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3020"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3020"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3020\/revisions"}],"predecessor-version":[{"id":3179,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3020\/revisions\/3179"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u7f51\u7edc\u63a5\u53e3<\/td> \u8981\u7981\u7528\u7684\u7f51\u7edc\u63a5\u53e3<\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# ifdown eth0<\/pre>\n","protected":false},"excerpt":{"rendered":"