Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168985 - net-misc/dhcpcd-3.0.15 resets mtu to 68 if no mtu option is received
Summary: net-misc/dhcpcd-3.0.15 resets mtu to 68 if no mtu option is received
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 11:02 UTC by Mike Auty (RETIRED)
Modified: 2007-03-02 12:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2007-03-02 11:02:49 UTC
On my wireless access card (madwifi) I recently started seeing issues with the mtu, whereby at each dhcp request the mtu was reset to 68.  Downgrading to 3.0.14 fixes the problem, so this appears to be related to the recent mtu fix that went into 3.0.15.

I'm assuming that this happens when there is no mtu option sent (as my server does not).  Based on the error message (minimum legal MTU is 68), it suggests that the mtu is being set to a lower value (possibly 0) and then being upgraded to the minimum accepted ethernet mtu.  This has also been reported by a separate user in bug 166921.

Please let me know if there's any other info you'd like or further tests I can run...  5:)

Reproducible: Always

Steps to Reproduce:
1. dhcpcd ath0
Actual Results:  
Error, ath0: minimum legal MTU is 68

Expected Results:  
mtu isn't altered or is set to a reasonable value
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-03-02 11:21:39 UTC
A little bit of printf-ing turned up that the dhcp->mtu is set to 64 when the check in dhcp.c occurs.
Comment 2 Mike Auty (RETIRED) gentoo-dev 2007-03-02 11:43:31 UTC
Ok, so sadly it tuns out my router really did want an MTU of 64 (it's a little bit lousy), but Uber's come up with a patch worthy of his namesake, which sets an MTU high enough to allow most traffic to continue working regardless (including DHCP itself).  I'm off to go change my DHCP server to a more reliable one...  5:)
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-03-02 12:01:19 UTC
I'll close this when a fix hits portage
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-03-02 12:21:32 UTC
Fixed in dhcpcd-3.0.16