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

[WIP] [feedback required] Improve dualstack and IPv6 support on jail creation #435

Conversation

evilham
Copy link
Contributor

@evilham evilham commented Aug 7, 2021

This is still WIP / PoC and would require documentation changes, opening PR to
gather feedback as this is a first-time contribution.

Important changes:

  • instead of relying on 0.0.0.0 to signal DHCP, we now support passing "DHCP" in
    the IP parameter.
  • we also support "SLAAC" as a value for the IP parameter, which enables
    accepting route advertisement
  • fixed an oddity in the way the gateway was being handled for IPv6 (in certain
    cases it was being passed as the GATEWAY template parameter
  • allow passing multiple values to the IP parameter, this would work as a quoted
    parameter
  • that means that, e.g. bastille create -V test 13.0-RELEASE "SLAAC DHCP" wan is
    possible and creates a dual-stack jail
  • passing both DHCP, SLAAC and fixed IPs is also possible, but only one IP per
    protocol number is supported; last one wins

This is still WIP / PoC and would require documentation changes, opening PR to
gather feedback as this is a first-time contribution.

Important changes:
- instead of relying on 0.0.0.0 to signal DHCP, we now support passing "DHCP" in
the IP parameter.
- we also support "SLAAC" as a value for the IP parameter, which enables
accepting route advertisement
- fixed an oddity in the way the gateway was being handled for IPv6 (in certain
cases it was being passed as the GATEWAY template parameter
- allow passing multiple values to the IP parameter, this would work as a quoted
parameter
- that means that, e.g. bastille create -V test 13.0-RELEASE "SLAAC DHCP" wan is
possible and creates a dual-stack jail
- passing both DHCP, SLAAC and fixed IPs is also possible, but only one IP per
protocol number is supported; last one wins
@evilham evilham force-pushed the evilham-improve-ipv6-and-dualstack-creation branch from 9adfe0f to f6f179b Compare October 13, 2022 08:55
@cedwards cedwards merged commit 0dcefae into BastilleBSD:master Oct 18, 2022
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.

2 participants