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

[bugfix] When add_eip, send an ARP packet from net1 to the gateway to announce the EIP to the switch. #4701

Open
wants to merge 1 commit into
base: release-1.12
Choose a base branch
from

Conversation

kldancer
Copy link

@kldancer kldancer commented Nov 6, 2024

[bugfix] When add_eip, send an ARP packet from net1 to the gateway to announce the EIP to the switch.

Pull Request

What type of this PR

Examples of user facing changes:

  • Bug fixes

Which issue(s) this PR fixes

  1. Restarting nat-gw will cause external access to EIP traffic to be interrupted and will not be automatically restored.
  2. Therefore, when adding add_eip in the nat-gw script, actively send an arp request with src_ip as EIP and sent to the gateway to update the underlying switch arp information.
  3. [BUG] 自定义VPC的Nat-gw pod重启,导致已存在的外部访问EIP的流量断开,且无法自动恢复。 #4690

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Nov 6, 2024
… announce the EIP to the switch.

Signed-off-by: 杨凯龙 <[email protected]>
@kldancer
Copy link
Author

kldancer commented Nov 6, 2024

@bobz965 你好👋,有两个自动检查失败了,能帮我看一下是什么原因吗?

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 6, 2024
@bobz965
Copy link
Collaborator

bobz965 commented Nov 6, 2024

@bobz965 你好👋,有两个自动检查失败了,能帮我看一下是什么原因吗?

不影响

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants