vmware linux system with Internet settings

  
the first case:
host uses PPPOE dial-up

method: NAT mode

1, turn off the virtual machine operating system, back Double-click on the virtual machine main interface
the top right of the main interface "Ethernet", pop-up "Network Adapter" dialog box, select the "NAT"

2, start the virtual machine operating system, set to dynamically obtain IP, That is obtained through DHCP.

this time in the virtual machine operating systems are IP hosts, host access to the Internet, the virtual machine can be.

Method two: Host-only mode

1, turn off the virtual machine operating system, virtual machine back to the main interface
double-click on the top right of the main interface "Ethernet", pop-up "network Adapter" dialog box, select "Host-only"

2, right-click the dial-up connection, open the PPPOE connection properties, select "advanced" and select "allow other network users through this computer's INTERNET Connect to connect"
In the "Home Network" drop-down box, select "VMware Network Adapter VMnet1"
VMware Network Adapter VMnet1 virtual NIC IP will automatically become 192.168.0.1
ping 192.168.0.1 Can pass.

3, enter vmware, start with linux operating system
netconfig command
the IP, set to 192.168.0.2 (the virtual network adapter in the same network segment)
gateway is 192.168.0.1 That IP address
DNS VMware network Adapter VMnet1 virtual network adapter is set to DNS ISP, such as 61.147.37.1

4, restart the network:
#service network restart

this time , as long as the host dial-up Internet access, system virtual machines to access the Internet and do not have to dial

method three: Bridge way

this way, the virtual machine closest to a real machine < BR>
1, first shut down the operating system in the virtual machine, return to the virtual machine main interface
double-click "Ethernet" at the top right of the main interface, pop-up "Network Adapter" dialog box, select "Bridge"

2. Install the proxy server such as sygate or wingate in the host machine

3. Set the proxy server of the virtual machine to the IP address of the host machine

Second case:
In the unit LAN

"Ethernet" to select the "Bridge" mode
When using this method, the virtual machine with a true Like a real machine, the IP is set to another available IP in the LAN.
Gateway: The address of the LAN gateway server (or the address of the router)
DNS: Set to the DNS server address of the ISP
Copyright © Windows knowledge All Rights Reserved