View Issue Details

IDProjectCategoryView StatusLast Update
0006237CentOS-6initscriptspublic2013-02-04 19:50
Reporterycsapo 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version6.3 
Target VersionFixed in Version 
Summary0006237: network init scripts ignores netmask when it's set to 255.255.254.0, setting it to 255.255.255.0
DescriptionOn two different servers running CentOS 6.3, setting an original IP in a /24 network, than changing them to a netmask of 255.255.254.0 makes the network startup set the netmask to 255.255.255.0. I have not tried on a box originally set on the "unusual" network, but will try next.
Steps To ReproduceSetup a fresh install of 6.3 normally, with the more common netmask of 255.255.255.0. Then change the IP configuration to a different IP, netmask, and router, only this time the netmask is set to 255.255.254.0. The correct netmask will be saved in all the pertinent places, but while executing, the init script still decides to set it to 255.255.255.0
TagsNo tags attached.

Activities

ycsapo

ycsapo

2013-02-01 22:26

reporter   ~0016405

I just confirmed that whatever netmask is configured during install, sticks forever. Changing the netmask using setup after initial install, although it seems to update all the relevant files, has no effect. If feels like the system is keeping a config file hidden somewhere.
ycsapo

ycsapo

2013-02-04 19:50

reporter   ~0016426

I found that original configuration saves both the NETMASK and the PREFIX; the setup tool changes NETMASK but leaves PREFIX as is, and the networking scripts then use PREFIX to calculate a new NETMASK. I suggest either one of NETMASK or PREFIX every time, and calculating the other if/when needed.

Issue History

Date Modified Username Field Change
2013-02-01 20:27 ycsapo New Issue
2013-02-01 22:26 ycsapo Note Added: 0016405
2013-02-04 19:50 ycsapo Note Added: 0016426