My Question is related about OSPF router ID.
We were trying a scenerio on OSPF. We have configured OSPF on router without loopback interface. By default OSPF was taking router's highest IP address as router ID. Then we have configured a loopback interface "Loopback 0" on router with IP address 188.8.131.52/32 .
After which OSPF router ID change to 184.108.40.206 (i.e Loopback interface ID). then again we have configured a another Loopback interface on same router "Loopback 1" with IP address 220.127.116.11/32. But this time the router ID remain unchanged i.e it was 18.104.22.168 only. But as we know the Highest IP address of router should be router ID(in case if loopback interface is not created).
But if we having two loopback address (or more) then also the Highest IP address out all loopback should be the Router ID. but in our case 22.214.171.124 is still showing as router ID even after presence of Higher loopback Address 126.96.36.199...Why it is like this. Kindly clear.
Another Question :-
We have a server say with IP 10.7.1.5 placed at Branch-A.
Reachability to that server from our LAN of other branch (Branch-B) on BGP Path. BGP is configured on the L3 Switch in Branch-B and connection between this L3 Switch and Branch-B router(Router-1) is on OSPF protocol.
From one more our another branch (Branch-C). we don’t have the reachability to the server placed at Branch-A and we have OSPF running from Branch-B(Router-1) to Branch-C(Router-2).
When adding a static route for /32 of the destination on Branch-C router (router-2) . the packet is getting looped between Branch-A router (router-1) and L3 switch. But it is working when we add /24 i.e. whole network …Branch-A server reachable properly.
Kindly clear the cause for this….