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

Feature: Add Static IP Address Support #358

Open
zandeez opened this issue Jul 2, 2024 · 0 comments
Open

Feature: Add Static IP Address Support #358

zandeez opened this issue Jul 2, 2024 · 0 comments

Comments

@zandeez
Copy link

zandeez commented Jul 2, 2024

Good morning,

I have started building out IPv6, and have been running a DNS server in Nomad and Podman. Using IPv6, the container has a nondeterministic IPv6 address, so setting this in DHCPv6, RDNSS, or glue records for delegation is problematic.

Workarounds include using Consul Template to reconfigure DHCPv6 and RADVD as the address changes, which is less than ideal.

I am just tidying up a patch and will open a pull request shortly.

Kind regards,

zandeez pushed a commit to zandeez/nomad-driver-podman that referenced this issue Jul 2, 2024
…ress, static_ips and static_mac options for podman tasks.

Podman API version checks whether to set the properties directly or whether to use the new PerNetworkOptions framework.

ipv6_address and ipv4_address are provided for backwards compatibility, and for compatibility with docker. For Podman 4.0.0 these are merged into static_ips and sent as a PerNetorkOptions entry for the default network.
Added API version check, static mac support, new array-based option for static IPs to match the podman API

Trying moving the object to ContanerNetworkConfig
zandeez pushed a commit to zandeez/nomad-driver-podman that referenced this issue Jul 2, 2024
…ress, static_ips and static_mac options for podman tasks.

Podman API version checks whether to set the properties directly or whether to use the new PerNetworkOptions framework.

ipv6_address and ipv4_address are provided for backwards compatibility, and for compatibility with docker. For Podman 4.0.0 these are merged into static_ips and sent as a PerNetorkOptions entry for the default network.
Added API version check, static mac support, new array-based option for static IPs to match the podman API
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

No branches or pull requests

1 participant