How to Leak routes Between Global and VRF with PBR


Interface to Internet

interface Ethernet0/0
description Outside
ip vrf forwarding INTERNET
ip address

Interface Inside in the GRT (Global Routing Table)

interface Ethernet0/1
description Inside
ip address

Leaking default route to internet

ip route Ethernet0/0

NAT configuration

ip nat inside source list NAT interface Ethernet0/0 overload
access-list NAT permit

PBR configuration

ip prefix-list PREF seq 5 permit
route-map PBR permit 10
  match ip address 101
  set global
access-list 101 permit ip any

interface Ethernet0/0
 ip policy route-map PBR


Router#sh ip nat translations
Pro Inside global Inside local Outside local Outside global

Router#sh ip policy
Interface      Route map
Ethernet0/0    PBR

Router#sh route-map
route-map PBR, permit, sequence 10
  Match clauses:
    ip address (access-lists): 101
  Set clauses:
  Policy routing matches: 25 packets, 2850 bytes