Linux Network Management common commands and expected instances

Source: Internet
Author: User

The 1.hostname command (display and change the host name of the system) is in the following format:

#hostname host name (set host name)

#hostname (display host name)

2.iofconfig command (GET and modify network interface configuration information)

#ifconfig (Displays the network card information active in the current system)

Options and descriptions

-A displays all interface information, including active and inactive

-V Show details in redundant mode

-S displays interface information in a short list format, displaying only one row of summary data per interface

Up activates an inactive interface

Down is the opposite of up, shutting down an interface

netmask{Address} Sets the netmask for a specified interface

broadcast{Address} Sets the broadcast address for a specified interface

{Address} Sets the IP address of the specified interface

{Interface} displays information for a specified interface

3.ifup command (launches the specified inactive NIC, similar to the ifconfig up command)

#ipup Lo//To see if Lo is active

4.ifdown command (for closing the specified active NIC, similar to ifconfig down)

#ipdown Lo//To see if Lo is off

5.route command (displays and dynamically modifies the current routing table of the system)

Linux Network Management common commands and expected instances

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.