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
  • 相关阅读:
    CSS+JS实现兼容性很好的无限级下拉菜单
    自动切换的JS菜单
    (2)C#连sqlite
    protobuf编译器
    (67) c# 序列化
    (66) c# async await
    (65)C# 任务
    mbatis 入门
    (64)C# 预处理器指令
    (63)C# 不安全代码unsafe
  • 原文地址:https://www.cnblogs.com/heric/p/6531919.html
Copyright © 2011-2022 走看看