Why "system-config-network" not able to change PREFIX value in "ifcfg-ethX" in RHEL?
Issue
-
After reconfiguring the network-settings on a machine noticed that, wrong netmask has been set for the interface in
ifconfigoutput. -
Using
/usr/sbin/system-config-networkwe had edited the interface configuration to set the the new subnet mask which is correctly reflected in/etc/sysconfig/network-scripts/ifcfg-ethXfile. -
In the
ifcfg-ethXwe see withsystem-config-networkutilityNETMASKvalue gets added additional toPREFIXparameter instead of editing thePREFIXvalues set earlier. -
Is this a bug or for some unknown reason intended to work this way?
-
KDE Info Center GUI tool and system-config-network-tui program show different netmask.
Environment
-
Red Hat Enterprise Linux (RHEL)
-
System-config-network tool.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
