Bug 170884
Summary: | MTU of ethernet card can't be set before interface is up | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sven Neuhaus <sven-redhat> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | denis, jgarzik, linville, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-07 18:24:46 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: | 124226 | ||||||
Attachments: |
|
Description
Sven Neuhaus
2005-10-14 22:32:42 UTC
Created attachment 120007 [details]
moves the MTU section further back
this patch moves the "ip link set dev ${DEVICE} mtu ${MTU}"
behind the "ip link set dev ${REALDEVICE} up"
which fixes the problem for me.
This bug would have been detected much sooner if the feature from bug 124226 (RFE: set MTU from system-config-network) had been implemented. Do you see any problems with my patch? Theoretically, it might need a second stanza to handle DHCP, although I'd hope that nothing needs MTU set to actually *get* a IP address. I'm still curious is the 'inability to set MTU unless link is set up' is something that's specific to a particular driver, or is defined behavior - John/Jeff? I don't see anything to suggest that this is a generic problem. The sk98lin driver looks like it might be enforcing such a requirement, but I don't know why. Since this is FC4, I would suggest using the skge driver instead of sk98lin if at all possible. In most cases I have met MTU can be changed while interface is down. Closing this - this is best solved by fixing the driver to allow setting the MTU in all cases. |