You are not logged in.

#1 2026-03-08 17:53:01

joca
Member
Registered: 2024-04-01
Posts: 8

MTU not being set to advertised size by dhcp server

I have tried both dhcpcd and dhclient on archlinux and the MTU size being advertised by my dhcp server is not getting set. 
If I run tcpdump and watch the wire for the dhcp advertisement i can see coming from the dhcp server:

...
MTU (26), length 2: 9000
...

setting manually with ip command works fine.

if i run dhcpcd with the -d flag, i do not see any log message around setting the mtu.

I know I can fix this with an exit hook, but I would like to know why this isn't working in what I assume is the designed manner.

Offline

#2 2026-03-08 21:05:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,269

Online

#3 2026-03-08 22:41:28

joca
Member
Registered: 2024-04-01
Posts: 8

Re: MTU not being set to advertised size by dhcp server

I have read that and am already setting in dhcpcd.conf:

option interface_mtu

In my original post, I stated i also ran dhcpcd with -d to get debug options, and do not see any message about setting the mtu either.

Last edited by joca (2026-03-08 22:43:59)

Offline

#4 2026-03-08 23:09:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,269

Re: MTU not being set to advertised size by dhcp server

Ah, hook got ditched - https://github.com/NetworkConfiguration … /issues/67

Last edited by seth (2026-03-09 13:40:27)

Online

#5 2026-03-09 11:55:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,889

Re: MTU not being set to advertised size by dhcp server

Seth, that links to the post the link is in . Probably a C/P error ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2026-03-09 13:40:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,269

Re: MTU not being set to advertised size by dhcp server

Seems like, sorry and thanks - the intended link was https://github.com/NetworkConfiguration … /issues/67

Online

Board footer

Powered by FluxBB