{"id":159559,"date":"2019-10-19T09:01:52","date_gmt":"2019-10-19T01:01:52","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=159559"},"modified":"2019-09-28T11:04:00","modified_gmt":"2019-09-28T03:04:00","slug":"linux-pre-net","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-pre-net.html","title":{"rendered":"Linux\u7269\u7406\u7f51\u5361\u805a\u5408\u53ca\u6865\u63a5"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \nLinux\u5185\u90e8\u5b9e\u73b0\u7684bridge\u53ef\u4ee5\u628a\u4e00\u53f0\u673a\u5668\u4e0a\u7684\u591a\u5f20\u7f51\u5361\u6865\u63a5\u8d77\u6765\uff0c\u4ece\u800c\u628a\u81ea\u5df1\u4f5c\u4e3a\u4e00\u53f0\u4ea4\u6362\u673a\u3002\u540c\u65f6\uff0cLInux bridge\u8fd8\u652f\u6301\u865a\u62df\u7aef\u53e3\uff0c\u5373\u6865\u63a5\u7684\u4e0d\u4e00\u5b9a\u90fd\u662f\u7269\u7406\u7f51\u5361\u63a5\u53e3\uff0c\u8fd8\u53ef\u4ee5\u662f\u865a\u62df\u63a5\u53e3\u3002\u76ee\u524d\u4e3b\u8981\u8868\u73b0\u4e3aTap\u63a5\u53e3\uff0cTap\u63a5\u53e3\u5728\u903b\u8f91\u4e0a\u548c\u7269\u7406\u7f51\u5361\u5b9e\u73b0\u76f8\u540c\u7684\u529f\u80fd\uff0c\u90fd\u53ef\u4ee5\u63a5\u6536\u548c\u53d1\u9001\u6570\u636e\u5305\u3002\u6240\u4ee5\u8fd9\u4e00\u5e94\u7528\u4e5f\u6210\u5c31\u4e86\u865a\u62df\u5316\u73af\u5883\u4e0b\u7684bridge\u5b9e\u73b0\u3002 \n\u5230\u6b64\u57fa\u7840\u7406\u8bba\u77e5\u8bc6\u5c31\u4ecb\u7ecd\u5b8c\u4e86\uff0c\u90a3\u4e48\u63a5\u4e0b\u6765\u5c31\u7ed3\u5408Linux\u6e90\u4ee3\u7801\u5206\u6790\u4e0b\u6865\u63a5\u6a21\u5f0f\u4e0b\u6570\u636e\u5305\u7684\u8f6c\u53d1\u6d41\u7a0b\u3002 \n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u8bf4\u660e\uff1a<\/strong><\/div>\n (1)\u3001\u5728\u7f51\u5361\u805a\u5408\u7ed1\u5b9a\u4e4b\u524d\uff0c\u8981\u5148\u505c\u7528NetworkManager\u670d\u52a1(\u6216\u8005\u5728\u7f51\u5361\u4e2d\u6dfb\u52a0\u53c2\u6570\uff1aNM_CONTROLLED=no)\uff0c\u5426\u5219\u7cfb\u7edf\u91cd\u542f\u540e\u7ed1\u5b9a\u7684IP\u5931\u6548\u4e86\u3002<\/strong><\/span><\/div>\n \r\n# systemctl stop NetworkManager\r\n\r\n# systemctl disable NetworkManager\r\n<\/pre>\n |