{"id":192117,"date":"2020-06-07T09:42:35","date_gmt":"2020-06-07T01:42:35","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=192117"},"modified":"2020-05-23T11:44:03","modified_gmt":"2020-05-23T03:44:03","slug":"linux-vmware-centos7-network","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-vmware-centos7-network.html","title":{"rendered":"\u6559\u4f60\u5982\u4f55\u5728VMware \u4e2d\u914d\u7f6e CentOS7 \u7f51\u7edc"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u672c\u6587\u8bb2\u89e3\u5982\u4f55\u5728 VMware\u865a\u62df\u673a\u4e2d\u4e3a CentOS 7 \u8fdb\u884c\u7f51\u7edc\u914d\u7f6e\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n 1\u3001\u9996\u5148\u67e5\u770bVMware\u865a\u62df\u673a\u7f51\u7edc\u914d\u7f6e<\/p>\n <\/p>\n 2\u3001ip addr \u67e5\u770b\u865a\u62df\u673aip\u5730\u5740<\/p>\n 3\u3001\u8f93\u5165dhclient\u83b7\u53d6\u52a8\u6001ip\u5730\u5740\uff0c\u5c06ip\u5730\u5740\u8bb0\u5f55\u4e0b\u62c9<\/p>\n 4\u3001\u8fdb\u5165vi \/etc\/sysconfig\/network-scripts\/ifcfg-ens33<\/p>\n 5\u3001\u5c06bootproto\u6539\u4e3astatic\uff0c\u5c06onboot\u6539\u4e3ayes<\/p>\n <\/p>\n 6\u3001\u5c06\u865a\u62df\u673a\u7f51\u7edc\u914d\u7f6e\u7684\u7f51\u5173\u548c\u7f51\u7edc\u5b50\u63a9\u7801\u914d\u7f6e\u8fdb\u53bb<\/p>\n TYPE=\"Ethernet\"\r\nPROXY_METHOD=\"none\"\r\nBROWSER_ONLY=\"no\"\r\nBOOTPROTO=\"static\" \uff08\u4fee\u6539\u4e3a\u9759\u6001ip\uff09\r\nDEFROUTE=\"yes\"\r\nIPV4_FAILURE_FATAL=\"no\"\r\nIPV6INIT=\"yes\"\r\nIPV6_AUTOCONF=\"yes\"\r\nIPV6_DEFROUTE=\"yes\"\r\nIPV6_FAILURE_FATAL=\"no\"\r\nIPV6_ADDR_GEN_MODE=\"stable-privacy\"\r\nNAME=\"ens33\"\r\nUUID=\"2e0343ca-b1b5-4261-888a-68858682787f\"\r\nDEVICE=\"ens33\"\r\nONBOOT=\"yes\" \uff08\u7cfb\u7edf\u542f\u52a8\u8fde\u63a5\uff09\r\nIPADDR=\"192.168.136.131\" \uff08dhclient\u52a8\u6001\u83b7\u53d6\u7684ip\u5730\u5740\uff09\r\nNETMASK=\"255.255.255.0\" \uff08\u6253\u5f00\u865a\u62df\u673a\u7f51\u7edc\u914d\u7f6e\u67e5\u770b\uff09\r\nGATEWAY=\"192.168.136.2\"\uff08\u6253\u5f00\u865a\u62df\u673a\u7f51\u7edc\u914d\u7f6e\u67e5\u770b\uff09\r\nDNS1=\"114.114.114.114\"\uff08\u81ea\u5df1\u627e\uff09<\/pre>\n |