Bug 68960
Summary: | for wireless: default gateway missing in route table | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Fortepianissimo <fortepianissimo> | ||||||||||
Component: | dhcp | Assignee: | Daniel Walsh <dwalsh> | ||||||||||
Status: | CLOSED WORKSFORME | QA Contact: | Brock Organ <borgan> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 1.0 | CC: | notting | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | i686 | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2003-07-28 22:07:31 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: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 67217, 79578 | ||||||||||||
Attachments: |
|
Description
Fortepianissimo
2002-07-16 15:30:17 UTC
Please post your /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<device>, thanks! Created attachment 65604 [details]
/etc/sysconfig/network
Created attachment 65605 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0
Created attachment 65606 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0
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]
/var/lib/dhcp/dhclient-eth1.leases
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 something. 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: #!/bin/sh case $1 in eth0) ;; eth1) route del default ;; and add back my default gateway in /sbin/ifdown-local: #!/bin/sh case $1 in eth0) ;; eth1) route add default gw 192.168.1.1 ;; esac 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? Dan Closing, lack of response. |