10-13-2012 03:16 PM - edited 03-04-2019 05:50 PM
Hello!
I have a question about Local Preference.
As you can see at the picture below i have 2 routers connected via two fastethernet links. Both routers running BGP. R1 (AS 65100) and R2 (AS65000).
R1 got a loopback interface with the IP address 1.1.1.1 255.255.255.255
R2 got two loopback interfaces 2.2.2.2 255.255.255.255 and 3.3.3.3 255.255.255.255.
Let's say that i want the host 3.3.3.3 to go over fa0/1 to reach 1.1.1.1 and rest of the network to go through fa0/0. What can I do to make this possible?
I know how to set Local Preference on an interface... but then all networks will take that specific path.
route-map LP_FA0/1 permit 10
set local-preference 200
neighbor 192.168.2.1 route-map LP_FA0/1 in
Solved! Go to Solution.