Network teaming configuration












1














How to configure the teaming network?



On our redhat machines we configured as the following the teaming network



On each machine we have two links - ens1f5 and ens1f6
And we add the team0 file to control them



My question is- is it enough to create these 3 files?
So in case one of the links will failed then other link will be active ?



Or



We must to enable the teamdctl service in order team will works



For now teamdctl service is disable ( but teamd rpm is installed )



rpm -qa | grep teamd
teamd-1.17-5.el7.x86_64


teamdctl nm-team state
Device "nm-team" does not exist


the files under /etc/sysconfig/network-scripts are:



DEVICE=team0
DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=102.13.16.19
PREFIX=24
GATEWAY=102.13.16.3
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'



DEVICE=ens1f5
HWADDR=28:df:31:30:d7:4a
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'



DEVICE=ens1f6
HWADDR=28:df:31:30:d2:4d
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'


Reference - https://www.rootusers.com/how-to-configure-network-teaming-in-linux/










share|improve this question
























  • Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
    – Rui F Ribeiro
    Dec 31 '18 at 16:59










  • what you mean on switch side ?
    – yael
    Dec 31 '18 at 17:02










  • what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
    – yael
    Dec 31 '18 at 17:07
















1














How to configure the teaming network?



On our redhat machines we configured as the following the teaming network



On each machine we have two links - ens1f5 and ens1f6
And we add the team0 file to control them



My question is- is it enough to create these 3 files?
So in case one of the links will failed then other link will be active ?



Or



We must to enable the teamdctl service in order team will works



For now teamdctl service is disable ( but teamd rpm is installed )



rpm -qa | grep teamd
teamd-1.17-5.el7.x86_64


teamdctl nm-team state
Device "nm-team" does not exist


the files under /etc/sysconfig/network-scripts are:



DEVICE=team0
DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=102.13.16.19
PREFIX=24
GATEWAY=102.13.16.3
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'



DEVICE=ens1f5
HWADDR=28:df:31:30:d7:4a
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'



DEVICE=ens1f6
HWADDR=28:df:31:30:d2:4d
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'


Reference - https://www.rootusers.com/how-to-configure-network-teaming-in-linux/










share|improve this question
























  • Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
    – Rui F Ribeiro
    Dec 31 '18 at 16:59










  • what you mean on switch side ?
    – yael
    Dec 31 '18 at 17:02










  • what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
    – yael
    Dec 31 '18 at 17:07














1












1








1







How to configure the teaming network?



On our redhat machines we configured as the following the teaming network



On each machine we have two links - ens1f5 and ens1f6
And we add the team0 file to control them



My question is- is it enough to create these 3 files?
So in case one of the links will failed then other link will be active ?



Or



We must to enable the teamdctl service in order team will works



For now teamdctl service is disable ( but teamd rpm is installed )



rpm -qa | grep teamd
teamd-1.17-5.el7.x86_64


teamdctl nm-team state
Device "nm-team" does not exist


the files under /etc/sysconfig/network-scripts are:



DEVICE=team0
DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=102.13.16.19
PREFIX=24
GATEWAY=102.13.16.3
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'



DEVICE=ens1f5
HWADDR=28:df:31:30:d7:4a
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'



DEVICE=ens1f6
HWADDR=28:df:31:30:d2:4d
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'


Reference - https://www.rootusers.com/how-to-configure-network-teaming-in-linux/










share|improve this question















How to configure the teaming network?



On our redhat machines we configured as the following the teaming network



On each machine we have two links - ens1f5 and ens1f6
And we add the team0 file to control them



My question is- is it enough to create these 3 files?
So in case one of the links will failed then other link will be active ?



Or



We must to enable the teamdctl service in order team will works



For now teamdctl service is disable ( but teamd rpm is installed )



rpm -qa | grep teamd
teamd-1.17-5.el7.x86_64


teamdctl nm-team state
Device "nm-team" does not exist


the files under /etc/sysconfig/network-scripts are:



DEVICE=team0
DEVICETYPE=Team
ONBOOT=yes
BOOTPROTO=none
IPADDR=102.13.16.19
PREFIX=24
GATEWAY=102.13.16.3
TEAM_CONFIG='{"runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}'



DEVICE=ens1f5
HWADDR=28:df:31:30:d7:4a
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'



DEVICE=ens1f6
HWADDR=28:df:31:30:d2:4d
DEVICETYPE=TeamPort
ONBOOT=yes
TEAM_MASTER=team0
TEAM_PORT_CONFIG='{"prio": 100}'


Reference - https://www.rootusers.com/how-to-configure-network-teaming-in-linux/







linux networking rhel ethernet bonding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 31 '18 at 11:15







yael

















asked Dec 31 '18 at 11:09









yaelyael

2,48312362




2,48312362












  • Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
    – Rui F Ribeiro
    Dec 31 '18 at 16:59










  • what you mean on switch side ?
    – yael
    Dec 31 '18 at 17:02










  • what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
    – yael
    Dec 31 '18 at 17:07


















  • Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
    – Rui F Ribeiro
    Dec 31 '18 at 16:59










  • what you mean on switch side ?
    – yael
    Dec 31 '18 at 17:02










  • what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
    – yael
    Dec 31 '18 at 17:07
















Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
– Rui F Ribeiro
Dec 31 '18 at 16:59




Usually those configurations are not enough. e.g. The configuration also has to be done on the switching side.
– Rui F Ribeiro
Dec 31 '18 at 16:59












what you mean on switch side ?
– yael
Dec 31 '18 at 17:02




what you mean on switch side ?
– yael
Dec 31 '18 at 17:02












what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
– yael
Dec 31 '18 at 17:07




what I am asking was - if we creating the 3 files , and restart the network service , dose teaming is active and functional ?
– yael
Dec 31 '18 at 17:07










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491739%2fnetwork-teaming-configuration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491739%2fnetwork-teaming-configuration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre