[Users] Re: mtu on venet interface?

Stanichenko Marat mstanichenko at openvz.org
Mon Dec 29 11:00:02 EST 2008


Aleksandar Ivanisevic wrote on 29.12.2008 17:07:
> Stanichenko Marat
> <mstanichenko at openvz.org> writes:
>
>   
>> Aleksandar Ivanisevic wrote on 22.12.2008 16:08:
>>     
>>> how do I set MTU on venet0:0 interface so that it survives reboot?
>>>
>>>   
>>>       
>> Hello, could you possibly describe in more detail why do you need to
>> set MTU and what kind of reboot do you have in mind? Thank you.
>>     
>
> I have a buggy firewall that does not let through standard size
> fragments, so MTU needs to be set to 1496 instead to 1500 on
> everything that goes out via that firewall.
>
> Reboot is a restart of the VE, either by issuing "reboot" in the VE,
> or vzctl stop/start/restart from the host.
>
>
>   

Why don't you use
"ip link set venet0 mtu 1496" command in one of the startup scripts?


More information about the Users mailing list