Bug 470068

Summary: system-config_network screws up netmask
Product: [Fedora] Fedora Reporter: Alan M. Evans <ame.fedora>
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: gsimpson, harald, jmoskovc
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-05 18:35:56 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 Alan M. Evans 2008-11-05 16:08:16 UTC
Description of problem:

Using system-config-network to adjust static IP settings for eth0. If I change the settings for "Address", "Subnet mask", or "Default gateway address", the netmask is set equal to the gateway.

Version-Release number of selected component (if applicable):

system-config-network 1.5.93

Steps to Reproduce:
1. start system_config_network
2. select eth0 (probably others also) connection and click "Edit" button
3. on "Ethernet Device" dialog, select "Statically set IP addresses" and enter appropriate values for "Address", "Subnet mask", and "Default gateway address".
4. click "Ok" to accept changes.
  
Actual results:

/etc/sysconfig/network-scripts/ifcfg-eth0 contains "NETMASK=192.168.0.3", which is my default gateway.

Expected results:

/etc/sysconfig/network-scripts/ifcfg-eth0 contains "NETMASK=255.255.255.0", which is what I entered in the appropriate box.

Comment 1 Jiri Moskovcak 2008-11-05 18:35:56 UTC

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

Comment 2 Harald Hoyer 2008-11-07 06:49:59 UTC
*** Bug 470364 has been marked as a duplicate of this bug. ***