Red Hat Bugzilla – Bug 68960
for wireless: default gateway missing in route table
Last modified: 2007-04-18 12:44:13 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020715
Description of problem:
the scripts didn't set the default gateway in route table for wireless card.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.pop in an Orinoco Silver card
2.try to ping anywhere with IP address
Actual Results: route table missing the default gateway
Expected Results: should have an entry for default gateway
If I downgraded to initscripts-6.78-2 (and kept everything else intact)
everything worked fine.
Please post your /etc/sysconfig/network and
Created attachment 65604 [details]
Created attachment 65605 [details]
Created attachment 65606 [details]
What default gateway do you want it to set? (There doesn't appear to be one
listed for the wireless network...)
*** Bug 70082 has been marked as a duplicate of this bug. ***
In initscripts-6.67-1 the default gateway was correctly set via dhcp. So it's
probably not something fixed?
initscripts-6.91-1 still has the same problem (the last version that worked for
me is initscripts-6.67-1).
Hm, I can't reproduce this here with what is (essentially) your config. It's not
using wireless, but that *shouldn't* make a difference. What does your
/var/lib/dhcp/dhclient-eth1.leases look like?
Created attachment 74744 [details]
And, just to clarify, what version of dhclient do you have running?
I have dhclient-3.0pl1-9 installed, but not the other dhcp packages. Well
actually before I installed initscripts-6.92 I was running initscripts-6.67
with an older version of dhcp client, and I didn't have /var/lib/dhcp/dhclient-
eth1.leases. It's after seeing your message that prompted me to check what dhcp
client I was running. So I removed the old dhcp client, installed the current
initscripts and dhclient - but still no luck.
Moving to dhclient; the default route gets set there, unless I'm really missing
RH 8.0 has the same behavior (i.e., the default gateway is not set after
inserting the wireless card). However I managed to fix this, by adding a file
/sbin/ifup-pre-local containing this:
case $1 in
route del default
and add back my default gateway in /sbin/ifdown-local:
case $1 in
route add default gw 192.168.1.1
I believe the routers are only going to be set if the server is handing down a
default route. So is your dhcpd set up to hand down routes?
Closing, lack of response.