RHCE Study Notes (30)-Converged network

Source: Internet
Author: User

This section focuses on how to configure the converged network (NIC Teaming) and Bridging Network (bridge)


The configuration and Ipv4,ipv6 of NIC Teaming and bridged networks are not much different and still can be modified by similar GUI, command line and configuration files.


NIC teaming, simply said, is that multiple physical ports are bundled together as a logical port for increased bandwidth, load balancing, or high-availability functionality. RHEL7 inside is through runner (can be regarded as a piece of code) to achieve different purposes.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/DF/wKiom1S_L-rBfUrFAAIYJ55bSDM074.jpg "title=" 0.PNG " alt= "Wkiom1s_l-rbfurfaaiyj55bsdm074.jpg"/>


See below How to configure NIC Teaming


Redhat official documentation gives 5 ways to configure, beans are more accustomed to command line binding configuration file to modify.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/DC/wKioL1S_LxmyXPXxAAKyVsvJxHc534.jpg "style=" float: none; "title=" 1.PNG "alt=" Wkiol1s_lxmyxpxxaakyvsvjxhc534.jpg "/>


The basic process of configuration is to configure a connection to a logical port, as master, and then configure the required physical port as a slave connection and bind to the group. The logical port is then assigned the IP to use.


For example


I now have 2 network cards, they have different MAC addresses, configure NIC teaming before I go to their existing connections are deleted;

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/DF/wKiom1S_LkfTrfXSAAJUtJwUC0o236.jpg "style=" float: none; "title=" 2.PNG "alt=" Wkiom1s_lkftrfxsaajutjwuc0o236.jpg "/>


Then to create a group, the bean configuration when not reading, but also remember the command parameters, so through the TAB key can constantly remind me what the next parameter can be.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/DC/wKioL1S_Lx_hCrkdAAKG5JowhvM423.jpg "style=" float: none; "title=" 3.PNG "alt=" Wkiol1s_lx_hcrkdaakg5jowhvm423.jpg "/>


Configuration of the time forgot to set config, then the default is empty, how to do, modify it


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/DF/wKiom1S_LkrzNKRJAABOrwE5raQ537.jpg "style=" float: none; "title=" 4.PNG "alt=" Wkiom1s_lkrznkrjaaborwe5raq537.jpg "/>


Modified the contents of Config

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/DC/wKioL1S_LyCRxLSzAABglhRLJG0078.jpg "style=" float: none; "title=" 5.PNG "alt=" Wkiol1s_lycrxlszaabglhrljg0078.jpg "/>


Restart try, eh error?!!


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/DF/wKiom1S_LkyiG1oSAACHzhnlUpg478.jpg "style=" float: none; "title=" 6.PNG "alt=" Wkiom1s_lkyig1osaachzhnlupg478.jpg "/>


Take a look at the configuration file directly what's going on, old place.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/DC/wKioL1S_LyKi2kg3AAA8i9BBr4k260.jpg "style=" float: none; "title=" 7.PNG "alt=" Wkiol1s_lyki2kg3aaa8i9bbr4k260.jpg "/>


In config there, you need to add a single quotation mark before and after, or there is a problem with the compilation. The beans, by the way, changed the loadbalance to active backup, otherwise the test was not obvious.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/DF/wKiom1S_Lk7xcr2wAADPJcopv60761.jpg "style=" float: none; "title=" 8.PNG "alt=" Wkiom1s_lk7xcr2waadpjcopv60761.jpg "/>


Don't forget to make sure the connection is connected if it's not connected.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/DF/wKiom1S_Ll7RmaF8AAINYiyo11o240.jpg "title=" 13.PNG "Style=" Float:none; "alt=" wkiom1s_ll7rmaf8aainyiyo11o240.jpg "/>


And then restart the network, then there's no problem.


See the current connection


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/DC/wKioL1S_LyahaBKWAAEEqYTPqBw337.jpg "style=" float: none; "title=" 9.PNG "alt=" Wkiol1s_lyahabkwaaeeqytpqbw337.jpg "/>


Look at the ifconfig and find that the address of the NIC is the same so that the switch can transfer the packet to the same logical port


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/DF/wKiom1S_LlWiwH9_AAHJqrH_1AE136.jpg "style=" float: none; "title=" 10.PNG "alt=" Wkiom1s_llwiwh9_aahjqrh_1ae136.jpg "/>


Finally, don't forget to assign an IP address to team0, where the beans are directly modified with the graphical tool


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/DC/wKioL1S_M06RYdx7AACIvMvH-rU020.jpg "title=" 14.PNG "alt=" Wkiol1s_m06rydx7aacivmvh-ru020.jpg "/>


Test it, first look at the current state


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/DC/wKioL1S_Ly3DfxY2AAD_sZUA6rg727.jpg "style=" float: none; "title=" 11.PNG "alt=" Wkiol1s_ly3dfxy2aad_szua6rg727.jpg "/>


Turn off the ENO connection, switch to the second physical port automatically, and test successfully.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/DF/wKiom1S_LlrTyfRpAADIIzuJibM886.jpg "style=" float: none; "title=" 12.PNG "alt=" Wkiom1s_llrtyfrpaadiizujibm886.jpg "/>



This article is from the "Mapo Tofu" blog, please be sure to keep this source http://beanxyz.blog.51cto.com/5570417/1606542

RHCE Study Notes (30)-Converged network

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.