Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90242 - baselayout 1.12.0_alpha2 cannot set interface MTU
Summary: baselayout 1.12.0_alpha2 cannot set interface MTU
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2005-04-24 06:59 UTC by Chris Fanning
Modified: 2005-04-26 23:51 UTC (History)
0 users

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


Attachments
allows ifconfig style mtu for iproute2 (iproute2.patch,435 bytes, patch)
2005-04-25 00:19 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Fanning 2005-04-24 06:59:09 UTC
Old /etc/conf.d/net entry used to look like this:
ifconfig_eth2=( "192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 mtu 16110" )

Net entry drops ifconfig and replaces it with config:
config_eth2=( "192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 mtu 16110" )

The MTU setting is ignored.  There is no information in net.example indicating how the MTU can be set.

Reproducible: Always
Steps to Reproduce:
1. config file as mentioned in details.

Actual Results:  
MTU is set to default 1500.

Expected Results:  
MTU should have been set to 16110.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-04-25 00:19:44 UTC
Created attachment 57150 [details, diff]
allows ifconfig style mtu for iproute2

in baselayout-1.12.x, we're trying to move to iproute2 for the default
interface unhandler - and iproute2 sets the MTU value in a diffent way from
ifconfig.

Attached is a patch that allows setting the mtu via the same config.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-04-26 23:51:43 UTC
baselayout-1.12.0-alpha2-r1 fixes this