a few words about my problem.
My server Centos 6.2 host virtual machines.
I have 2 nics on the same network.
The first one is eth0 and is used for base (physical) machine.
The second is a bridge (br0) and is used for virtual machines.
I would like to separate traffic network. br0 for virtual machine traffic and eth0 for physical machine
eth0 must be the gateway so it must have the lowest metric (ie 0) and eth2 (physical interface of br0) must have higher metric
Unfortunately eth0 is gateway but have metric it set to 1 and bridge interface is set to 0.
So my question: how force interface metric in ifcfg-ethx script ?
Here is scripts used to configure interfaces and bridge
Thanks by advance for help