Three-step setup CentOS boot Connection Network

Source: Internet
Author: User

We cannot start the network card, so we can only use

Ifup eth0 (eth0 refers to the network card)

To start, but every time it feels so inconvenient. Hope to start the network card automatically


Baidu search later found can be modified by modifying the network card (ifcfg-eth0) parameters to boot, that is, open the Ifcfg-eth0 file

Type=Ethernetbootproto=Dhcpdefroute=Yespeerdns=yespeerroutes=yesipv4_ Failure_fatal=noipv6init=yesipv6_autoconf=Yesipv6_defroute=Yesipv6_peerdns =yesipv6_peerroutes=yesipv6_failure_fatal=NoNAME=eno16777736uuid =f64ba047-72ab-490f-b346-7553e594b34cdevice=eno16777736onboot#========= =======  change to Yes reboot

Three-step setup of CentOS boot connection network

Related Article

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.