cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9106
Views
4
Helpful
8
Replies

How do I inject a static default route into vrf

Could anybody give me any advise on injecting a static default route into vrf.

The static route is to the internet, I can't enable vrf forwading on the fa interface as other users also use this internet connection.

I am configuring a 7206 VXR 12.3(26) and have attached a copy of the config

Any help gratefully received

1 Accepted Solution

Accepted Solutions

mlund
Level 7
Level 7

Hi

I think you have to specify the route as this

ip route vrf delegate_wireless fa0/0 0.0.0.0 0.0.0.0 194.154.168.1 global

it tells the router to to use a next hop that is not part of the vrf.

Also, don't forget that the return traffic has to be routed out to the vrf.

Something like this.

ip route a.b.c.d tu1 10.252.254.2

/Mikael

View solution in original post

8 Replies 8

m-bosch
Level 1
Level 1

You have the correct syntax ie “ip route vrf (vrf name) 0.0.0.0 0.0.0.0 (internet router / address)”

I don't suppose you running any sort of dynamic routing?

Hi

We're not running on dynamic routing on this particular router.

The static route I've configured doesn't show up in the vrf routing table, do you think its because I don't have VRF forwarding enabled on the internet fa interface (which I can't do as other non vrf networks use this aswell)

Thanks for your help

What does "sh ip route vrf (vrf name)" show?

Does you internet router participate in the same vrf?

Hi

Sh ip route vrf (vrf name) just shows the eigrp routes, the vrf static route is not visible

The internet router doesn't participate in any vrf. I'm trying to get the traffic to 'leave' the vrf and route it to the internet.

Thanks for your help

mlund
Level 7
Level 7

Hi

I think you have to specify the route as this

ip route vrf delegate_wireless fa0/0 0.0.0.0 0.0.0.0 194.154.168.1 global

it tells the router to to use a next hop that is not part of the vrf.

Also, don't forget that the return traffic has to be routed out to the vrf.

Something like this.

ip route a.b.c.d tu1 10.252.254.2

/Mikael

Mikael, must say i did not even think of the tunnel ;o)

I would have just setup bgp between the 2 with "default-originate" on the internet router.

HI

what mean of tu1 in the vrf

ip route a.b.c.d tu1 10.252.254.2

e.g

interface gi1/0.100

ip vrf forwarding access-to-internet

ip add 10.252.254.2 255.255.255.252

how can i set a static route in this case for the traffic which is return from the internet?

thanks!

Hi Mikael

Thank you so much much for your help, your suggestion worked a treat!

Kind regards

Anne-marie

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: