This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2282237 - "IPV6_AUTOCONF=no" gets ignored in ifcfg file
Summary: "IPV6_AUTOCONF=no" gets ignored in ifcfg file
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-net-config
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: ---
Assignee: RHOSP:NFV_Eng
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-21 17:32 UTC by Francois Palin
Modified: 2024-12-15 12:00 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Currently, in IPv6 environments, there is a known issue where the IPv6 key-value pair, `IPV6_AUTOCONF=no`, in `ifcfg-*` files generated by `os-net-config` does not prevent the system from configuring the default route in response to router advertisements. + *Workaround:* perform the following steps to correct this issue: + . Set `net.ipv6.conf.<interface>.accept_ra_defrtr=0` to prevent learning the default route from router advertisements and `net.ipv6.conf.<interface>.accept_ra=0` to prevent the system from accepting router advertisements for any routes. Set both of these variables in `/etc/sysctl.conf` or `/etc/sysctl.d/99-sysctl.conf` (or another file in that subdirectory): + * For each specific interface: + ---- net.ipv6.conf.<interface>.accept_ra_defrtr=0 net.ipv6.conf.<interface>.accept_ra=0 ---- + [NOTE] Setting each specific interface can help to ensure that the settings are not overridden. * For newly created interfaces: + ---- net.ipv6.conf.default.accept_ra_defrtr=0 net.ipv6.conf.default.accept_ra=0 ---- * For all interfaces present at boot time: + ---- net.ipv6.conf.all.accept_ra_defrtr=0 net.ipv6.conf.all.accept_ra=0 ---- . Run the following command: + ---- $ sudo sysctl -p ---- . Alternatively, you can run the `sysctl` command to activate and write these values to the `sysctl.conf` file: + * For each specific interface: + ---- $ sudo sysctl -w net.ipv6.conf.<interface>.accept_ra_defrtr=0 $ sudo sysctl -w net.ipv6.conf.<interface>.accept_ra=0 ---- + [NOTE] Setting each specific interface can help to ensure that the settings are not overridden. * For newly created interfaces: + ---- $ sudo sysctl -w net.ipv6.conf.default.accept_ra_defrtr=0 $ sudo sysctl -w net.ipv6.conf.default.accept_ra=0 ---- * For all interfaces present at boot time: + ---- $ sudo sysctl -w net.ipv6.conf.all.accept_ra_defrtr=0 $ sudo sysctl -w net.ipv6.conf.all.accept_ra=0 ----
Clone Of:
Environment:
Last Closed: 2024-12-15 11:59:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32147 0 None None None 2024-05-21 17:37:20 UTC
Red Hat Issue Tracker OSP-32879 0 None None None 2024-10-01 22:51:54 UTC
Red Hat Issue Tracker OSP-33239 0 None None None 2024-12-15 12:00:38 UTC
Red Hat Issue Tracker   OSPRH-12455 0 None None None 2024-12-15 11:59:51 UTC


Note You need to log in before you can comment on or make changes to this bug.