{"id":7651,"date":"2020-05-26T19:03:50","date_gmt":"2020-05-26T11:03:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7651"},"modified":"2020-05-26T19:03:54","modified_gmt":"2020-05-26T11:03:54","slug":"netconf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/netconf","title":{"rendered":"netconf\u547d\u4ee4 – \u8bbe\u7f6e\u7f51\u7edc\u529f\u80fd"},"content":{"rendered":"\n
netconf\u662fRed Hat Linux\u53d1\u884c\u7248\u4e13\u95e8\u7528\u6765\u8c03\u6574Linux\u5404\u9879\u8bbe\u7f6e\u7684\u7a0b\u5e8f\u3002<\/p>\n\n\n\n
netconf\u662fRed Hat Linux\u63d0\u4f9b\u7684Linuxconf\u7684\u4e00\u90e8\u5206\uff0c\u4e3b\u8981\u7528\u4e8e\u8bbe\u7f6e\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u53c2\u6570\u3002\u5b83\u53ef\u4ee5\u5728consle\u4e0b\u8fd0\u884c\uff08\u6587\u672c\u83dc\u5355\uff09\uff0c\u4e5f\u53ef\u4ee5\u5728X-Window\u4e2d\u8fd0\u884c\uff08\u56fe\u5f62\u754c\u9762\uff09\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> netconf [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570:<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u547d\u4ee4\u884c\u4e0b\u8c03\u51fa\u7f51\u7edc\u914d\u7f6e\u754c\u9762\uff1a<\/p>\n\n\n\n \u547d\u4ee4\u884c\u4e0b\u8c03\u51fa\u7f51\u5361eth1\u914d\u7f6e\u754c\u9762\u5e76\u4f7f\u4e4b\u751f\u6548\uff1a<\/p>\n\n\n\n \u547d\u4ee4\u884c\u4e0b\u8c03\u51fa\u7f51\u5361eth0\u914d\u7f6e\u754c\u9762\u5e76\u4f7f\u4e4b\u751f\u6548\uff1a<\/p>\n\n\n\n netconf\u662fRed Hat Linux\u53d1\u884c\u7248\u4e13\u95e8\u7528\u6765\u8c03\u6574Linux\u5404\u9879\u8bbe\u7f6e\u7684\u7a0b\u5e8f\u3002 netconf\u662fRed […]<\/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\/7651"}],"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=7651"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7651\/revisions"}],"predecessor-version":[{"id":7866,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7651\/revisions\/7866"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u7f3a\u7701<\/td> \u8c03\u51fa\u7f51\u7edc\u914d\u7f6e\u754c\u9762<\/td><\/tr> ethX<\/td> \u8c03\u51fa\u7f51\u5361eth x=0\u4ee5\u4e0a\u6570\u5b57\u8bbe\u7f6e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# netconf <\/pre>\n\n\n\n
[root@linuxcool ~]# netconf eth1\n\n[root@linuxcool ~]# service network restart<\/pre>\n\n\n\n
[root@linuxcool ~]# netconf eth0\n\n[root@linuxcool ~]# ifdown eht0\n[root@linuxcool ~]# ifup eht0\n<\/pre>\n","protected":false},"excerpt":{"rendered":"