Linux System Management Preliminary (c) Linux network Management (i) (edit)

Source: Internet
Author: User
Linux Network Management (i)

First, Ifconfig command
The Ifconfig command can display the NIC and IP parameters, which is a more important command in CENTOS6.

Examples of Use:
1, network card stop and network card start

Ifdown (NIC name)
Ifup (NIC name)

Note the Ifdown command can no longer be used alone in the Xshell terminal, otherwise it will interrupt your connection, if the server running the business can only let people to the computer room to start the network card. The following experiments are all operating in VMware's virtual machine interface.

Note that when you look at the ifconfig again, the IP address information is gone.

Then use the Ifup command to open up the network card, resume work.

2. Set multiple IPs for a network card
This operation is mainly used in software such as Ngix,

Linux System Management Preliminary (c) Linux network Management (i) (edit)

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.