[Bug 467087] New: Additional IP addresses not added
https://bugzilla.novell.com/show_bug.cgi?id=467087 Summary: Additional IP addresses not added Classification: openSUSE Product: openSUSE 11.1 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lars@skjaerlund.dk QAContact: qa@suse.de Found By: --- User-Agent: Opera/9.63 (X11; Linux x86_64; U; en) Presto/2.1.1 When I add some additional IP addresses via YaST | Network Card Setup, they aren't added to the network stack - neither when closing the wizard nor when booting the machine. Reproducible: Always Steps to Reproduce: 1.Add an additional IP address. 2.Check if it worked ;-). 3. Actual Results: No additional IP addresses. Expected Results: Additional IP addresses. -- 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=467087 Lars Skjærlund <lars@skjaerlund.dk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|RC 2 |Final -- 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=467087 User justin@ragblue.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c1 Justin Jaynes <justin@ragblue.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |justin@ragblue.com --- Comment #1 from Justin Jaynes <justin@ragblue.com> 2009-01-30 20:39:01 MST --- I have the same problem. YaST fails to actually add the IPaddresses. However, the behavior for me was more sporadic. I added a third IP address and it appeared, and a fourth, and it did not. On the irc.opensuse.org chat someone recommended that I remove the LABEL line from the /etc/sysconfig/network/ifcfg-eth0 file for the additional ipaddresses and restart the interface. This worked and my interface started responding to the added addresses. This seems like a significant problem and a path should be released quickly in my opinion. -- 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=467087 User justin@ragblue.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c2 --- Comment #2 from Justin Jaynes <justin@ragblue.com> 2009-01-30 20:40:50 MST --- I have the same problem. YaST fails to actually add the IPaddresses. However, the behavior for me was more sporadic. I added a third IP address and it appeared, and a fourth, and it did not. On the irc.opensuse.org chat someone recommended that I remove the LABEL line from the /etc/sysconfig/network/ifcfg-eth0 file for the additional ipaddresses and restart the interface. This worked and my interface started responding to the added addresses. This seems like a significant problem and a path should be released quickly in my opinion. -- 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=467087 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puzel@novell.com AssignedTo|bnc-team-screening@forge.pr |mzugec@novell.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=467087 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c3 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lars@skjaerlund.dk --- Comment #3 from Michal Zugec <mzugec@novell.com> 2009-02-19 08:01:05 MST --- I can't confirm - it works as expected on my side. 1 - are you running NetworkManager? (grep "^NETWORKMANAGER" /etc/sysconfig/network/config) 2 - it's not written, or it doesn't work? Check /etc/sysconfig/network/ifcfg-eth* files And please attach ifcfg-ethX file and YaST log -- 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=467087 User lars@skjaerlund.dk added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c4 Lars Skjærlund <lars@skjaerlund.dk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lars@skjaerlund.dk | --- Comment #4 from Lars Skjærlund <lars@skjaerlund.dk> 2009-02-19 08:51:19 MST --- Created an attachment (id=273990) --> (https://bugzilla.novell.com/attachment.cgi?id=273990) /etc/sysconfig/network/ifcfg-eth0 Here comes the ifcfg-eth0 file - which is correct. It seems like it's the script in /etc/init.d that doesn't get it right. -- 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=467087 User lars@skjaerlund.dk added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c5 --- Comment #5 from Lars Skjærlund <lars@skjaerlund.dk> 2009-02-19 08:55:29 MST --- And no, I'm not using NetworkManager - plain old ifup. Not to be mixed up with this bug, of course, but FYI, /etc/init.d/smbfs doesn't work either: It won't mount my shares on the server during boot - but if I execute it manually (as root) after boot, it mounts all my shares. -- 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=467087 User lars@skjaerlund.dk added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c6 --- Comment #6 from Lars Skjærlund <lars@skjaerlund.dk> 2009-02-19 08:56:57 MST --- BTW - what YaST log do you want? There's a lot, you know. ;-) -- 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=467087 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c7 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mzugec@novell.com |mt@novell.com --- Comment #7 from Michal Zugec <mzugec@novell.com> 2009-02-19 10:26:58 MST --- When file is ok, I don't need that log. Just to know for next time - I need tarball from /var/log/YaST2/* Reassigned to sysconfig maintainer -- 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=467087 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c8 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID AssignedTo|mt@novell.com |mzugec@novell.com --- Comment #8 from Marius Tomaschewski <mt@novell.com> 2009-02-20 06:02:16 MST --- IPADDR='10.0.16.60/24' -> ip addr add dev xxx0 local 10.0.16.60/24 broadcast + => OK IPADDR_sporskiftet='10.0.16.65/32' LABEL_sporskiftet='sporskiftet' -> ip addr add dev xxx0 local 10.0.16.65/32 broadcast + label xxx0:sporskiftet => RTNETLINK answers: Numerical result out of range IPADDR_veterantoget='10.0.16.64/32' LABEL_veterantoget='veterantoget' -> ip addr add dev xxx0 local 10.0.16.64/32 broadcast + label xxx0:veterantoget => RTNETLINK answers: Numerical result out of range OK, "Numerical" is perhaps not correct, but "result out of range" is true. In case of e.g. a "br0" interface, the first label still work: A "ip addr show dev br2" show the first label: inet 10.0.16.60/24 brd 10.0.16.255 scope global br2 inet 10.0.16.65/32 scope global br2:sporskiftet A "ifconfig" shows the labels but truncates them of course: br2 Link encap:Ethernet HWaddr [...] inet addr:10.0.16.60 Bcast:10.0.16.255 Mask:255.255.255.0 br2:spors Link encap:Ethernet HWaddr [...] inet addr:10.0.16.65 Bcast:0.0.0.0 Mask:255.255.255.255 Sorry, but IF_NAMESIZE is 16 => INVALID. Fix your config to use interface names + labels < 16 characters. Michal, it would make sense to add a check for this in yast2... -- 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=467087 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c9 --- Comment #9 from Marius Tomaschewski <mt@novell.com> 2009-02-20 06:31:56 MST --- Note also, that labels are legacy / compatibility code to Linux 2.0 net aliases. -- 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=467087 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c10 --- Comment #10 from Michal Zugec <mzugec@novell.com> 2009-02-20 07:19:50 MST --- validation for label size added into yast2-network-2.18.9 -- 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=467087 User Willi.Lenz@com-office.de added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c11 Willi Lenz <Willi.Lenz@com-office.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Willi.Lenz@com-office.de --- Comment #11 from Willi Lenz <Willi.Lenz@com-office.de> 2009-03-17 07:20:02 MST --- I recognized the same malfunction. Predefinded configuration i.e.: Device: eth0 Content of /etc/ifcfg-eth0: .. IPADDR='192.168.10.1/24' .. MTU='' NAME='Description of NIC' NETWORK='' REMOTE_IPADDR='' These ip-addresses and aliases should be additional: 192.168.45.12 mikey 192.168.90.88 goofy Now while in YaST2 -> network configuration -> select NIC -> modify adding additional ip-address(s), YaST2 writes in the related file i.e. /etc/ifcfg-eth0 additional lines like: IPADDR_='192.168.45.12/24' LABEL_mikey='mikey' IPADDR_='192.168.90.88/24' LABEL_goofy='goofy' Restarting the network results with a 'failed' message by ignoring the additional ip-addresses. Solution: Modify in the related file /etc/ifcfg-eth0 the statements LABEL_xxxxx to: LABEL_mikey='0' LABEL_goofy='1' Within the LABEL_xxx clause should be the index number for the additional ip-addresses unstead of the a allias name copy. Restart the network. Reproduceable: Always -- 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=467087 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=467087#c12 --- Comment #12 from Michal Zugec <mzugec@novell.com> 2009-03-17 08:16:34 MST --- On my side (use fixed package, i.e.>=2.18.9) it works ifcfg-eth0 file: .. IPADDR_0='1.1.1.1/24' LABEL_0='mikey' IPADDR_1='2.2.2.2/24' LABEL_1='goofy' "ip addr show eth0": .. inet 1.1.1.1/24 brd 1.1.1.255 scope global eth0:mikey inet 2.2.2.2/24 brd 2.2.2.255 scope global eth0:goofy -- 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