Solaris operating system configuration networking

Source: Internet
Author: User
Solaris operating system configuration networking solaris operating system networking 1. Set host name: etchostnamevmxnet0hannick2. Set host name and IP address ING: etchosts0000001localhost1921081123hannickloghost3. set the CIDR block and subnet to mask the solaris operating system. configure the Internet of the solaris operating system. 1. set the host name: etc/hostname. vmxnet0hannick 2. Set host name and IP address ing: etc/hosts127.0.0.1 localhost192.108.1.123 hannick loghost 3. set the network segment and subnet mask: etc/hosts192.168.1.0 255.255.255.0 4. set the default gateway: etc/defaultrouter192.168.1.1 5. set dns service: etc/resolv. conf (if this file is not available Create) nameserver 202.151.12.1nameserver 192.168.1.2 6. set the search sequence for the host name: etc/nsswitch. confhosts: files dns (if this item is not available, manually add it. if no dns exists, add the dns directly.) restart the operating system!
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.