On 07/09/2009 08:26 AM, Ben Greear wrote:
> Bruce Simpson wrote:
>> Ben Greear wrote:
>>> Looks like I need to figure out how to do this HNA thing then.  It
>>> doesn't do me so much good to talk
>>> to just routers...I really want to talk to systems connected to them,
>>> thus the need for somehow propagating
>>> subnet routes.
>> Redistributing routes, from another XORP protocol into OLSR, using
>> policies, will redistribute them as HNA routes.
> Any idea how to do this with normal subnet routes?   I don't even think
> Xorp creates these, though it can certainly
> read and display them.

This seems to work:

policy {
     policy-statement static-to-olsr {
         term export {
             from {
                 protocol: "static"
             }
             then {
                 metric: 0
             }
         }
     }

     policy-statement connected-to-olsr {
         term export {
             from {
                 protocol: "connected"
             }
             then {
                 metric: 0
             }
         }
     }
}

     olsr4 {
         /* Redistribute static routes */
         export: "static-to-olsr,connected-to-olsr"
         main-address: 10.2.2.2
...

Thanks!
Ben


>
> Thanks,
> Ben
>
>> cheerss
>> BMS
>
>


-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to