[179104] in North American Network Operators' Group
Re: Generating IPv6 list with filtergen.level3.net
daemon@ATHENA.MIT.EDU (Courtney Smith)
Sat Mar 28 20:47:45 2015
X-Original-To: nanog@nanog.org
From: Courtney Smith <courtneysmith@comcast.net>
Date: Sat, 28 Mar 2015 20:45:46 -0400
In-Reply-To: <mailman.1.1427544001.30762.nanog@nanog.org>
To: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
On Mar 28, 2015, at 8:00 AM, nanog-request@nanog.org wrote:
>>=20
>>=20
>> Does anyone know if filtergen is going to support IPv6-length subnet
>> masks? Trying to use -le=3D128 returns an error. I can work around =
with
>> sed, but just curious if this tool is still being developed.
>=20
> May I recommend a different approach instead?
>=20
> Download and compile bgpq3:
>=20
> git clone https://github.com/snar/bgpq3.git && cd bgpq3 && =
./configure && make
>=20
> Run bgpq3:
>=20
> Vurt:~ job$ bgpq3 -6 -A -R 128 -l AS15562pfx AS15562
> no ipv6 prefix-list AS15562pfx
> ipv6 prefix-list AS15562pfx permit 2001:67c:208c::/48 le 128
> ipv6 prefix-list AS15562pfx permit 2001:67c:2980::/48 le 128
> ipv6 prefix-list AS15562pfx permit 2001:728:1808::/48 le 128
>=20
>> Also curious if the tool now supports IOS-XR RPL
>=20
> bgpq3 supports BIRD, IOS, XR, JunOS & JSON output. See bgpq3 -h for =
all
> options
>=20
> Kind regards,
>=20
> Job
There is a Perl module NET::IRR. That is what I switched to for IPv6 =
support after using IRRPT for a few years. IRRPT has been rewritten in =
Python but have not had time to play with. It includes IPv6 support. =
You probably have to modify it to output in XR's set format. That's =
what I did with the original IRRPT. =20
http://search.cpan.org/~tcaine/Net-IRR/lib/Net/IRR.pm
https://github.com/ktims/irrpt-ng
Courtney Smith
courtneysmith@comcast.net
I wanna devise a virus
To bring dire straits to your environment
Crush your corporations with a mild touch
Trash your whole computer system and revert you to papyrus