# Dynamically change MTU

**URL:** <https://forums.suse.com/t/dynamically-change-mtu/23631>\
**Category:** SLES Networking\
**Created:** [February 15, 2013, 3:23pm UTC](https://forums.suse.com/t/dynamically-change-mtu/23631 "2013-02-15T15:23:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mac84](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mac84](https://forums.suse.com/u/mac84)\
**Post date:** [February 15, 2013, 3:23pm UTC](https://forums.suse.com/t/dynamically-change-mtu/23631/1 "2013-02-15T15:23:14Z")

</div>

Hi,  
For testing purposes I need to change mtu of interface multiple times on the fly using either ip or ifconfig. I am experiencing a delay in the used value, meaning:

1. Set mtu to 3000 on interface
2. Run ‘ping \<client\_ip\> -s 8700 -M do’ which will fail (expected) with:

`From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = 3000)
From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = 3000)
From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = 3000)`  
3. Set mtu to 9000 on same interface  
4. Run ‘ping \<client\_ip\> -s 8700 -M do’ which will fail again (unexpected) with same output as above:

`From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = [COLOR="#FF0000"]3000[/COLOR])
From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = [COLOR="#FF0000"]3000[/COLOR])
From 3.0.0.14 icmp_seq=1 Frag needed and DF set (mtu = [COLOR="#FF0000"]3000[/COLOR])`  
After some time (~5 or more minutes) the ping will fix itself and start passing. My question: is there some sort of cache for mtu value in the system? Can it be cleared?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [February 21, 2013, 3:30pm UTC](https://forums.suse.com/t/dynamically-change-mtu/23631/2 "2013-02-21T15:30:12Z")

</div>

mac84,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [February 25, 2013, 5:57pm UTC](https://forums.suse.com/t/dynamically-change-mtu/23631/3 "2013-02-25T17:57:20Z")

</div>

Hi mac84,

I just wanted to let you know that I was able to re-create the symptoms you’re facing, so you’re not chasing ghosts. Unfortunately, neither do I yet fully understand the root cause nor do I have a work-around, that’s why I didn’t respond so far…

Regards,  
Jens
