Saturday, 1 February 2020

Metric Weights


Here we goanna change the metric weights.
Note: Metric should be same in all routers  then only the neighbor will come up. So I goanna do on R1 and R4 after implementing this ill remove and make my all routers to get back.

R1#sh ip route
     150.6.0.0/24 is subnetted, 1 subnets
D       150.6.6.0 [90/156160] via 155.1.156.6, 02:08:26, FastEthernet1/0

Here the metric (FD) is 156160.Lets check it are we getting this value or not.
We know the EIGRP formula its

Metric =  256*(1/(K1*BW)+(K2*BW)/(256-LOAD) + K3*DELAY )*(K5/(RELIABILITY + K4))
Default k weights
K1=1
K2=0
K3=1
K4=0
K5=0

Hence we concluded with this Metric = 256*((K1*BW)+K3*DELAY)

R1#sh int fa1/0
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
R6#sh int lo 0
  MTU 1514 bytes, BW 8000000 Kbit, DLY 5000 usec,

So the Lowest bandwidth is 100000 and delay is (100+5000)/10
Metric = 256*(1/(1*100000)+1*510)
             = 156160

Now am going to use of only delay so that our calculation will be easy and clean

R6#sh run
router eigrp 100
 network 150.6.0.0
 network 155.1.156.6 0.0.0.0
 metric weights 0 0 0 1 0 0
 no auto-summary
 neighbor 155.1.156.1 FastEthernet0/0
R1#sh ip route | in 150.6.6.0
D       150.6.6.0 [90/130560] via 155.1.156.6, 00:00:53, FastEthernet1/0

Verification

R1#sh ip protocols
  EIGRP metric weight K1=0, K2=0, K3=1, K4=0, K5=0
R1#sh run
 ip authentication mode eigrp 100 md5
 ip authentication key-chain eigrp 100 CISCO
 no ip split-horizon eigrp 100
router eigrp 100
 network 150.1.0.0
 network 155.1.0.0
 metric weights 0 0 0 1 0 0
 no auto-summary
 neighbor 155.1.156.6 FastEthernet1/0
 neighbor 155.1.156.5 FastEthernet1/0
Metric = 256*(1*510)
             = 130560

No comments:

Post a Comment