nmcli를 통한 Team 인터페이스 생성

#!/bin/bash
nmcli connection add type team con-name team0 ifname team0 team.runner activebackup
nmcli connection modify team0 team.link-watchers "name=ethtool"
nmcli connection modify team0 ipv4.addresses '192.168.1.110/24'
nmcli connection modify team0 ipv4.gateway '192.168.1.1'
nmcli connection modify team0 ipv4.method manual
nmcli connection add type team-slave con-name eth0 ifname eth0 master team0
nmcli connection add type team-slave con-name eth1 ifname eth1 master team0
nmcli connection up eth0
nmcli connection up eth1
nmcli connection up team0
로그인하면 댓글을 남길 수 있습니다.
  • nmcli를_통한_team_인터페이스_생성.txt
  • 마지막으로 수정됨: 2019/09/02 16:56
  • 저자 koov