Nic added to centos
I have done a silly job. I want to add a new online card to the Server, but it has never been possible,
Therefore, it is natural that CentOS 6 has additional requirements,
Therefore, I checked the materials for the past two days and found many ways, but they were not effective.
This morning, I tried my best to show it in the simplest way,
As a result, the process is completed ~~~~ Not to mention .....
As a result, you may be alert to yourself and smile.
1. Confirm after adding a network card
A. ifconfig
After a new network card is added, it will not be automatically triggered, so there will be no IP addresses
B. ls/etc/sysconfig/network-scripts
Normally, no preset timeout
C. dmesg | grep-in eth
There is a network card eth1, but there is no Up
2. Set
A. Network Configuration
Click "setup" and select "Network Configuration 』
B. Device Configuration
C. New Device
I should have known this. I also want to laugh ~~~
D. Ethernet
E. Name & Device
Because I am using the internal network, I use DHCP to allocate IP addresses after the domain name is entered and the domain name is changed.
3. Confirm
A. confirm that the database has been added and stored.
B. dmesg | grep-in eth1
The network card has been Up
C. ifup eth1
D. ls/etc/sysconfig/network-scripts
This is the completion of such a ticket. I keep thinking about it in my workshop. The result is displayed in a ticket ~~