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)