I installed ubuntu9.10 in VMware Workstation, but found that I could not access the Internet, but could ping the IP address of the internet. I tried a variety of ways to access the Internet through a browser. After suffering for dozens of minutes, I finally found a solution.
The solution is as follows: Set the network connection mode of ubuntu to Nat
Nat connections are usually local connections 3
Set the sharing of local connection 1 to local connection 3
The IP address of local connection 3 is as follows:
The IP address, subnet mask, and gateway configured in Ubuntu are as follows: Sudo gedit/etc/Network/interfaces <br/> auto eth0 <br/> iface eth0 Inet static <br/> address 192.168.137.3 <br/> netmask 255.255.255.0 <br/> gateway 192.168.137.1Set DNS: Sudo gedit/etc/resolv. conf <br/> nameserver 202.120.80.2Restart the network configuration: sudo/etc/init. d/networking restart
Then you can access the Internet.