Skip to content

Add IPv6 subnet to IPAM config.#4888

Merged
aviral92 merged 1 commit intoaws:devfrom
aviral92:IPv6Daemon
Mar 6, 2026
Merged

Add IPv6 subnet to IPAM config.#4888
aviral92 merged 1 commit intoaws:devfrom
aviral92:IPv6Daemon

Conversation

@aviral92
Copy link
Contributor

@aviral92 aviral92 commented Mar 5, 2026

Summary

Problem: createBridgePluginConfig() (for awsvpc tasks) only configured IPv4 on the fargate-bridge. Awsvpc tasks had no IPv6 address on the bridge, so they couldn't reach daemon tasks via IPv6.

Fix: Add IPV6Subnet: ECSSubNetIPv6 ("fd00:ec2::172:0/112") so IPAM allocates IPv6 addresses to awsvpc tasks on the bridge.

Before: Awsvpc task eth0 has only 169.254.172.3/22
After: Awsvpc task eth0 has 169.254.172.3/22 AND fd00:ec2::172:3/112

Test updated: cniconf_linux_test.go - Added IPV6Subnet to expected config in TestCreateBridgeConfig.

Description for the changelog

Add IPv6 subnet to IPAM config.

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions?

Does this PR include the addition of new environment variables in the README?

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aviral92 aviral92 requested a review from a team as a code owner March 5, 2026 19:42
Copy link
Contributor

@JoseVillalta JoseVillalta left a comment

Choose a reason for hiding this comment

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

LGTM

@aviral92 aviral92 enabled auto-merge March 6, 2026 03:45
@aviral92 aviral92 merged commit e6928a0 into aws:dev Mar 6, 2026
43 of 44 checks passed
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.

5 participants