[Coral-dev] Incorrect masklen.

Sharad Chandra sharadc at in.niksun.com
Fri Feb 4 22:42:30 PST 2011


Hi Coral,

It is my first mail in this mailing group, and hoping this is right place to 
ask. I have a question.

I installed coral-3.8.6 and noticed incorrect masklen in generated file 
from "parse_bgp_dump -g".

<skip>
12.120.214.0    24      17224
12.127.255.255  3212    7018    <<<-----------------here
12.128.0.0      9       7018
<skip>

I tried to debug the script and figure out that It is happening because of 
separator missing between "Network" and "Next Hop" in database 
http://archive.routeviews.org/oix-route-views/2011.02/oix-full-snapshot-latest.dat.bz2 

Note in 2nd row, below

*  12.120.214.0/24  95.140.80.254            0      0      0 31500 3549 7018 
17224 i
*  12.127.255.255/3212.0.1.63                0      0      0 7018 i  <----here
*  12.128.0.0/9     62.72.136.2              0      0      0 5413 1299 7018 i

and hence subroutine ParseBGPDump::parse_table_line is not able to 
successfully extract masklen.

Is there any work around to this problem?

Thanks,
Sharad Chandra



More information about the Coral-dev mailing list