Bug 473145 - netmask garbled by system-config-network
Summary: netmask garbled by system-config-network
Keywords:
Status: CLOSED DUPLICATE of bug 469434
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: 10
Hardware: All
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-26 19:19 UTC by Len Brown
Modified: 2008-11-28 11:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-28 11:42:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Len Brown 2008-11-26 19:19:19 UTC
FC10 32-bit on an Asus Eee Box.

Start with a stock DHCP setup:

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
HWADDR=00:22:15:53:63:c8
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=yes
IPV6INIT=no
NM_CONTROLLED=yes
TYPE=Ethernet

Then switch to a static IP via the GUI:

# usr/bin/system-config-network

click Statically set IP addresses:
Address: 192.168.0.162
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1
OK
File/Save

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
HWADDR=00:22:15:53:63:c8
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
PEERDNS=yes
IPV6INIT=no
NM_CONTROLLED=yes
TYPE=Ethernet
NETMASK=192.168.0.1
IPADDR=192.168.0.162
GATEWAY=192.168.0.1

and you'll notice that the GATEWAY address has been
saved in the NETMASK address, rather than the requested 255.255.255.0

manual editing ifcfg-eth0 is necessary to recover from
the mistake made by the GUI.

Comment 1 Jiri Moskovcak 2008-11-28 11:42:03 UTC

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


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