Linux Network configuration

Source: Internet
Author: User

1. Ifconfig

viewing network card information

2./etc/init.d/network restart

Network restart

Prompt error

This device isn't active

Analysis

Network Mangager and/etc/init.d/network conflict

Stop Network Manager

3. Service NetworkManager Stop

4. Ifconfig

The first physical network card in the eth0 system

Lo Virtual Loopback network card

Virbr0 Virtual Bridge

Problem no eth0

5 Vim/etc/sysconfig/net-scripts/ifcfg-eth0

Device= "Eth0"
Bootproto= "DHCP"
Hwaddr= "00:0C:29:57:E1:C2"
Nm_controlled= "No"
onboot= "Yes"
Type= "Ethernet"
Uuid= "F631125c-836b-4866-b7cd-063b034bec26"

Change nm_controlled= "No" to Yes

6 Restart the NIC/etc/init.d/network restart

Linux Network configuration

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.