Network configuration for Red Hat Enterprise Linux 7.0

Source: Internet
Author: User

RHEL7 inside the network card naming method from the eth0,1,2 way into the enoxxxxx format.

    • en stands for enthernet (Ethernet)

    • o stands for onboard (built-in)

    • XXXXX That number is an index number of the motherboard is automatically generated to ensure its uniqueness.

Compared with the original naming method, this new way is longer, difficult to remember, but the advantage is that the number is unique, when the system migration is not prone to error.



1, modify the/etc/sysconfig/network-scripts/eno16777736


View network card name (native is eno16777736)

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8C/72/wKiom1hsqGDiDSSYAACgYogxcWc787.png "title=" Qq20170104154544.png "alt=" Wkiom1hsqgdidssyaacgyogxcwc787.png "/>

Edit ifcfg-eno16777736 File

[Email protected] network-scripts]# vim ifcfg-eno16777736
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8C/72/wKiom1hsp8uhi5lOAACoC8FIsGE356.png "title=" Qq20170104154050.png "alt=" Wkiom1hsp8uhi5loaacoc8fisge356.png "/>

Restart the NIC, test the network

[Email protected] network-scripts]# systemctl Restart Network
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8C/6E/wKioL1hsqTGRLYEuAABSoYTPSjM271.png "title=" Qq20170104154951.png "alt=" Wkiol1hsqtgrlyeuaabsoytpsjm271.png "/>



2. Graphical Tools Nmtui


[Email protected] network-scripts]# Nmtui
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/8C/6E/wKioL1hsqyaBrLs1AABVi8qWAPQ421.png "title=" Qq20170104155655.png "alt=" Wkiol1hsqyabrls1aabvi8qwapq421.png "/>



3. Graphical Tools Nm-connection-editor


[[Email protected] Desktop]# nm-connection-editor
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8C/72/wKiom1hsq8uAuEO1AABJkNooqs4344.png "title=" Qq20170104160057.png "alt=" Wkiom1hsq8uaueo1aabjknooqs4344.png "/>


This article is from the "yard-t" blog, make sure to keep this source http://tangyade.blog.51cto.com/2601082/1888973

Red Hat Enterprise Linux 7.0 Network configuration

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.