Saturday 1 September 2012

Routing Unefficiently with Traffic-engineering Autoroute Announce

If we change OSPF cost as per diagram, from the router R1 perspective, it has to go through R2 in order to reach 3.3.3.3/32.
And there is tunnel 1 terminating at R2.
So when the forwarding takes place, the actual path going through will be R1>R4>R2>R4>R3.
It is really an unefficient path which goes through R4 twice.

R1(config)#int fa0/1
R1(config-if)#ip ospf cost 20

R2(config)#int fa0/1
R2(config-if)#ip ospf cost 20



R1#show ip route ospf
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/2] via 0.0.0.0, 00:08:57, Tunnel1
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/4] via 0.0.0.0, 00:08:57, Tunnel1
     4.0.0.0/32 is subnetted, 1 subnets
O       4.4.4.4 [110/3] via 0.0.0.0, 00:08:57, Tunnel1
O    192.168.24.0/24 [110/2] via 0.0.0.0, 00:08:57, Tunnel1
O    192.168.23.0/24 [110/4] via 0.0.0.0, 00:08:57, Tunnel1
O    192.168.34.0/24 [110/3] via 0.0.0.0, 00:08:57, Tunnel1

R1#traceroute 3.3.3.3

  1 192.168.14.4 [MPLS: Label 20 Exp 0] 32 msec 28 msec 20 msec
  2 192.168.24.2 24 msec 20 msec 16 msec
  3 192.168.24.4 [MPLS: Label 21 Exp 0] 56 msec 20 msec 60 msec
  4 192.168.34.3 40 msec *  44 msec




No comments:

Post a Comment