Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10744

Internet Access to MPLS VRF

$
0
0

Hello All,

I have a PE router that I have a VRF configured with OSPF to a router CE router. The PE router uses gig1/0.150 to reach the CE router. This PE router also has a conenction via gig0/0 to an ISP. I am trying to allow the vrf internet access. I am not sure how I should be doing this. I have tried using:

 

ip route vrf PE1toMod1 0.0.0.0 0.0.0.0 gig0/0  <--this produces the following:

 

% For VPN or topology routes, must specify a next hop IP address if not a point-to-point interface

 

PE config:

ip vrf PE1toMod1

 rd 1:100

 route-target export 5:500

 route-target import 5:500

!
interface GigabitEthernet1/0.150
 encapsulation dot1Q 150
 ip vrf forwarding PE1toMod1
 ip address 192.168.11.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 ip ospf 2 area 0
!
router ospf 2 vrf PE1toMod1
 redistribute connected subnets
 redistribute static subnets
 network 172.16.1.1 0.0.0.0 area 0
 network 172.16.7.7 0.0.0.0 area 0
 network 192.168.11.0 0.0.0.0 area 0
 default-information originate always
This is in a home lab and I was just trying to see if I can get this to work. ANy ideas on how to proceed? Thanks.

Viewing all articles
Browse latest Browse all 10744

Trending Articles