Bug 3430 - MTU is ignored in ifcfg-eth* setups
Summary: MTU is ignored in ifcfg-eth* setups
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: net-scripts (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Denis Ovsienko
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 00:32 MSK by Mikhail Zabaluev
Modified: 2005-07-13 15:45 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zabaluev 2004-01-06 00:32:51 MSK
Contains of /etc/sysconfig/network-scripts/ifcfg-eth0 on my machine:

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
NEEDHOSTNAME=
PEERDNS=yes
MTU=1476

The DHCP client is from the package dhcp-client-3.0.1-alt5


Actual Results:  
After setting up the eth0 interface at startup, MTU is set to 1500.

Expected Results:  
MTU should be set to 1476 as specified in the inferface configuration.
Comment 1 Dmitry V. Levin 2004-01-06 21:36:47 MSK
The "MTU" option works in regular configuration (without DHCP). 
Comment 2 Mikhail Zabaluev 2004-01-07 02:19:46 MSK
> The "MTU" option works in regular configuration (without DHCP).

I think it should work in DHCP-enabled configuration too, as a means to override
the negotiated setting.
Personally, I need it to access Altlinux office hosts (via caltrop).
Comment 3 Denis Ovsienko 2004-03-17 22:29:56 MSK
дайте проверить
Comment 4 Denis Ovsienko 2004-03-18 00:17:25 MSK
Похоже, MTU и MACADDR правильнее назначать до старта $DHCP_CLIENT, так как это
параметры link level, а не network level.
Comment 5 Denis Ovsienko 2004-03-18 00:22:08 MSK
ARP, PROMISC и ALLMULTI туда же напрашиваются
Comment 6 Denis Ovsienko 2004-03-21 16:34:56 MSK
С MACADDR всё было в норме, он устанавливался до вызова DHCP_CLIENT.
Рядом с ним теперь (0.4.1) должны устанавливаться параметры MTU, ARP, PROMISC,
ALLMULTI и MULTICAST. 0.4.1 планирую проверять сегодня.
Comment 7 Denis Ovsienko 2004-03-21 23:59:03 MSK
Проверено, залито net-scripts-0.4.2-alt1.
Проверьте у себя.
Comment 8 Denis Ovsienko 2004-03-22 00:03:05 MSK
Что за странный цикл у этих багов? Хоть бы граф состояний приделали...
Comment 9 Denis Ovsienko 2004-03-22 00:03:44 MSK
RESOLVED FIXED