首页 > 其他 > 详细

RHEL7配置双网卡冗余

时间:2016-06-03 19:14:18      阅读:202      评论:0      收藏:0      [点我收藏+]
创建组接口
nmcli con add con-name team0 ifname team0 type team config '{"runner":{"name":"activebackup"}}'

nmcli connection show

配置组接口地址
nmcli connection modify team0 ivp4.address "186.168.100.88/24 186.168.100.1"
nmcli connection modify team0 ipv4.method manual

添加端口
nmcli connection add con-name team0-p1 ifname enp0s3 type team-slave master team0    --enp0s3及enp0s8为网卡名称
nmcli connection add con-name team0-p2 ifname enp0s8 type team-slave master team0

验证
teamdctl team0 state
[root@test ~]# teamdctl team0 state
setup:
  runner: activebackup
ports:
  enp0s3
    link watches:
      link summary: up
      instance[link_watch_0]:
        name: ethtool
        link: up
  enp0s8
    link watches:
      link summary: up
      instance[link_watch_0]:
        name: ethtool
        link: up
runner:
  active port: enp0s8

RHEL7配置双网卡冗余

原文:http://blog.csdn.net/ghostliming/article/details/51579159

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!