Solaris operating system configuration networking

Source: Internet
Author: User

Solaris operating system configuration networking solaris operating system networking 1. Set 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 it by yourself) nameserver 202.151.12.1nameserver 192.168.1.2 6. Set the search sequence of the Host Name: etc/nsswitch. confhosts: files dns (if this item does not exist, manually add it. If no dns exists, add dns directly.) restart the operating system. Success!

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.