Bug 202425
Summary: | ifup drops existing default route in favour of new one received via DHCP | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Mathijs Brands <mathijs> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3 | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-14 14:46:06 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: |
Description
Mathijs Brands
2006-08-14 12:17:58 UTC
This is what ifcfg-eth0 looks like: DEVICE=eth0 BOOTPROTO=static HWADDR=00:14:4F:40:19:DC ONBOOT=yes TYPE=Ethernet IPADDR=172.27.1.70 NETMASK=255.255.255.0 This is what ifcfg-eth2 looks like: DEVICE=eth2 BOOTPROTO=dhcp HWADDR=00:14:4F:40:19:DE ONBOOT=no TYPE=Ethernet PEERDNS=no It seems that dhclient drops the default route - it's not ifup. I think this bug report can be closed; it will probably boil down to a configuration issue with dhclient, not a bug in the initscripts. The remark about duplicate routes does not seem to apply to cases where dhclient is used. Lines 274 and 284 of /sbin/dhclient-script replace the default route. Setting DHCLIENT_USE_GATEWAY in the ifcfg script (for instance to 'no') circumvents this. Right, this is configurable behavior. Closing as NOTABUG. |