{"id":107224,"date":"2024-10-16T10:32:12","date_gmt":"2024-10-16T02:32:12","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=107224"},"modified":"2024-10-16T10:32:12","modified_gmt":"2024-10-16T02:32:12","slug":"vmware-network-net","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/vmware-network-net.html","title":{"rendered":"Vmware\u4e09\u5927\u7f51\u7edc\u4e4bnet"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u7531\u4e8eLinux\u76ee\u524d\u5f88\u70ed\u95e8\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4eba\u5728\u5b66\u4e60Linux\uff0c\u4f46\u662f\u4e70\u4e00\u53f0\u670d\u52a1\u653e\u5bb6\u91cc\u6765\u5b66\u4e60\uff0c\u5b9e\u5728\u662f\u5f88\u6d6a\u8d39\u3002\u90a3\u4e48\u5982\u4f55\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1f\u865a\u62df\u673a\u8f6f\u4ef6\u662f\u5f88\u597d\u7684\u9009\u62e9\uff0c\u5e38\u7528\u7684\u865a\u62df\u673a\u8f6f\u4ef6\u6709VMware Workstations\u548cVirtualBox\u7b49\u3002\u5728\u4f7f\u7528\u865a\u62df\u673a\u8f6f\u4ef6\u7684\u65f6\u5019\uff0c\u5f88\u591a\u521d\u5b66\u8005\u90fd\u4f1a\u9047\u5230\u5f88\u591a\u95ee\u9898\uff0c\u800cVMware\u7684\u7f51\u7edc\u8fde\u63a5\u95ee\u9898\u662f\u5927\u5bb6\u9047\u5230\u6700\u591a\u95ee\u9898\u4e4b\u4e00\u3002\u5728\u5b66\u4e60\u4ea4\u6d41\u7fa4\u91cc\u9762\uff0c\u51e0\u4e4e\u6bcf\u5929\u90fd\u4f1a\u6709\u540c\u5b66\u95ee\u5230\u8fd9\u4e9b\u95ee\u9898\uff0c\u5199\u8fd9\u7bc7\u8be6\u89e3\u4e5f\u662f\u56e0\u4e3a\u7fa4\u91cc\u7ae5\u978b\u7f51\u7edc\u51fa\u6545\u969c\uff0c\u7136\u540e\u5728\u5e2e\u4ed6\u89e3\u51b3\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5bf9\u81ea\u5df1\u7684\u7406\u89e3\u4e5f\u505a\u4e00\u4e2a\u603b\u7ed3\u3002\u4eca\u5929\u6211\u4eec\u5c31\u4e00\u8d77\u6765\u63a2\u8ba8\u4e00\u4e0b\u5173\u4e8eVMware Workstations\u7f51\u7edc\u8fde\u63a5\u7684\u4e09\u79cd\u6a21\u5f0f\u4e4bNET\u6a21\u5f0f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

vmware\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u4e09\u79cd\u7f51\u7edc\u5de5\u4f5c\u6a21\u5f0f\uff0c\u5b83\u4eec\u5206\u522b\u662f\uff1aBridged\uff08\u6865\u63a5\u6a21\u5f0f\uff09\u3001NAT\uff08\u7f51\u7edc\u5730\u5740\u8f6c\u6362\u6a21\u5f0f\uff09\u3001Host-Only\uff08\u4ec5\u4e3b\u673a\u6a21\u5f0f\uff09\u3002<\/p>\n

\u6253\u5f00vmware\u865a\u62df\u673a\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u9009\u9879\u680f\u7684\u201c\u7f16\u8f91\u201d\u4e0b\u7684\u201c\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668\u201d\u4e2d\u770b\u5230VMnet0\uff08\u6865\u63a5\u6a21\u5f0f\uff09\u3001VMnet1\uff08\u4ec5\u4e3b\u673a\u6a21\u5f0f\uff09\u3001VMnet8\uff08NAT\u6a21\u5f0f\uff09\uff0c\u90a3\u4e48\u8fd9\u4e9b\u90fd\u662f\u6709\u4ec0\u4e48\u4f5c\u7528\u5462\uff1f\u5176\u5b9e\uff0c\u6211\u4eec\u73b0\u5728\u770b\u5230\u7684VMnet0\u8868\u793a\u7684\u662f\u7528\u4e8e\u6865\u63a5\u6a21\u5f0f\u4e0b\u7684\u865a\u62df\u4ea4\u6362\u673a\uff1bVMnet1\u8868\u793a\u7684\u662f\u7528\u4e8e\u4ec5\u4e3b\u673a\u6a21\u5f0f\u4e0b\u7684\u865a\u62df\u4ea4\u6362\u673a\uff1bVMnet8\u8868\u793a\u7684\u662f\u7528\u4e8eNAT\u6a21\u5f0f\u4e0b\u7684\u865a\u62df\u4ea4\u6362\u673a\uff0c\u63a5\u4e0b\u6765\u8ba9\u6211\u4eec\u4e00\u8d77\u8d70\u8fdbNET\u7684\u4e16\u754c\u3002<\/p>\n

\u4e00\u3001NAT\uff08\u5730\u5740\u8f6c\u6362\u6a21\u5f0f\uff09<\/strong><\/div>\n

\u521a\u521a\u6211\u4eec\u8bf4\u5230\uff0c\u5982\u679c\u4f60\u7684\u7f51\u7edcip\u8d44\u6e90\u7d27\u7f3a\uff0c\u4f46\u662f\u4f60\u53c8\u5e0c\u671b\u4f60\u7684\u865a\u62df\u673a\u80fd\u591f\u8054\u7f51\uff0c\u8fd9\u65f6\u5019NAT\u6a21\u5f0f\u662f\u6700\u597d\u7684\u9009\u62e9\u3002NAT\u6a21\u5f0f\u501f\u52a9\u865a\u62dfNAT\u8bbe\u5907\u548c\u865a\u62dfDHCP\u670d\u52a1\u5668\uff0c\u4f7f\u5f97\u865a\u62df\u673a\u53ef\u4ee5\u8054\u7f51\u3002\u5176\u7f51\u7edc\u7ed3\u6784\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n

\"\"<\/p>\n

NAT\u6a21\u5f0f<\/p>\n

\u5728NAT\u6a21\u5f0f\u4e2d\uff0c\u4e3b\u673a\u7f51\u5361\u76f4\u63a5\u4e0e\u865a\u62dfNAT\u8bbe\u5907\u76f8\u8fde\uff0c\u7136\u540e\u865a\u62dfNAT\u8bbe\u5907\u4e0e\u865a\u62dfDHCP\u670d\u52a1\u5668\u4e00\u8d77\u8fde\u63a5\u5728\u865a\u62df\u4ea4\u6362\u673aVMnet8\u4e0a\uff0c\u8fd9\u6837\u5c31\u5b9e\u73b0\u4e86\u865a\u62df\u673a\u8054\u7f51\u3002\u90a3\u4e48\u6211\u4eec\u4f1a\u89c9\u5f97\u5f88\u5947\u602a\uff0c\u4e3a\u4ec0\u4e48\u9700\u8981\u865a\u62df\u7f51\u5361VMware Network Adapter VMnet8\u5462\uff1f\u539f\u6765\u6211\u4eec\u7684VMware Network Adapter VMnet8\u865a\u62df\u7f51\u5361\u4e3b\u8981\u662f\u4e3a\u4e86\u5b9e\u73b0\u4e3b\u673a\u4e0e\u865a\u62df\u673a\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5728\u4e4b\u540e\u7684\u8bbe\u7f6e\u6b65\u9aa4\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u52a0\u4ee5\u9a8c\u8bc1\u3002<\/p>\n

\u9996\u5148\uff0c\u8bbe\u7f6e\u865a\u62df\u673a\u4e2dNAT\u6a21\u5f0f\u7684\u9009\u9879\uff0c\u6253\u5f00vmware\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u4e0b\u7684\u201c\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668\u201d\uff0c\u8bbe\u7f6eNAT\u53c2\u6570\u53caDHCP\u53c2\u6570\u3002<\/p>\n

\"\"<\/p>\n

\u865a\u62df\u7f51\u7edc\u7f16\u8f91\u5668<\/strong><\/p>\n

\"\"<\/p>\n

NAT\u53c2\u6570<\/strong><\/p>\n

\"\"<\/p>\n

DHCP\u53c2\u6570<\/strong><\/p>\n

\u5c06\u865a\u62df\u673a\u7684\u7f51\u7edc\u8fde\u63a5\u6a21\u5f0f\u4fee\u6539\u6210NAT\u6a21\u5f0f\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u865a\u62df\u673a\u8bbe\u7f6e\u201d\u3002<\/p>\n

\"\"<\/p>\n

\u7f16\u8f91\u865a\u62df\u673a\u8bbe\u7f6e<\/strong><\/p>\n

\u70b9\u51fb\u201c\u7f51\u7edc\u9002\u914d\u5668\u201d\uff0c\u9009\u62e9\u201cNAT\u6a21\u5f0f\u201d<\/p>\n

\"\"<\/p>\n

NAT\u6a21\u5f0f<\/strong><\/p>\n

\u7136\u540e\u5f00\u673a\u542f\u52a8\u7cfb\u7edf\uff0c\u7f16\u8f91\u7f51\u5361\u914d\u7f6e\u6587\u4ef6\uff0c\u547d\u4ee4\u4e3avi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/p>\n

\"\"<\/p>\n

\u7f16\u8f91\u7f51\u5361\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n

\u5177\u4f53\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n

\"\"<\/p>\n

\u5177\u4f53\u914d\u7f6e<\/strong><\/p>\n

\u7f16\u8f91\u5b8c\u6210\uff0c\u4fdd\u5b58\u9000\u51fa\uff0c\u7136\u540e\u91cd\u542f\u865a\u62df\u673a\u7f51\u5361\uff0c\u52a8\u6001\u83b7\u53d6ip\u5730\u5740\uff0c\u4f7f\u7528ping\u547d\u4ee4ping\u5916\u7f51ip\uff0c\u6d4b\u8bd5\u80fd\u5426\u8054\u7f51\u3002<\/p>\n

\"\"<\/p>\n

\u6d4b\u8bd5\u80fd\u5426\u8054\u7f51<\/strong><\/p>\n

\u4e4b\u524d\uff0c\u6211\u4eec\u8bf4\u8fc7VMware Network Adapter VMnet8\u865a\u62df\u7f51\u5361\u7684\u4f5c\u7528\uff0c\u90a3\u6211\u4eec\u73b0\u5728\u5c31\u6765\u6d4b\u8bd5\u4e00\u4e0b\u3002<\/p>\n

\"\"<\/p>\n

\u865a\u62df\u7f51\u5361\u7981\u7528<\/strong><\/p>\n

\"\"<\/p>\n

\u662f\u5426\u80fdping\u901a<\/strong><\/p>\n

\u5982\u6b64\u770b\u6765\uff0c\u865a\u62df\u673a\u80fd\u8054\u901a\u5916\u7f51\uff0c\u786e\u5b9e\u4e0d\u662f\u901a\u8fc7VMware Network Adapter VMnet8\u865a\u62df\u7f51\u5361\uff0c\u90a3\u4e48\u4e3a\u4ec0\u4e48\u8981\u6709\u8fd9\u5757\u865a\u62df\u7f51\u5361\u5462\uff1f<\/p>\n

\u4e4b\u524d\u6211\u4eec\u5c31\u8bf4VMware Network Adapter VMnet8\u7684\u4f5c\u7528\u662f\u4e3b\u673a\u4e0e\u865a\u62df\u673a\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c31\u7528\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177\u6765\u6d4b\u8bd5\u4e00\u4e0b\u3002<\/p>\n

\"\"<\/p>\n

\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177\u6d4b\u8bd5<\/strong><\/p>\n

\u7136\u540e\uff0c\u5c06VMware Network Adapter VMnet8\u542f\u7528\u4e4b\u540e\uff0c\u53d1\u73b0\u8fdc\u7a0b\u5de5\u5177\u53ef\u4ee5\u8fde\u63a5\u4e0a\u865a\u62df\u673a\u4e86\u3002<\/p>\n

\u90a3\u4e48\uff0c\u8fd9\u5c31\u662fNAT\u6a21\u5f0f\uff0c\u5229\u7528\u865a\u62df\u7684NAT\u8bbe\u5907\u4ee5\u53ca\u865a\u62dfDHCP\u670d\u52a1\u5668\u6765\u4f7f\u865a\u62df\u673a\u8fde\u63a5\u5916\u7f51\uff0c\u800cVMware Network Adapter VMnet8\u865a\u62df\u7f51\u5361\u662f\u7528\u6765\u4e0e\u865a\u62df\u673a\u901a\u4fe1\u7684\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.linuxidc.com\/Linux\/2016-09\/135521p2.htm<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/vmware-network-net.html<\/a>\u7f16\u8f91\uff1a\u51af\u745e\u6d9b\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u7531\u4e8eLinux\u76ee\u524d\u5f88\u70ed\u95e8\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4eba\u5728\u5b66\u4e60Linux\uff0c\u4f46\u662f\u4e70\u4e00\u53f0\u670d\u52a1\u653e\u5bb6\u91cc\u6765\u5b66\u4e60\uff0c\u5b9e\u5728\u662f\u5f88\u6d6a\u8d39\u3002\u90a3\u4e48\u5982 […]<\/p>\n","protected":false},"author":1329,"featured_media":107249,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-107224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/107224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=107224"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/107224\/revisions"}],"predecessor-version":[{"id":293646,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/107224\/revisions\/293646"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/107249"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=107224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=107224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=107224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}