Description of problem: When editting interface info in the graphical interface, the "Netmask" field only seems to accept a subset of possible netmasks, e.g. it accepts 255.255.255.0, but not 255.255.255.240 or 255.255.255.248. How reproducable: Choose "edit" for a network interface in the graphical installer. Further comments: Specifying a netmask in the text interface (after the / of in the IP address field), before the graphical installer starts (after choosing NFS install) works fine, it accepts all netmasks I tried and it even plain numbers, like "24" or "28", which is a good thing.
This has been fixed in rawhide and will make its way in to the next RHEL5 beta or alpha or test release. Netmasks and CIDR-prefixes are accepted for the IPv4 prefix.
With rawhide-20060927, this is still broken. If I enter 172.16.56.125/22, it gives me a netmask of 255.255.63.0 (instead of 255.255.252.0). If I enter 172.16.56.125/255.255.252.0, it gives me a prefix of /24.
CIDR prefix to netmask calculation has been fixed in rawhide. Thanks.
If I enter 172.16.56.125/22, while it does calculate the netmask correctly, it displays in the 'Network Devices dialog' as 172.16.56.125/24.
(In reply to comment #4) > If I enter 172.16.56.125/22, while it does calculate the netmask correctly, it > displays in the 'Network Devices dialog' as 172.16.56.125/24. Seriously, notting...are you never satisfied? I fixed this exact problem about 5 minutes ago and committed it to HEAD for rawhide. It was just a display issue, the internal values were still correct. BUT, I did just uncover another problem. The input validation code is borken on big endian systems. Working on that.
These problems are fixed in today's rawhide (20051004).
Closing out.