Thursday 31 May 2012

How to change Metrics in windows routing table, Change metric for multicast routing entry

To change the metric first add the entry and then change the entry. Like this, i have done for multicast routes. By changing this entry basically you specify if the multicast traffic originates from this PC, we should sent on which interface.

C:\Documents and Settings\Administrator>route print            20      20

 If same metric is present for both interfaces, i am not sure how it will decide to send on which interface. But it will be random, any interface it will choose and send. To make it send on only one interface change the metric like this :

C:\Documents and Settings\Administrator>route add mask metric 20

then change the metric

C:\Documents and Settings\Administrator>route add mask metric10

As metric for the interface is less i..e 10 now the traffic will be sent only on this interface.