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

Static IP address configuration on bridge adapters #144

Open
fw2568 opened this issue Feb 16, 2024 · 0 comments
Open

Static IP address configuration on bridge adapters #144

fw2568 opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@fw2568
Copy link
Member

fw2568 commented Feb 16, 2024

Network Provider configuration already contains a option to configure dhcp mode for bridge adapters. The adapter is auto enabled in this case.

network_providers:
- name: default
  type: overlay
  bridge_name: br-pif
  bridge_options: 
   default_ip_mode: dhcp

This should be extended by a option to set a ipv4 (and later ipv6 address via static configuration):

network_providers:
- name: default
  type: overlay
  bridge_name: br-pif
  bridge_options: 
   default_ip_mode: static
   default_ip_v4: 
      address: 
      gateway:
      dns_servers:
       - 8.8.8.8
       - 9.9.9.9

Static IP address configuration is already partially implemented for NAT adapters. What is missing is the configuration for gateway and DNS.
This configuration should only be applied when creating a bridge, not automatically as with NAT adapters. Therefore don't have to deal with the case where the configuration changes from dhcp to static or vice versa.

AB#586

@fw2568 fw2568 added the enhancement New feature or request label Feb 17, 2024
@fw2568 fw2568 changed the title Add support for static IP address configuration on bridge adapters Support for static IP address configuration on bridge adapters Feb 18, 2024
@fw2568 fw2568 changed the title Support for static IP address configuration on bridge adapters Static IP address configuration on bridge adapters Feb 18, 2024
@fw2568 fw2568 added this to the zero beta 4 milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant