Bug 470476

Summary: incorrect NETMASK save in network-scripts/ifcfg-ethX
Product: [Fedora] Fedora Reporter: Dean Mander <knolderpoor>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: harald, jmoskovc
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-07 12:23:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dean Mander 2008-11-07 11:32:20 UTC
Description of problem:

system-config-network saves gateway value instead of netmask value in NETMASK=
/etc/sysconfig/network-scripts/ifcfg-ethX
when using static IP.

Version-Release number of selected component (if applicable):
system-config-network-tui-1.5.93-2.fc10.noarch

How reproducible:

run system-config-network and set static IP address for eth0, for example:

IP: 10.0.0.2
NETMASK: 255.255.255.0
GATEWAY: 10.0.0.1

then the tool will write in /etc/sysconfig/network-scripts/ifcfg-eth0:

NETMASK=10.0.0.1  <----
IPADDR=10.0.0.2
NM_CONTROLLED=no
GATEWAY=10.0.0.1
TYPE=Ethernet

which should be:
NETMASK=255.255.255.0

Result: no default route set --> no network

Comment 1 Harald Hoyer 2008-11-07 12:23:00 UTC

*** This bug has been marked as a duplicate of bug 469434 ***