Bug 2082682
| Summary: | [RFE] support a ipv6.addr-gen-mode knob in the global config | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Dusty Mabe <dustymabe> |
| Component: | NetworkManager | Assignee: | Thomas Haller <thaller> |
| Status: | CLOSED ERRATA | QA Contact: | Matej Berezny <mberezny> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | acabral, bgalvani, cglombek, fpalin, lrintel, mircea.vutcovici, rkhan, rpawlik, sfaye, sukulkar, thaller, till, vbenes |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | NetworkManager-1.39.10-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-08 10:10:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dusty Mabe
2022-05-06 18:27:59 UTC
This is linked in the github issue but worth mentioning here: https://docs.openstack.org/neutron/wallaby/admin/config-ipv6.html#configuring-interfaces-of-the-guest potential solution, on discussion here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1213 addr-gen-mode is not configurable via global connection defaults. See upstream commit https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/e6a33c04ebe1ac84e31628911e25bdfd7534dd3c Thomas, Did you mean to say "addr-gen-mode is NOW configurable via global connection defaults"? (In reply to Dusty Mabe from comment #6) > Thomas, > > Did you mean to say "addr-gen-mode is NOW configurable via global connection > defaults"? yes. /etc/NetworkManager/conf.d/95-my.conf with [connection-95-my] ipv6.addr-gen-mode=0 should work (0 is "eui64") -- if `nmcli connection show "$PROFILE"` either prints ipv6.addr-gen-mode=default ipv6.addr-gen-mode=default-or-eui64 (only in those two cases the fallback to the default happens) -- of course, if you create a profile with D-Bus/nmcli it will default to "default", and if you omit the key from keyfile it will default to "default-or-eui64". With a sufficiently recent nmcli that supports --offline, also test: $ nmcli --offline connection add type ethernet ipv6.addr-gen-mode 0 > "is NOW configurable" "NOW" being upstream `main` branch. Btw, we have copr repos from upstream here: https://copr.fedorainfracloud.org/coprs/networkmanager/ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7680 |