[j-nsp] bgp to ospf

Payam Chychi pchychi at gmail.com
Thu Jun 16 12:48:59 EDT 2011


Hey Richard,

Were you able to figure this out?

cheers
Payam

Joseph Soricelli wrote:
> What do you get from "show route f.j.h.i"?
>
> -joe
>
> Joseph Soricelli
> JNCIE #14/ CCIE #4803
> 703-980-3999
> joe at proteus.net <mailto:joe at proteus.net>
> Twitter - @proteusnetworks
>
>
>
> On Jun 13, 2011, at 6:44 PM, Richard Zheng wrote:
>
>>
>>
>> On Mon, Jun 13, 2011 at 7:50 AM, Payam Chychi <pchychi at gmail.com 
>> <mailto:pchychi at gmail.com>> wrote:
>>
>>     Hey Richard,
>>
>>     The then next-hop x.x.x.x should work as long as the next-hop is
>>     valid 'in the routing table'.
>>
>>     mind showing your config?
>>
>>     Thanks
>>     Payam
>>
>>
>> Customer router C sends route x.y.z.0/24 to router A. it connects 
>> with Router B with a /30 which is our IP block and part of OSPF. 
>> Router A and B talk OSPF. The issues seems to be redistribution from 
>> EBGP to OSPF can't set the forward address for external routes.
>>
>> On router A:
>>
>>     protocols {
>>       bgp {
>>         group cust-C {
>>         type external;
>>         multihop {
>>             ttl 3;
>>         }
>>         local-address a.b.c.d;
>>         import cust-C-in;
>>         export send-default-only;
>>         peer-as xxxxx;
>>         neighbor f.j.h.i {
>>             remove-private;
>>         }
>>       ospf {
>>         export bgp-to-ospf;
>>       }
>>     }
>>
>>     policy-options {
>>         policy-statement bgp-to-ospf {
>>             term hds {
>>                 from {
>>                     protocol bgp;
>>                     route-filter x.y.z.0/24 exact;
>>                 }
>>                 then accept;
>>             }
>>             term reject-others {
>>                 then reject;
>>             }
>>         }
>>         policy-statement cust-C-in {
>>         term set-attr {
>>             from {
>>                 protocol bgp;
>>                 route-filter x.y.z.0/24 exact;
>>             }
>>             then {
>>                 local-preference 200;
>>                 community add all;
>>                 accept;
>>             }
>>         }
>>         term reject-others {
>>             then reject;
>>         }
>>     }
>>
>>
>>
>



More information about the juniper-nsp mailing list