Bug 470364 - invalid netmask for static ip
Summary: invalid netmask for static ip
Keywords:
Status: CLOSED DUPLICATE of bug 470068
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-06 21:20 UTC by Glenn Simpson
Modified: 2008-11-07 06:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-07 06:49:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Glenn Simpson 2008-11-06 21:20:43 UTC
Description of problem:
When setting a static ip using edit of the 'network' menu, you set an ip address, a netmask and a default ip address.  When this is saved in /etc/sysconfig/ifcfg-eth1, the netmask is wrongly set to value of the default gateway.

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


How reproducible:
using 'root' System->administration->network to edit the network device.

Steps to Reproduce:
1. select system->administration->network
2. highlight which device. In my case it is eth1
3. press edit
4. change from dynamic addressing to static addressing
5. set the ip address (ex: 192.168.5.27)
6. set the netmask (255.255.255.0)
7. set the default gateway address (ex: 192.168.5.1)
8. save the configuration

Actual results:
if you reopen the above display, you will see the netmask has been changed
to the value of 'default gateway address'
if you check /etc/sysconfig/ifcfg-eth1, you will see the netmask has been
altered to the value reported in the gui display.

Expected results:
setting the netmask should cause the config to accept the value supplied.
ex: 255.255.255.0

Additional info:

Comment 1 Harald Hoyer 2008-11-07 06:49:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.