[Users] Re: mtu on venet interface?

Stanichenko Marat mstanichenko at openvz.org
Tue Dec 30 10:10:07 EST 2008


Aleksandar Ivanisevic wrote on 30.12.2008 17:44:
>
> standard redhat way is to set MTU=1496 in
> /etc/sysconfig/network-scripts/ifcfg-xxx, but openvz changes those
> files on every startup, not exactly sure how.
>
>   
This is done due to the logic that VE configuration file contains
the real information concerning particular VE ip addresses. And
vzctl simply udate ifcf-xxx file inside VE according to VE conf file.

As an additional workaround is modifying vzctl scripts (they are per
distr scripts). For example,
/etc/vz/dists/scripts/redhat-add_ip.sh one - function setup_network()
You can add there MTU=1496 string.
But keep in mind that during vzctl update it could be changed.


More information about the Users mailing list