VMlinux network settings

Source: Internet
Author: User
VMlinux network settings linuxvmware Internet settings first case: the host uses PPPOE dial-up access Method 1: NAT method 1. first shut down the operating system in the virtual machine, return to the virtual machine main interface double-click the Ethernet in the upper-right corner of the main interface, the NetworkAdapter dialog box is displayed. select NAT... VM linux network settings linux vmware Internet settings first case:
Method 1: NAT Method 1: first shut down the operating system in the virtual machine and return to the main interface of the virtual machine
Double-click "Ethernet" in the upper-right corner of the main interface. the "Network Adapter" dialog box is displayed. select "NAT" 2. start the virtual machine operating system and set the IP address to dynamic retrieval, which is obtained through DHCP. In this case, the operating system in the virtual machine uses the IP address of the host. if the host can access the Internet, the virtual machine can also. Method 2: Host-only mode www.2cto.com 1. first shut down the operating system in the virtual machine and return to the main interface of the virtual machine.
Double-click "Ethernet" in the upper-right corner of the main interface. the "Network Adapter" dialog box is displayed. select "Host-only" 2. right-click the dial-up connection, open the PPPOE connection property, and select "advanced ", select "allow other network users to connect through the INTERNET connection of this computer"
In the "home Network" drop-down box, select "VMware Network Adapter VMnet1", and the IP address of the VMware Network Adapter VMnet1 virtual Network Adapter will automatically change to 192.168.0.1. in this case, ping 192.168.0.1. 3. go to vmware and start the linux operating system. run the netconfig command to set the IP address to 192.168.0.2 (in the same network segment as the virtual network card) the gateway is 192.168.0.1, that is, the IP address of the VMware Network Adapter VMnet1 Virtual NIC is set to the DNS of the ISP, for example, 61.147.37.1 4. restart the network: # service Network restart at this time, as long as the host dials the internet, the virtual machine system can access the Internet without dialing method 3: Bridge mode www.2cto.com. the virtual machine is the closest to a real machine. 1. first, shut down the operating system in the virtual machine and return to the main interface of the virtual machine.
Double-click "Ethernet" in the upper-right corner of the main interface to bring up the "Network Adapter" dialog box, select "Bridge" 2. install a proxy server such as sygate or wingate on the host machine. 3. set the proxy server of the VM to the IP address of the host machine. The second scenario is as follows: when you select Bridge for Ethernet in the Lan, the virtual machine is the same as a real machine, and the IP address is set to another available IP address in the Lan to Gateway: IP address of the Lan gateway server (or the IP address of the router) DNS: Sun Fei, the IP address of the DNS server set to ISP
Related Article

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.