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
  • 相关阅读:
    Linux 忘记root密码
    Linux 基础命令
    Linux 运行级别
    Oracle 体系结构
    Oracle 数据库启动过程
    数据库设计范式
    Oracle通过ROWID删除表中重复记录
    JACASCRIPT--的奇技技巧的44招
    css 的小细节,小总结
    关于我们DOM的知识点
  • 原文地址:https://www.cnblogs.com/heric/p/6531919.html
Copyright © 2011-2022 走看看