!
interface lo
 ip address 172.16.255.1/32
!
interface r1-eth0
 ip address 192.168.1.1/24
!
interface r1-eth1
 ip address 192.168.2.1/24
!
ip route 10.10.10.10/32 192.168.2.2
!
router bgp 65001
 no bgp ebgp-requires-policy
 neighbor 192.168.1.2 remote-as external
 neighbor 192.168.1.2 timers 1 3
 neighbor 192.168.1.2 timers connect 1
 neighbor 192.168.2.2 remote-as external
 neighbor 192.168.2.2 timers 1 3
 neighbor 192.168.2.2 timers connect 1
 address-family ipv4
  redistribute connected
  redistribute static
  neighbor 192.168.1.2 route-map r2 out
  neighbor 192.168.2.2 route-map r3 out
 exit-address-family
!
route-map r2 permit 10
 match source-protocol static
route-map r3 permit 10
 match source-protocol connected
!
