Use Linux to access the Internet-Linux general technology-Linux technology and application information. The following is a detailed description. Today is a very happy day and many happy events have taken place. What makes me happy most is that the linux (Feroda8) I installed in vmware can finally access the internet.
My host is Windows XP. Now I want to share with you the setting process:
Step 1: Install Feroda8 in vmware and remember to install vmware-tool.
Step 2: Set vmware's Internet access method to NAT, and other methods can also access the Internet, but I only use this method. This setting is relatively simple. As long as the host can access the Internet, the VM can access the Internet, regardless of the access method of the host. The specific setting method is to click the VM --> settings menu of the VM and select "Ethernet" in the pop-up window. The NAT option is displayed on the right of the window.
Step 3: connect to the shared host. On a windows host, right-click "Local Area Connection" and choose "Properties" from the shortcut menu. A window is displayed, in which this item is set on the "Advanced" page, select a check box and select "Local Network" (or VMnet8) from the drop-down list)
Step 4: Configure VMnet8. In win, set the VMnet8 connection (using this connection in nat mode) to automatically obtain the IP address, and run the ipconfig-all command in win to view the ip address of VMnet8, which may be 192.168.X.1.
On the VM, click "Edit" and select "Vitual NetWork Setting". In the displayed window, the "Nat" tab page is displayed. The Gateway ip address is: 192.168.X.2. this is the gateway of our VM.
Step 5: Set the network ip address and gateway in the VM. Go to linux on the VM, set its IP address to 192.168.X.3 (other options are available, as long as they are in this network segment), and set gateway to 192.168.X.2. Then restart linux to access the Internet.
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