Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

team: add IPv6 to teamd ports when nsna_ping linkwatch is used (bsc#959556) #847

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

rtorrero
Copy link
Contributor

When nsna_ping link watcher is used, we have to enable IPv6 on the ports, as this mechanism uses IPv6 ND protocol. This PR takes care of that.

Copy link
Member

@mtomaschewski mtomaschewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, works fine for me:

# cat ifcfg-eth1
USERCONTROL='no'
STARTMODE='hotplug'
BOOTPROTO='none'
# cat ifcfg-eth2
USERCONTROL='no'
STARTMODE='hotplug'
BOOTPROTO='none'
LLADDR='00:13:3b:0d:cd:6d'
# grep -v ^# ifcfg-team0 
STARTMODE='auto'
BOOTPROTO='dhcp4'
TEAM_RUNNER='activebackup'
TEAM_PORT_DEVICE_0='eth2'
TEAM_PORT_DEVICE_1='eth1'
TEAM_LW_NAME='ethtool'
TEAM_LW_ETHTOOL_DELAY_UP='10'
TEAM_LW_ETHTOOL_DELAY_DOWN='10'
# ip a s eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
# ip a s eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
# ip a s team0
8: team0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
    inet 172.20.31.161/24 brd 172.20.31.255 scope global team0
       valid_lft forever preferred_lft forever
    inet6 fe80::213:3bff:fe0d:cd6d/64 scope link 
       valid_lft forever preferred_lft forever
# grep -v ^# ifcfg-team0 
STARTMODE='auto'
BOOTPROTO='dhcp4'
TEAM_RUNNER='activebackup'
TEAM_PORT_DEVICE_0='eth2'
TEAM_PORT_DEVICE_1='eth1'
TEAM_LW_NAME=nsna_ping
TEAM_LW_NSNA_PING_TARGET_HOST=fe80::6454:ff:fe31:1
TEAM_LW_NSNA_PING_INTERVAL=10
TEAM_LW_NSNA_PING_INIT_WAIT=10000
IPADDR6=2001:db8:514f:3100::13/64
# wicked ifreload team0
team0           up
# ip a s team0
9: team0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
    inet 172.20.31.161/24 brd 172.20.31.255 scope global team0
       valid_lft forever preferred_lft forever
    inet6 2001:db8:514f:3100::13/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::213:3bff:fe0d:cd6d/64 scope link 
       valid_lft forever preferred_lft forever
# ip a s dev eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master team0 state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
    inet6 fe80::213:3bff:fe0d:cd6d/64 scope link 
       valid_lft forever preferred_lft forever
# ip a s dev eth2
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master team0 state UP group default qlen 1000
    link/ether 00:13:3b:0d:cd:6d brd ff:ff:ff:ff:ff:ff
    inet6 fe80::213:3bff:fe0d:cd6d/64 scope link 
       valid_lft forever preferred_lft forever

@mtomaschewski mtomaschewski merged commit b4283ef into openSUSE:master Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants