Solaris 10 cannot access the Internet

Source: Internet
Author: User

To sum up, you can refer to me as new learners ..

I am using the Solaris 10 installed in vmware5.5 .. You want to access the Internet under Solaris ..
I,
First, change VMware to the bridging mode (which is easier to configure). I used Windows XP to open the properties of the physical Nic In the XP system.
The "VMware Bridge Protocol" protocol is checked, and then there is a "vmnet
NO content by default. Enter "0" by yourself (because the vmwarevm uses the vmnet0 virtual Nic to use the bridge mode by default ). Then exit.
II,
Configure the IP address of the Solaris nic. in this environment, Solaris uses the VMware Virtual Nic pcn0 for Internet access. Because the VM adopts the bridging mode, this
The IP address is the IP address of a LAN in the actual environment. You can configure the IP address when installing Solaris or later. I configured it later (you can run the command ifconfig, sys-
Unconfig and so on ).
3. Add the corresponding Solaris File .. 1. Add the/etc/resolv. conf file.
Nameserver XXX. XXX (local DNS ). 2. Add the/etc/defaultrouter file.
Enter 192.168.1.1 (local gateway ). 3. Modify the/etc/nsswitch. conf file to put the hosts:
Change files to hosts: DNS files. (This step must be done ).

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.