I am stuck with bgp path preferance..There are 6 routers:--(R1,R2,R3,R4,R5,R6)
R1 connected to R2,R3 R2 connected to R1,R4 R3 connected to R1,R4,R5 R4 connected to R2,R3,R6
R3 to R5 is EBGP, R4 to R6 is EBGP and R1,R2,R3,R4 are all IBGP with IGP-OSPF running. R1 is the route-refelector and others are clients.the ospf routes are redistributed into BGP only in R3 and R4 and in other routers there are no redistribution.
the scenario i am trying is R1 should use the path R1-R2-R4-R6.
i have configured weight in R4 for the external routes and i have configured higher cost vlaue (ip ospf cost) in R1(interface pointing to R3) so that the routes with less metric can take over the desired path. but still the path i am getting is R1-R3-R5 which should not be the case.
can anyone help me on this issue..
thanks in advance..