Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2282237

Summary: "IPV6_AUTOCONF=no" gets ignored in ifcfg file
Product: Red Hat OpenStack Reporter: Francois Palin <fpalin>
Component: os-net-configAssignee: RHOSP:NFV_Eng <rhosp-nfv-int>
Status: CLOSED MIGRATED QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: bfournie, dsneddon, ekuris, gregraka, gurpsing, ihrachys, jamsmith, jmarti, jslagle, jzaher, ksundara, mariel, mburns, mtomaska, njohnston, pgrist, rhosp-nfv-int, twilson
Target Milestone: z4Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-15 11:59:52 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: