[Xorp-users] help, about OSPF configuration

Jeff Mitchell jmitchell at ll.mit.edu
Tue Sep 7 13:35:39 PDT 2010


On 09/07/2010 01:55 PM, Jeff Mitchell wrote:
> On 05/27/2010 01:14 PM, Ben Greear wrote:
>> On 05/27/2010 08:01 AM, wubaochuan wrote:
>>> hello everyone,
>>> When I configure OSPF, I have the following problems.
>>>
>>> All the following four machine run Fedora 12, and the first one and the
>>> fourth one run as hosts, the second and
>>> the third run as routers.
>>
>> I think you just need to add a policy to export connected routes
>> to OSPF.  I'll post an example later today if you don't find something
>> sooner.
>
> I didn't see a reply to this and currently have the same trouble. I'd
> like to distribute my local (kernel) routes through OSPF. I managed to
> create an export policy that will distribute them one-hop ("blah" below)
> but I can't seem to get them distributed more than one hop away ("blah2"
> below was an attempt at that).
>
> In the following configs, this router is in the middle between two other
> routers; it correctly sees the locally-connected routes from both of the
> two end-routers, but the two end-routers do not see the routes to each
> others' locally connected routes.

After restarting xorp on all boxes, this now seems to be working fine 
with only the first bit ("blah") below. Not sure why it didn't work the 
first time, but sorry for the noise.

--Jeff

> policy {
>       policy-statement blah {
>           term blah {
>               from {
>                   protocol: "connected"
>               }
>               to {
>                   network4: 128.0.0.0/8
>               }
>               then {
>                   accept {
>                   }
>               }
>           }
>       }
> }



More information about the Xorp-users mailing list