HI
i`m trying to make OUTBOUND path selection for different subnets on the same router to 2 DIFFERENT ISP. I want to send outbound traffic from subnet 1 to IPS 1 and out subnet 2 to ISP 2 , this is my config :
router bgp 65300
network 192.168.0.0 mask 255.255.0.0
redistribute connected
neighbor 10.1.1.2 remote-as 1
neighbor 10.1.1.2 route-map 1 out >>>> to ISP 1
neighbor 10.1.2.2 remote-as 2
neighbor 10.1.2.2 route-map 2 out >>>> TO ISP 2!
!
!
!
ip prefix-list PRINCIPAL seq 10 permit 192.168.1.0/24
!
ip prefix-list RESPALDO seq 10 permit 192.168.9.0/24
!
route-map 1 permit 10
match ip address prefix-list PRINCIPAL
set local-preference 200
route-map 1 permit 20
route-map 2 permit 10
match ip address prefix-list RESPALDO
set local-preference 200
route-map 2 permit 20
This is not working please help. Is there a way to choose the outbound traffic with the as prepend ?
Thanks