[Bug 731399] New: man ifsysctl describes a way to set IPv6 parameters when NetworkManager is active, however it does not work
https://bugzilla.novell.com/show_bug.cgi?id=731399 https://bugzilla.novell.com/show_bug.cgi?id=731399#c0 Summary: man ifsysctl describes a way to set IPv6 parameters when NetworkManager is active, however it does not work Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: f.de.kruijf@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 man ifsysctl sais: The settings are not applied by default when the NetworkManager is active (NETWORKMANAGER=yes), except when the IFSYSCTL_NET- WORKMANAGER=yes variable is set in the /etc/sysconfig/network/config file. This about settings in the files /etc/sysconfig/network/ifsysctl and /etc/sysconfig/network/ifsysctl-<if>, where <if> is the name of an interface. I have a file /etc/sysconfig/network/ifsysctl containing one active line net.ipv6.conf.$SYSCTL_IF.use_tempaddr = 0 The file /etc/sysconfig/network/config contains at least the following lines: NETWORKMANAGER="yes" IFSYSCTL_NET-WORKMANAGER="yes" However eth0 still gets an IPv6 address with the lower 64 bits generated randomly, next to one that is derived from the MAC address, which should be the only one. This is after setting these parameters and doing a reboot. I only have one eth0 interface in this system. But this a preparation for having these settings in my laptop also for the wireless connection. On opensuse-factory there has been a discussion about being blocked when using these randomized IPv6 addresses, so I am looking for the settings to disable this randomized IPv6 address. The applet does not allow me to do that. Reproducible: Always Steps to Reproduce: 1. Set the network configuration to use NetworkManager 2. Create the file /etc/sysconfig/network/ifsysctl with above line 3. Add the specified line to /etc/sysconfig/network/config 4. reboot and watch the IPv6 addresses the interface gets. Actual Results: The interface has several IPv6 addresses which are generated randomly. Expected Results: The interface should have one IPv6 address derived from its MAC address. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731399 https://bugzilla.novell.com/show_bug.cgi?id=731399#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731399 https://bugzilla.novell.com/show_bug.cgi?id=731399#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bili@suse.com |mt@suse.com --- Comment #1 from Li Bin <bili@suse.com> 2011-11-21 08:31:19 UTC --- Assign to Marius. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731399 https://bugzilla.novell.com/show_bug.cgi?id=731399#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2011-11-21 12:00:18 UTC --- (In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0
man ifsysctl sais:
The settings are not applied by default when the NetworkManager is active (NETWORKMANAGER=yes), except when the IFSYSCTL_NET- WORKMANAGER=yes variable is set in the /etc/sysconfig/network/config file.
This about settings in the files /etc/sysconfig/network/ifsysctl and /etc/sysconfig/network/ifsysctl-<if>, where <if> is the name of an interface.
I have a file /etc/sysconfig/network/ifsysctl containing one active line
net.ipv6.conf.$SYSCTL_IF.use_tempaddr = 0
Ahm... use_tempaddr = 0 is default... Is it enabled by default? e.g. in the /etc/sysctl.conf or by IPV6_PRIVACY=yes in /etc/sysconfig/sysctl?
The file /etc/sysconfig/network/config contains at least the following lines: NETWORKMANAGER="yes" IFSYSCTL_NET-WORKMANAGER="yes" ^ | This character is from line break in the man output.
Use IFSYSCTL_NETWORKMANAGER=yes instead. The settings are applied in NM mode only at boot via /etc/udev/rules.d/77-network.rules file. When you want to apply it e.g. before NM up, you have to call the ifup-sysctl script from e.g. nm dispatcher scripts. Maybe the random-IP is assigned by NM via dhcpv6 (server on your router)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731399 https://bugzilla.novell.com/show_bug.cgi?id=731399#c3 --- Comment #3 from Freek de Kruijf <f.de.kruijf@gmail.com> 2011-11-21 13:58:40 UTC --- Thanks. removing the - solved the problem. Some further comments: IPV6_PRIVACY is present in /etc/sysconfig/network/config in 11.4 and was indicated as DEPRECATED. It is no longer present in 12.1. Futhermore I would suggest to add the following to the file /etc/sysconfig/network/config ## Type: yesno ## Default: no # Set this variable to yes when NETWORKMANAGER="yes" and you want # the parameters in /etc/sysconfig/network/ifsysctl* to be used in # the NetworkManager as well # IFSYSCTL_NETWORKMANAGER="no" This makes it possible to use YaST to set this parameter. About the defaults of use_tempaddr In 11.4 the default is indeed 0, but in 12.1 the default has been changed to 2 to be more in line with Windows default settings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com