Redhat 7 Configuring-----Network Configuration

Source: Internet
Author: User

Redhat 7 in the configuration than 6 has a certain humane promotion, do not need to change the configuration file as before to make the configuration permanent, on the Redhat 7 directly yongming can be actually permanently configured. At the same time, it also provides a graphical configuration interface, according to individual circumstances to choose.


Preferred View pattern Configuration

Graphic-Open command: Nm-connection-editor

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/40/wKioL1W1pTjhLBz9AADs4-L5KXk526.jpg "title=" 2.jpg " alt= "Wkiol1w1ptjhlbz9aads4-l5kxk526.jpg"/>

Click Edit to configure the Eth0

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/43/wKiom1W1pAawJjUsAAHAVLgzDIA408.jpg "title=" 3.jpg " alt= "Wkiom1w1paawjjusaahavlgzdia408.jpg"/>

Click Save

After the configuration to refresh the network card configuration, 6 previous version is through the restart service to refresh, 7 version as long as through the life-collar.

The command is as follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/43/wKiom1W1pLmyE_QwAAAnosBmAIc878.jpg "title=" 4.jpg " alt= "Wkiom1w1plmye_qwaaanosbmaic878.jpg"/>

After executing the command, there is no feedback to indicate success, otherwise there will be an error message.


Using commands to configure

The first condition to use this command is that the system itself has a configuration file present, with the following command:

This command modifies the IP address of the eth0 to 192.168.0.20 pairs of 24-bit masks that should be

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/70/44/wKiom1W1qM7gMEh6AAB0Lfm4cG0668.jpg "title=" 6.jpg " alt= "Wkiom1w1qm7gmeh6aab0lfm4cg0668.jpg"/>

This command is manually configured to modify the Eth0

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/44/wKiom1W1qOiB_oMRAABm93Vuhnk216.jpg "title=" 7.jpg " alt= "Wkiom1w1qoib_omraabm93vuhnk216.jpg"/>

The configuration is refreshed and the configuration takes effect after execution.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/41/wKioL1W1qxaxxv8gAAAzUua8jKI075.jpg "title=" 8.jpg " alt= "Wkiol1w1qxaxxv8gaaazuua8jki075.jpg"/>


If the/etc/sysconfig/network-scripts/ifcfg-eth0 file is not found in the system, to be added by command, the command is as follows:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/70/42/wKioL1W1rSKh83zaAACUx2TylWA603.jpg "title=" 9.jpg " alt= "Wkiol1w1rskh83zaaacux2tylwa603.jpg"/> configuration is to be refreshed after the completion of the command I will not write, the above some.


If in doubt, please add qq:116977160 (overtime please specify "51CTO AC")

This article is from the "no mention" blog, please be sure to keep this source http://rickypaopao.blog.51cto.com/325461/1678657

Redhat 7 Configuration-----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.