Red Hat Bugzilla – Bug 473885
"ipcalc: netmask or prefix expected " during network initialization
Last modified: 2008-12-16 00:44:47 EST
Description of problem:
During bootup and each "/etc/init.d/network restart" getting the following message (new in F10 - did't get in F9):
------------------------ snip ---------------------
Bringing up loopback interface:
Bringing up interface eth0:
Determining IP information for eth0...Nothing to flush.
ipcalc: netmask or prefix expected
Usage: ipcalc [OPTION...]
-b, --broadcast Display calculated broadcast address
-h, --hostname Show hostname determined via DNS
-m, --netmask Display default netmask for IP (class A, B, or C)
-n, --network Display network address
-p, --prefix Display network prefix
-s, --silent Don't ever display error messages
-?, --help Show this help message
--usage Display brief usage message
Nothing to flush.
Nothing to flush.
-------------------------- snip ----------------------
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Boot the box, or restart the network
no ipcalc warning
1. The network runs OK
2. NetworkManager is switched off on my box. But the messages appears too if I use NetworkManager
Please attach your config files.
# nVidia Corporation nForce2 Ethernet Controller
Do you need more config files?
Can you attach your /var/run/dhclient-eth0.lease file?
This *looks* to be coming from dhclient-script.
I'm sorry, but there is no file /var/run/dhclient-eth0.lease. The only one is /var/run/dhclient-eth0.pid
I've got a patch for dhclient-script coming in a testing update.
dhcp-4.0.0-33.fc10 has been submitted as an update for Fedora 10.
By installing dhclient from this package, I got rid from the ipcalc message.
dhcp-4.0.0-33.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
Despite the announcement here and on the fedora-package-announce list and the status listed on https://admin.fedoraproject.org/updates/dhcp-4.0.0-33.fc10 it seems this update has not hit the fedora repositories.
http://download.fedora.redhat.com:/pub/fedora/linux/updates/10/i386/ still has 4.0.0-32 (which seems to have gone out just ~9 minutes before 4.0.0-33).