Netmask is not getting assigned to interface by restarting network services in Red Hat Enterprise Linux 6
Issue
- Configuring ip address with netmask 255.255.255.0 in file "/etc/sysconfig/network-scripts/ifcfg-eth0". But when we command "ifconfig" is run it is showing some other netmask like 255.255.254.0.
- Why is netmask and route changing after reboot automatically ?
- Why is Netmask value getting changed automatically after reboot ?
Environment
- Red Hat Enterprise Linux 6
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.
