Bug 150083
Summary: | dhclient forces to use default route as received from dhcpd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jani Ollikainen <bestis+rh> |
Component: | dhcp | Assignee: | Jason Vas Dias <jvdias> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-03-02 19:24:47 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
Jani Ollikainen
2005-03-02 10:19:38 UTC
There are several ways to cause dhclient to use a different default route than that supplied by the DHCP "routers" option with dhclient-3.0.1-40_FC3: 1. Specifying $GATEWAYDEV in /etc/sysconfig/network : Then ONLY the dhclient session for the $GATEWAYDEV interface will set a default route from the DHCP "routers" option. There's nothing stopping you from specifying an interface that is never brought up, eg. 'GATEWAYDEV=eth7' - then no DHCP session will set the default route. 2. Specifying $GATEWAY in ifcfg-ethX : The dhclient session for ethX will set the default route to be via $GATEWAY IF the IP address and subnet mask received from DHCP match the subnet of $GATEWAY - else, no default route is set by the dhclient session for ethX . 3. Specifying 'supersede routers AAA.BBB.CCC.DDD;' in /etc/dhclient.conf : All dhclient sessions will attempt to set the default route to be via AAA.BBB.CCC.DDD on their interface and will ignore the routers option sent by DHCP . As there are quite a few ways to disable setting the default route with DHCP, no new ways are needed - hence, this bug is being closed as 'NOT A BUG'. |