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

cni: set ip_forward when call cni check #209

Merged
merged 1 commit into from
May 21, 2021
Merged

cni: set ip_forward when call cni check #209

merged 1 commit into from
May 21, 2021

Conversation

l1b0k
Copy link
Collaborator

@l1b0k l1b0k commented May 20, 2021

this will set network releated sysconfig to expected.

corrent will set following config

IPv4
{"/proc/sys/net/ipv4/conf/%s/forwarding", "1"},
{"/proc/sys/net/ipv4/conf/%s/rp_filter", "0"},

IPv6
{"/proc/sys/net/ipv6/conf/%s/forwarding", "1"},
{"/proc/sys/net/ipv6/conf/%s/disable_ipv6", "0"},

@l1b0k l1b0k added the kind/enhancement New feature or request label May 20, 2021
@l1b0k l1b0k requested review from BSWANG and xh4n3 May 20, 2021 08:32
@l1b0k l1b0k self-assigned this May 20, 2021
@l1b0k l1b0k merged commit 728f9bf into AliyunContainerService:main May 21, 2021
@l1b0k l1b0k deleted the ipforward branch May 21, 2021 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant