EoIP how to change MTU?

I have set up WireGuard connection beetwin 2 points via Intenet so i have
192.168.9.1----------------192.168.9.2
then a made EoIP tunnel on this connections ad binded to separeted ports
the qwistion is how do i change MTU for EoIP ?
the thing is WireGuard MTU is 1420 and EoIP is 1500 by default so it is not good for perfomance
ive tryed to add in /etc/config/eoip
option mtu '1400'
didnt work
the MTU still 1500

16: zeoip0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
    link/ether 36:49:da:29:d7:17 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::3449:daff:fe29:d717/64 scope link
       valid_lft forever preferred_lft forever

No work option for this now, you may use now:

ip link set dev zeoip0 mtu 1400

1 Like

Thanks! it works !
Where can i put this command to automaticly start after zeoip0 is started?
maybe /etc/init.d/eoip somwhere to put ?
Also if the EoIP in the bridge i can change is via brisge parametr MTU

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.