-
Notifications
You must be signed in to change notification settings - Fork 50
Description
I have ran into an issue, with specifing data sources.
I know that AS-FIBERBY is registered in RIPE, and have put RIPE::AS-FIBERBY[1] in PeeringDB.
I use bgpq3 -4 -S RIPE AS-FIBERBY since I know the source.
However AS42541 is occasionally announcing 23.128.24.0/24 (originated by AS12654 aka. RIPE RIS).
Since AS-RIS is a member of AS-FIBERBY, and both are in RIPE, I use AS-RIS from now on.
$ bgpq3 -4 -S RIPE AS-RIS | grep 23.128.24.0/24
$ bgpq3 -4 -S RIPE,ARIN AS-RIS | grep 23.128.24.0/24
ip prefix-list NN permit 23.128.24.0/24
It turns out that the issue is that 23.128.24.0/24 is registered in ARIN, and hence doesn't satisfy the source argument. I would like to be able to control the source of the requested object, while allowing more sources to be used for expanding it.
I have few suggestions to improve the situation:
- Would it be possible to add source to the prefixes in the JSON format:
$ bgpq3 -4 -j -S RIPE,ARIN AS-RIS | grep 23.128.24.0
{ "prefix": "23.128.24.0\/24", "exact": true, "source": "ARIN" },
- Be able to specify a specific source for the request objects, while using
-Sfor the expansion, eg. using the wide-spread PeeringDB syntax:bgpq3 -4 -S RIPE,ARIN RIPE::AS-FIBERBY. - With the combination of above, I can control the source of requested object, and see which sources different
routeobjects came from, but I can't see which sources intermediateas-setandaut-numcame from, so maybe add a new tree-like JSON format.
I can produce patches, if any of these ideas sounds interesting.
[1] If anyone knows the origin of the IRR::OBJECT syntax, please tell.