[Xorp-hackers] help

Igor Maravić igorm at etf.rs
Wed Aug 8 01:11:59 PDT 2012


I've just sent the patch to the list. I've tested it with 200 entries
and it works fine :)
Please test it.
BR
Igor

2012/8/6 Ben Greear <greearb at candelatech.com>:
> On 08/06/2012 07:16 AM, Leonid Shigris wrote:
>> Hi,
>>
>> I'm using xorp 1.8.6-wip.
>>
>> My problem is,
>>
>> When I try set over 100 static routes :
>> #set protocols static route 120.0.1.0/24 <http://120.0.1.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.2.0/24 <http://120.0.2.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.3.0/24 <http://120.0.3.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.4.0/24 <http://120.0.4.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.5.0/24 <http://120.0.5.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.6.0/24 <http://120.0.6.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.7.0/24 <http://120.0.7.0/24> next-hop 170.105.1.1
>> #set protocols static route 120.0.8.0/24 <http://120.0.8.0/24> next-hop 170.105.1.1
>> etc...
>> up to 100 routes
>>
>> #commit
>> I get an error:
>> parse error [line 375]: memory exhausted; last symbol parsed was "metric"
>>
>> If I set less then 90 static routes, works is fine.
>>
>> So, Could You please explain, where the problem can be?
>> Is it related to bison parser?
>
> Maybe so.  I'm traveling until Wednesday.  I'll take a look at it when I'm
> back unless someone gets it fixed first.
>
> Thanks,
> Ben
>
>>
>> Best Regards,
>> Leon.
>> mail: leonshg at gmail.com <mailto:leonshg at gmail.com>
>>
>>
>> _______________________________________________
>> Xorp-hackers mailing list
>> Xorp-hackers at icir.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>>
>
>
> --
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
>
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers



More information about the Xorp-hackers mailing list