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

fix ovs fdb for the local bridge port #2014

Merged
merged 1 commit into from Nov 7, 2022

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Nov 3, 2022

What type of this PR

  • Bug fixes

Which issue(s) this PR fixes:

Fixes incorrect mac learning on OVS bridge initialization when hairpin is enabled.

The issue occurs when the node nic contains unicast IPv6 addresses. Delay the port addition, so that ovs-vswitchd can handle IPv6 multicast packets sent back by the switch/bridge:

root@k8s:/kube-ovn# tcpdump -i eth0 -nnvve ip6
tcpdump: listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
05:04:54.956995 02:42:ac:14:00:02 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 110: (hlim 1, next-header Options (0) payload length: 56) :: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 2 group record(s) [gaddr ff02::1:ff00:2 to_in { }] [gaddr ff02::1:ff00:0 to_in { }]
05:04:54.957046 02:42:ac:14:00:02 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 110: (hlim 1, next-header Options (0) payload length: 56) :: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 2 group record(s) [gaddr ff02::1:ff00:2 to_in { }] [gaddr ff02::1:ff00:0 to_in { }]
05:04:54.969435 02:42:ac:14:00:02 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 130: (hlim 1, next-header Options (0) payload length: 76) :: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 3 group record(s) [gaddr ff02::1:ff14:2 to_ex { }] [gaddr ff02::1:ff00:2 to_ex { }] [gaddr ff02::2 to_ex { }]
05:04:54.969490 02:42:ac:14:00:02 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 130: (hlim 1, next-header Options (0) payload length: 76) :: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 3 group record(s) [gaddr ff02::1:ff14:2 to_ex { }] [gaddr ff02::1:ff00:2 to_ex { }] [gaddr ff02::2 to_ex { }]

@zhangzujian zhangzujian added bug Something isn't working need backport labels Nov 4, 2022
@zhangzujian zhangzujian marked this pull request as ready for review November 4, 2022 06:18
@zhangzujian zhangzujian merged commit bf93c45 into kubeovn:master Nov 7, 2022
@zhangzujian zhangzujian deleted the fix-fdb branch November 7, 2022 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants