can not change the metric parameter in Network configuration
eth0 Link encap:Ethernet HWaddr 3C:D9:2B:F2:2B:00
inet addr:10.1.19.69 Bcast:10.1.19.255 Mask:255.255.255.0 inet6 addr: fe80::3ed9:2bff:fef2:2b00/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:38246 errors:0 dropped:0 overruns:0 frame:0 TX packets:60749 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2427777 (2.3 MiB) TX bytes:65675362 (62.6 MiB) Memory:fbe60000-fbe80000 eth1 Link encap:Ethernet HWaddr 3C:D9:2B:F2:2B:01 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:42 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:7772 (7.5 KiB) Memory:fbee0000-fbf00000 ************ i just edited de the files that are on /etc/sysconfig/network-scripts/ ifcfg-eth0 ifcfg-eth1 and set metric=0 and metric=1. where a went wrong? |
Why do you need to change Metric?
The metric value is traditionally used by some operating systems to compute the cost of a route. Linux doesn't use this value yet, but defines it for compatibility, nevertheless. |
metric change
hi:
nini09, thank it is nice to now that, I have broken my head trying to change this metric parameter, the problem is that I have to use two different gateways on a database server, to give sevices two differnt networks. any idea how to do it, I've called several people and no one has a clear solution. tanks |
You can change Metric in route table. Add more route entry to meet requirement.
If two entries with identical Destination and Genmask, the one with the lower metric value is chosen. |
Gracias. NINI09, it was the solution, i am new at networking an routing, it was of great help your answer, my problem was fixed, thanks!
|
All times are GMT -5. The time now is 03:50 AM. |