Nic added to centos

Source: Internet
Author: User

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 ~~

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.