VMware NAT Connectivity Extranet

Source: Internet
Author: User

VMware NAT Connectivity Extranet

Background: In the enterprise because often do experiments need to experiment machine on the outside network, oneself is not the administrator, not so many can Sisu network IP, so need to set up virtual machine sharing Internet, a colleague asked me how to operate, set record as follows:

Select a local join after installing VMware:

650) this.width=650; "height=" 410 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ed5sq*qkq4k* nzd*snciw3lozlmvcju.wy.3m*k5sze!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=bqgbaqaaaaadals!&su= 0124683153&tm=1481868000&sce=0-12-12&rf=2-9 "Width=" 260 "style=" margin:0px;padding:0px;border-width : 0px;border-style:none;vertical-align:top; "alt=" Dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=bqgbaqaaa "/>

To set up a share:

650) this.width=650; "height=" 348 "src=" http://a4.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ kfdhubptesea5i*zdjbkl6u*vva8ehtfx1sk15nmmks!/b/dmcaaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjdaqaaaaadafe! &su=071885153&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dmcaaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgjdaqaaa "/>

View VMNET8 Status:

650) this.width=650; "height=" 389 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ Bdbdulndzw60udwrdolcqih8hukrtq5zvmirooogjto!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgkgaqaaaaadaio! &su=0169962897&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgybaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgkgaqaaa "/>

Set up VMware:

Set the virtual machine NIC mode to VMware (NAT8)


650) this.width=650; "height=" 339 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/gd.bhkyvg2c* vc7iw9hvuunlk4av5kpw1w85t5flxs0!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjuaqaaaaadafg!&su= 0198658497&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px;border-width : 0px;border-style:none;vertical-align:top; "alt=" Dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjuaqaaa "/>


Into the system to set the NIC to DHCP


650) this.width=650; "height=" 326 "src=" http://a1.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ eiz5y70safsw5vy2o3ahdjtunkvr9mkxpnqxcq2cfho!/b/dmgaaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjhaqaaaaadaes! &su=0259431905&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dmgaaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgjhaqaaa "/>


Observing IP changes:


650) this.width=650; "height=" 236 "src=" http://a1.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/uydz5* dek4xbbj1kdkzj6*imql5gj7pidmdlmc1b0xi!/b/dmgaaaaaaaaa&ek=1&kp=1&pt=0&bo=kgltaaaaaaadaoa!& Su=052578897&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dmgaaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgltaaaaa "/>


Test network:


650) this.width=650; "height=" 449 "src=" http://a4.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/hBGHKYIwaSF2g *hxbugte72wytmdjdssergizrv5nta!/b/dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo=kglcaqaaaaadam4!&su= 0232839649&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px;border-width : 0px;border-style:none;vertical-align:top; "alt=" Dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo=kglcaqaaa "/>


Linux systems:

Also set the virtual machine NIC mode to VMware (NAT8)


650) this.width=650; "height=" 342 "src=" http://a4.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ tj6i0vlhe91su2b9qwt2hvsx88*wdyseccciy1ml8yo!/b/dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjxaqaaaaadafs! &su=0217660529&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgjxaqaaa "/>


Enter system: Set the NIC to DHCP boot mode

Vim/etc/sysconfig/network-scripts/ifcfg-eth0


650) this.width=650; "height=" 341 "src=" http://a4.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ Ct9faj6ll2u4hzkzhkp0inwf3fjqq9cpziamq6fyygi!/b/dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjwaqaaaaadafo! &su=016409217&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgjwaqaaa "/>



650) this.width=650; "height=" 135 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ qlrjwq90kaqk5dszljf9q4fwdwxtnk7dzlvkn6oza7u!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgkiaaaaaaadaiu! &su=0141429633&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgybaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgkiaaaaa "/>


Test network:


650) this.width=650; "height=" 351 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ cgdvnnvuxxqacxmkhbrqik.lqxddjelx0dvfp8zzehk!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=kgjgaqaaaaadagw! &su=0144592433&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 553 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgybaaaaaaaa&ek=1&kp=1&pt=0&bo= Kgjgaqaaa "/>


Test success

Note that you can also manually set the IP: (as long as the IP segment range can)


650) this.width=650; "height=" 481 "src=" http://a3.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ s29j5.f3rsqcaj2fmlge9xlikdc8jlegni9mgrnsn50!/b/dgybaaaaaaaa&ek=1&kp=1&pt=0&bo=eqliaqaaaaadanu! &su=0225685761&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 528 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgybaaaaaaaa&ek=1&kp=1&pt=0&bo= Eqliaqaaa "/>



650) this.width=650; "height=" 257 "src=" http://a4.qpic.cn/psb?/594581eb-e62e-4426-a878-953c87dd5729/ jgdgxj.nxi9cqo7ax03fpi3gapr4clcgkihvt0rodfo!/b/dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo=eqicaqaaaaadadu! &su=0211304337&tm=1481868000&sce=0-12-12&rf=2-9 "width=" 528 "style=" margin:0px;padding:0px; border-width:0px;border-style:none;vertical-align:top; "Alt=" dgcbaaaaaaaa&ek=1&kp=1&pt=0&bo= Eqicaqaaa "/>



This article is from the "on the Road" blog, please be sure to keep this source http://jdonghong.blog.51cto.com/3473478/1883320

VMware NAT Connectivity Extranet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.