!
interface lo
 ip address 10.10.10.10/32
!
interface r2-eth0
 ip address 192.168.179.5/24
exit
!
interface r2-eth1
 ip address 192.168.2.2/24
exit
!
router bgp 65002
!
router bgp 65002 vrf CUSTOMER-A
 bgp router-id 192.168.179.5
 no bgp ebgp-requires-policy
 no bgp network import-check
 neighbor 192.168.179.4 remote-as external
!
 address-family ipv4 unicast
  neighbor 192.168.179.4 next-hop-self
  neighbor 192.168.179.4 route-map r1 out
  label vpn export auto
  rd vpn export 100:1
  rt vpn import 100:1 100:2
  export vpn
  import vpn
 exit-address-family
!
router bgp 65002 vrf CUSTOMER-B
 bgp router-id 192.168.0.2
 no bgp ebgp-requires-policy
 no bgp network import-check
!
 address-family ipv4 unicast
  redistribute connected
  network 10.10.10.10/32
  label vpn export auto
  rd vpn export 100:2
  rt vpn both 100:2
  export vpn
  import vpn
 exit-address-family
!
route-map r1 permit 10
 set as-path prepend 65001
!
