zoukankan      html  css  js  c++  java
  • how to configure team on liunx(RHEL7.x/Centos7.x)

    #install team sofeware

    yum install teamd -y
    #check team configuration
    nmcli con show
    #Next we create a team called team0.
    nmcli con add type team con-name team0
     

    #better active/standby, need switch support.

    nmcli connection add type team con-name team0 ifname team0 config '{"runner": {"name": "activebackup"}}'
     

    #add interface  enp6s0f0  to team0

    nmcli connection add type team-slave con-name team-p0 ifname enp6s0f0 master team0

    #add static ip address to team0 

    nmcli connection modify team0 ipv4.method manual ipv4.addresses "172.30.28.52/24"

     ( nmcli connection modify team0 ipv4.addresses "172.30.28.42/24" )

     

    #add default gateway to team0 

    nmcli connection modify team0 ipv4.gateway "172.30.28.1"

    #make team up 

    nmcli connection up team0
     

    #add another interface enp6s0f1 to team0 

    nmcli connection add type team-slave con-name team-p1 ifname enp6s0f1 master team0

    service network restart

    #check team status

    nmcli con show team0
    teamdctl team0 state
  • 相关阅读:
    【计算机网络】复习集(更新中)
    滑雪 (记忆化搜索)
    橱窗布置
    复制书稿 (dp+贪心)
    8786:方格取数 (多线程dp)
    编辑距离
    8782:乘积最大
    合并石子 (区间dp+前缀和)
    6045:开餐馆
    6049:买书 (完全背包)
  • 原文地址:https://www.cnblogs.com/heric/p/6531919.html
Copyright © 2011-2022 走看看