NIC Teaming CentOS 7











up vote
0
down vote

favorite












I'm trying to configure Teaming with two NICs. I'm running CentOS 7.5.1804 on VMware Workstation 14.1.2.



Steps I have done:
1) added team interface with below command



[root@client1 ~]# nmcli c a type team ifname myteam1 con-name myteam1 config my.conf
Connection 'myteam1' (6d95c6a4-cde9-437f-81e2-6c2cc2c0064e) successfully added.


Content of my.conf file:



[root@client1 ~]# cat my.conf 
{
"device": "myteam1",
"runner": {"name": "activebackup"}
}


2) I have added 2 slave interfaces:



[root@client1 ~]# nmcli c a type ethernet ifname ens33 con-name myteam1_slave1 master myteam1 
Connection 'myteam1_slave1' (dd1d1bde-ff15-4d53-a174-96225e95f431) successfully added.
[root@client1 ~]# nmcli c a type ethernet ifname ens37 con-name myteam1_slave2 master myteam1
Connection 'myteam1_slave2' (bcd1319c-cb9b-4290-87ab-ef35d2a127b7) successfully added.


3) Restarted network and NetworkManager services.
4) Checked the my team interface state:



[root@client1 ~]# teamdctl myteam1 state
setup:
runner: activebackup
ports:
ens33
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
ens37
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: ens33


When I try to check connection everything is fine. But when I try to take down myteam1_slave1 (ens33) I am losing connectivity despite the fact that it switches runner active port to ens37.



Please assist!



Below information maybe helpful for you.



[root@client1 ~]# nmcli con down myteam1_slave1
Connection 'myteam1_slave1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
[root@client1 ~]#
[root@client1 ~]# teamdctl myteam1 state
setup:
runner: activebackup
ports:
ens37
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
down count: 0
runner:
active port: ens37
[root@client1 ~]#
[root@client1 ~]#
[root@client1 ~]# ping google.com
^C
[root@client1 ~]# nmcli c s
NAME UUID TYPE DEVICE
myteam1 6d95c6a4-cde9-437f-81e2-6c2cc2c0064e team myteam1
myteam1_slave2 bcd1319c-cb9b-4290-87ab-ef35d2a127b7 ethernet ens37
virbr0 cf294a4d-b615-4cb3-b191-2c806fd4eb9b bridge virbr0
myteam1_slave1 dd1d1bde-ff15-4d53-a174-96225e95f431 ethernet --
[root@client1 ~]# nmcli d s
DEVICE TYPE STATE CONNECTION
myteam1 team connected myteam1
virbr0 bridge connected virbr0
ens37 ethernet connected myteam1_slave2
ens33 ethernet disconnected --
lo loopback unmanaged --
virbr0-nic tun unmanaged --
[root@client1 ~]#

[root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1
TEAM_CONFIG=$'{nt"device":t"myteam1",nt"runner":t{"name": "activebackup"}n}n'
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=myteam1
UUID=6d95c6a4-cde9-437f-81e2-6c2cc2c0064e
DEVICE=myteam1
ONBOOT=yes
DEVICETYPE=Team
[root@client1 ~]#

[root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave1
NAME=myteam1_slave1
UUID=dd1d1bde-ff15-4d53-a174-96225e95f431
DEVICE=ens33
ONBOOT=yes
TEAM_MASTER=myteam1
DEVICETYPE=TeamPort
[root@client1 ~]#

[root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave2
NAME=myteam1_slave2
UUID=bcd1319c-cb9b-4290-87ab-ef35d2a127b7
DEVICE=ens37
ONBOOT=yes
TEAM_MASTER=myteam1
DEVICETYPE=TeamPort
[root@client1 ~]#









share|improve this question







New contributor




Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I'm trying to configure Teaming with two NICs. I'm running CentOS 7.5.1804 on VMware Workstation 14.1.2.



    Steps I have done:
    1) added team interface with below command



    [root@client1 ~]# nmcli c a type team ifname myteam1 con-name myteam1 config my.conf
    Connection 'myteam1' (6d95c6a4-cde9-437f-81e2-6c2cc2c0064e) successfully added.


    Content of my.conf file:



    [root@client1 ~]# cat my.conf 
    {
    "device": "myteam1",
    "runner": {"name": "activebackup"}
    }


    2) I have added 2 slave interfaces:



    [root@client1 ~]# nmcli c a type ethernet ifname ens33 con-name myteam1_slave1 master myteam1 
    Connection 'myteam1_slave1' (dd1d1bde-ff15-4d53-a174-96225e95f431) successfully added.
    [root@client1 ~]# nmcli c a type ethernet ifname ens37 con-name myteam1_slave2 master myteam1
    Connection 'myteam1_slave2' (bcd1319c-cb9b-4290-87ab-ef35d2a127b7) successfully added.


    3) Restarted network and NetworkManager services.
    4) Checked the my team interface state:



    [root@client1 ~]# teamdctl myteam1 state
    setup:
    runner: activebackup
    ports:
    ens33
    link watches:
    link summary: up
    instance[link_watch_0]:
    name: ethtool
    link: up
    down count: 0
    ens37
    link watches:
    link summary: up
    instance[link_watch_0]:
    name: ethtool
    link: up
    down count: 0
    runner:
    active port: ens33


    When I try to check connection everything is fine. But when I try to take down myteam1_slave1 (ens33) I am losing connectivity despite the fact that it switches runner active port to ens37.



    Please assist!



    Below information maybe helpful for you.



    [root@client1 ~]# nmcli con down myteam1_slave1
    Connection 'myteam1_slave1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
    [root@client1 ~]#
    [root@client1 ~]# teamdctl myteam1 state
    setup:
    runner: activebackup
    ports:
    ens37
    link watches:
    link summary: up
    instance[link_watch_0]:
    name: ethtool
    link: up
    down count: 0
    runner:
    active port: ens37
    [root@client1 ~]#
    [root@client1 ~]#
    [root@client1 ~]# ping google.com
    ^C
    [root@client1 ~]# nmcli c s
    NAME UUID TYPE DEVICE
    myteam1 6d95c6a4-cde9-437f-81e2-6c2cc2c0064e team myteam1
    myteam1_slave2 bcd1319c-cb9b-4290-87ab-ef35d2a127b7 ethernet ens37
    virbr0 cf294a4d-b615-4cb3-b191-2c806fd4eb9b bridge virbr0
    myteam1_slave1 dd1d1bde-ff15-4d53-a174-96225e95f431 ethernet --
    [root@client1 ~]# nmcli d s
    DEVICE TYPE STATE CONNECTION
    myteam1 team connected myteam1
    virbr0 bridge connected virbr0
    ens37 ethernet connected myteam1_slave2
    ens33 ethernet disconnected --
    lo loopback unmanaged --
    virbr0-nic tun unmanaged --
    [root@client1 ~]#

    [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1
    TEAM_CONFIG=$'{nt"device":t"myteam1",nt"runner":t{"name": "activebackup"}n}n'
    PROXY_METHOD=none
    BROWSER_ONLY=no
    BOOTPROTO=dhcp
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=no
    IPV6INIT=yes
    IPV6_AUTOCONF=yes
    IPV6_DEFROUTE=yes
    IPV6_FAILURE_FATAL=no
    IPV6_ADDR_GEN_MODE=stable-privacy
    NAME=myteam1
    UUID=6d95c6a4-cde9-437f-81e2-6c2cc2c0064e
    DEVICE=myteam1
    ONBOOT=yes
    DEVICETYPE=Team
    [root@client1 ~]#

    [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave1
    NAME=myteam1_slave1
    UUID=dd1d1bde-ff15-4d53-a174-96225e95f431
    DEVICE=ens33
    ONBOOT=yes
    TEAM_MASTER=myteam1
    DEVICETYPE=TeamPort
    [root@client1 ~]#

    [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave2
    NAME=myteam1_slave2
    UUID=bcd1319c-cb9b-4290-87ab-ef35d2a127b7
    DEVICE=ens37
    ONBOOT=yes
    TEAM_MASTER=myteam1
    DEVICETYPE=TeamPort
    [root@client1 ~]#









    share|improve this question







    New contributor




    Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to configure Teaming with two NICs. I'm running CentOS 7.5.1804 on VMware Workstation 14.1.2.



      Steps I have done:
      1) added team interface with below command



      [root@client1 ~]# nmcli c a type team ifname myteam1 con-name myteam1 config my.conf
      Connection 'myteam1' (6d95c6a4-cde9-437f-81e2-6c2cc2c0064e) successfully added.


      Content of my.conf file:



      [root@client1 ~]# cat my.conf 
      {
      "device": "myteam1",
      "runner": {"name": "activebackup"}
      }


      2) I have added 2 slave interfaces:



      [root@client1 ~]# nmcli c a type ethernet ifname ens33 con-name myteam1_slave1 master myteam1 
      Connection 'myteam1_slave1' (dd1d1bde-ff15-4d53-a174-96225e95f431) successfully added.
      [root@client1 ~]# nmcli c a type ethernet ifname ens37 con-name myteam1_slave2 master myteam1
      Connection 'myteam1_slave2' (bcd1319c-cb9b-4290-87ab-ef35d2a127b7) successfully added.


      3) Restarted network and NetworkManager services.
      4) Checked the my team interface state:



      [root@client1 ~]# teamdctl myteam1 state
      setup:
      runner: activebackup
      ports:
      ens33
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      ens37
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      runner:
      active port: ens33


      When I try to check connection everything is fine. But when I try to take down myteam1_slave1 (ens33) I am losing connectivity despite the fact that it switches runner active port to ens37.



      Please assist!



      Below information maybe helpful for you.



      [root@client1 ~]# nmcli con down myteam1_slave1
      Connection 'myteam1_slave1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
      [root@client1 ~]#
      [root@client1 ~]# teamdctl myteam1 state
      setup:
      runner: activebackup
      ports:
      ens37
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      runner:
      active port: ens37
      [root@client1 ~]#
      [root@client1 ~]#
      [root@client1 ~]# ping google.com
      ^C
      [root@client1 ~]# nmcli c s
      NAME UUID TYPE DEVICE
      myteam1 6d95c6a4-cde9-437f-81e2-6c2cc2c0064e team myteam1
      myteam1_slave2 bcd1319c-cb9b-4290-87ab-ef35d2a127b7 ethernet ens37
      virbr0 cf294a4d-b615-4cb3-b191-2c806fd4eb9b bridge virbr0
      myteam1_slave1 dd1d1bde-ff15-4d53-a174-96225e95f431 ethernet --
      [root@client1 ~]# nmcli d s
      DEVICE TYPE STATE CONNECTION
      myteam1 team connected myteam1
      virbr0 bridge connected virbr0
      ens37 ethernet connected myteam1_slave2
      ens33 ethernet disconnected --
      lo loopback unmanaged --
      virbr0-nic tun unmanaged --
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1
      TEAM_CONFIG=$'{nt"device":t"myteam1",nt"runner":t{"name": "activebackup"}n}n'
      PROXY_METHOD=none
      BROWSER_ONLY=no
      BOOTPROTO=dhcp
      DEFROUTE=yes
      IPV4_FAILURE_FATAL=no
      IPV6INIT=yes
      IPV6_AUTOCONF=yes
      IPV6_DEFROUTE=yes
      IPV6_FAILURE_FATAL=no
      IPV6_ADDR_GEN_MODE=stable-privacy
      NAME=myteam1
      UUID=6d95c6a4-cde9-437f-81e2-6c2cc2c0064e
      DEVICE=myteam1
      ONBOOT=yes
      DEVICETYPE=Team
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave1
      NAME=myteam1_slave1
      UUID=dd1d1bde-ff15-4d53-a174-96225e95f431
      DEVICE=ens33
      ONBOOT=yes
      TEAM_MASTER=myteam1
      DEVICETYPE=TeamPort
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave2
      NAME=myteam1_slave2
      UUID=bcd1319c-cb9b-4290-87ab-ef35d2a127b7
      DEVICE=ens37
      ONBOOT=yes
      TEAM_MASTER=myteam1
      DEVICETYPE=TeamPort
      [root@client1 ~]#









      share|improve this question







      New contributor




      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm trying to configure Teaming with two NICs. I'm running CentOS 7.5.1804 on VMware Workstation 14.1.2.



      Steps I have done:
      1) added team interface with below command



      [root@client1 ~]# nmcli c a type team ifname myteam1 con-name myteam1 config my.conf
      Connection 'myteam1' (6d95c6a4-cde9-437f-81e2-6c2cc2c0064e) successfully added.


      Content of my.conf file:



      [root@client1 ~]# cat my.conf 
      {
      "device": "myteam1",
      "runner": {"name": "activebackup"}
      }


      2) I have added 2 slave interfaces:



      [root@client1 ~]# nmcli c a type ethernet ifname ens33 con-name myteam1_slave1 master myteam1 
      Connection 'myteam1_slave1' (dd1d1bde-ff15-4d53-a174-96225e95f431) successfully added.
      [root@client1 ~]# nmcli c a type ethernet ifname ens37 con-name myteam1_slave2 master myteam1
      Connection 'myteam1_slave2' (bcd1319c-cb9b-4290-87ab-ef35d2a127b7) successfully added.


      3) Restarted network and NetworkManager services.
      4) Checked the my team interface state:



      [root@client1 ~]# teamdctl myteam1 state
      setup:
      runner: activebackup
      ports:
      ens33
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      ens37
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      runner:
      active port: ens33


      When I try to check connection everything is fine. But when I try to take down myteam1_slave1 (ens33) I am losing connectivity despite the fact that it switches runner active port to ens37.



      Please assist!



      Below information maybe helpful for you.



      [root@client1 ~]# nmcli con down myteam1_slave1
      Connection 'myteam1_slave1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
      [root@client1 ~]#
      [root@client1 ~]# teamdctl myteam1 state
      setup:
      runner: activebackup
      ports:
      ens37
      link watches:
      link summary: up
      instance[link_watch_0]:
      name: ethtool
      link: up
      down count: 0
      runner:
      active port: ens37
      [root@client1 ~]#
      [root@client1 ~]#
      [root@client1 ~]# ping google.com
      ^C
      [root@client1 ~]# nmcli c s
      NAME UUID TYPE DEVICE
      myteam1 6d95c6a4-cde9-437f-81e2-6c2cc2c0064e team myteam1
      myteam1_slave2 bcd1319c-cb9b-4290-87ab-ef35d2a127b7 ethernet ens37
      virbr0 cf294a4d-b615-4cb3-b191-2c806fd4eb9b bridge virbr0
      myteam1_slave1 dd1d1bde-ff15-4d53-a174-96225e95f431 ethernet --
      [root@client1 ~]# nmcli d s
      DEVICE TYPE STATE CONNECTION
      myteam1 team connected myteam1
      virbr0 bridge connected virbr0
      ens37 ethernet connected myteam1_slave2
      ens33 ethernet disconnected --
      lo loopback unmanaged --
      virbr0-nic tun unmanaged --
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1
      TEAM_CONFIG=$'{nt"device":t"myteam1",nt"runner":t{"name": "activebackup"}n}n'
      PROXY_METHOD=none
      BROWSER_ONLY=no
      BOOTPROTO=dhcp
      DEFROUTE=yes
      IPV4_FAILURE_FATAL=no
      IPV6INIT=yes
      IPV6_AUTOCONF=yes
      IPV6_DEFROUTE=yes
      IPV6_FAILURE_FATAL=no
      IPV6_ADDR_GEN_MODE=stable-privacy
      NAME=myteam1
      UUID=6d95c6a4-cde9-437f-81e2-6c2cc2c0064e
      DEVICE=myteam1
      ONBOOT=yes
      DEVICETYPE=Team
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave1
      NAME=myteam1_slave1
      UUID=dd1d1bde-ff15-4d53-a174-96225e95f431
      DEVICE=ens33
      ONBOOT=yes
      TEAM_MASTER=myteam1
      DEVICETYPE=TeamPort
      [root@client1 ~]#

      [root@client1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-myteam1_slave2
      NAME=myteam1_slave2
      UUID=bcd1319c-cb9b-4290-87ab-ef35d2a127b7
      DEVICE=ens37
      ONBOOT=yes
      TEAM_MASTER=myteam1
      DEVICETYPE=TeamPort
      [root@client1 ~]#






      linux centos redhat rhel rhel7






      share|improve this question







      New contributor




      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 12 at 17:33









      Farhad Kocharli

      1




      1




      New contributor




      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Farhad Kocharli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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
          });


          }
          });






          Farhad Kocharli is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267292%2fnic-teaming-centos-7%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Farhad Kocharli is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          Farhad Kocharli is a new contributor. Be nice, and check out our Code of Conduct.













          Farhad Kocharli is a new contributor. Be nice, and check out our Code of Conduct.












          Farhad Kocharli is a new contributor. Be nice, and check out our Code of Conduct.















           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267292%2fnic-teaming-centos-7%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

          mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?