Routing
Reply
Contributor
aeroplane
Posts: 724
Registered: ‎06-30-2009
0

Contributing routes of default generate route using routing policy

Hi Experts

 

One of my CE is connected to PE via VRF interface. I want to configure default generate route in the VPN instance in such a way that its nexthop should be the VRF interface IP of CE. I am running BGP b/w PE and CE.

 

I defined the default generate route in the VPN instance and create a one routing policy so that its contibuting route should be the subnet b/w PE and CE and associate that policy with the default generate route. But it is not working because I believe there is a condition that directly connected subnet of router cannot be the contributing route of default generate route.

 

Any help would be appreciated.

 

Thanks

Contributor
TRK-NKA
Posts: 191
Registered: ‎06-17-2008
0

Re: Contributing routes of default generate route using routing policy

Hi,

 

I hope u managed to solve this by yourself.

 

Could you list the routes how it looks and how it is configured ?

 

Perhaps the example of default route can be of use until I understand what exactly is the challenge for you.

-------------------------------

[edit routing-options]
user@R1# show
static {
route 0.0.0.0/0 {
next-hop 172.30.25.1;
qualified-next-hop 172.30.25.5 {
preference 7;
}
}
}

-----------------

 

Cheers


Best Regards

Tom Roholm
JNCIS-ENT, FWV, SEC, SA, WLAN
Recognized Expert
erdems
Posts: 191
Registered: ‎12-30-2008
0

Re: Contributing routes of default generate route using routing policy

 

Hey Aeroplane,

 

  I'm not sure I understand what you're trying to achive here. If you're going to have a default route inside the VRF with the contributing route of a PE <--> CE interface, why not have a static in the PE towards the CE?

 

Cheers,

____________________________________________
If you think your question's answered, please
mark the respective post as "Accepted Solution".

Kudos are an excellent way of showing appreciation, too.
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.