Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionRastislav Hepner
2016-06-20 13:17:01 UTC
Description of problem:
If NM controls interface on which ipv6 initialization is enabled (IPV6INIT=yes)
it's setting these options to 0
net.ipv6.conf.enp0s25.accept_ra_defrtr = 0
net.ipv6.conf.enp0s25.accept_ra_pinfo = 0
net.ipv6.conf.enp0s25.accept_ra_rtr_pref = 0
once this is set machine ignores default routes from router advertisements and this further prohibits communication.
Version-Release number of selected component (if applicable):
NetworkManager-1.0.6-29.el7_2.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Install 7.2 GA
2. Install NetworkManager-1.0.6-29.el7_2.x86_64
3. make sure your interface is handled by NM and IPV6INIT is enabled (it's by default)
4. restart NetworkManager or OS
Actual results:
Following kernel parameters are disabled once NM controls them
net.ipv6.conf.enp0s25.accept_ra_defrtr = 0
net.ipv6.conf.enp0s25.accept_ra_pinfo = 0
net.ipv6.conf.enp0s25.accept_ra_rtr_pref = 0
even though accept_ra is still enabled
net.ipv6.conf.enp0s25.accept_ra = 1
Expected results:
acc. documentation and its functional default definitions these parameters should be enabled if accept_ra is enabled.
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
Additional info:
Comment 2Beniamino Galvani
2016-07-03 09:42:42 UTC
(In reply to Rastislav Hepner from comment #0)
> Description of problem:
> If NM controls interface on which ipv6 initialization is enabled
> (IPV6INIT=yes)
> it's setting these options to 0
>
> net.ipv6.conf.enp0s25.accept_ra_defrtr = 0
> net.ipv6.conf.enp0s25.accept_ra_pinfo = 0
> net.ipv6.conf.enp0s25.accept_ra_rtr_pref = 0
This is normal and expected as NM implements IPv6 autoconfiguration in
userspace and so it disables some IPv6 RA-related options in
kernel.
> once this is set machine ignores default routes from router advertisements
> and this further prohibits communication.
Is it only a problem of missing routes or also IPv6 addresses are not
configured? Can you please attach the connection profile, NM logs (if
possible at DEBUG level), and the output of "ip -6 r; ip a" after the
connection is established? Thanks!
Comment 4Beniamino Galvani
2016-08-03 15:30:20 UTC
As explained in comments above accept_ra_defrtr must be set to 0 during NM operation. I'm closing this, please reopen if needed.