{"id":3748,"date":"2019-06-30T11:10:46","date_gmt":"2019-06-30T03:10:46","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3748"},"modified":"2019-06-30T11:10:47","modified_gmt":"2019-06-30T03:10:47","slug":"usernetctl","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/usernetctl","title":{"rendered":"usernetctl\u547d\u4ee4 – \u64cd\u4f5c\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3"},"content":{"rendered":"\n
usernetctl\u547d\u4ee4\u5728\u7528\u4e8e\u88ab\u5141\u8bb8\u65f6\u64cd\u4f5c\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u5728\u4f7f\u7528\u4e0a\u548c”ifup”\u3001”ifon”\u547d\u4ee4\u6709\u4e9b\u7c7b\u4f3c\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>usernetctl [\u53c2\u6570] [\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 \u6fc0\u6d3b\u7f51\u7edc\u63a5\u53e3\uff1a<\/p>\n\n\n\n \u7981\u7528\u7f51\u7edc\u63a5\u53e3\uff1a<\/p>\n\n\n\n \u62a5\u544a\u7f51\u7edc\u63a5\u53e3\u72b6\u6001\uff1a<\/p>\n\n\n\n usernetctl\u547d\u4ee4\u5728\u7528\u4e8e\u88ab\u5141\u8bb8\u65f6\u64cd\u4f5c\u6307\u5b9a\u7684\u7f51\u7edc\u63a5\u53e3\u3002\u5728\u4f7f\u7528\u4e0a\u548c”ifup”\u3001&# […]<\/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\/3748"}],"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=3748"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3748\/revisions"}],"predecessor-version":[{"id":3756,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3748\/revisions\/3756"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}up<\/td> \u6fc0\u6d3b\u7f51\u7edc\u63a5\u53e3<\/td><\/tr> down<\/td> \u7981\u7528\u7f51\u7edc\u63a5\u53e3<\/td><\/tr> report<\/td> \u62a5\u544a\u7f51\u7edc\u63a5\u53e3<\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# usernetctl enp1s0 up<\/pre>\n\n\n\n
[root@linuxcool ~]# usernetctl enp1s0 down<\/pre>\n\n\n\n
[root@linuxcool ~]# usernetctl enp1s0 report<\/pre>\n","protected":false},"excerpt":{"rendered":"