linuxtricks
IS-IT--Management
I am trying to change the metric on my RedHat Linux 9.0 server so that eth0 has a lower priority than eth0:1.
'man ifconfig' shows this:
metric N
This parameter sets the interface metric.
Everything is set at metric '1' by default.
I tried doing:
/sbin/ifconfig eth0 metric 2
and I get the following error:
SIOCSIFMETRIC: Operation not supported
Can anyone help with 'howto' change the metric on an interface?
Thanks!
---
Try not. Do. Or do not. There is no try.
'man ifconfig' shows this:
metric N
This parameter sets the interface metric.
Everything is set at metric '1' by default.
I tried doing:
/sbin/ifconfig eth0 metric 2
and I get the following error:
SIOCSIFMETRIC: Operation not supported
Can anyone help with 'howto' change the metric on an interface?
Thanks!
---
Try not. Do. Or do not. There is no try.