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 changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
AssignedTo|mt@novell.com |mzugec@novell.com
--- Comment #8 from Marius Tomaschewski 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.