peeringmatcher icon indicating copy to clipboard operation
peeringmatcher copied to clipboard

A command-line tool to quickly discover what IXPs certain ASNs have in common according to PeeringDB

Peeringmatcher

NOTICE: PeerFinder superseded this tool

This tool has been superseded by https://github.com/rucarrol/PeerFinder

OLD README:

Example

    alice:peering job$ ./peeringmatcher.py
    Peering Matcher 0.1
    usage: peeringmatcher.py ASN1 [ ASN2 ] [ ASN3 ] [ etc.. ]
        example: ./peeringmatcher.py 5580 16509
        In case a single ASN is given as an argument, the program will match
        against the default_asn in the code.
        Written by Job Snijders <[email protected]>
        Many thanks to http://peeringdb.net
    alice:peering job$

Check what IXPs AS5580 and AS8954 have in common:

    Alice:peering job$ ./peeringmatcher.py 5580 8954
    Common IXPs according to PeeringDB.net - time of generation: 2012-10-17 10:01:39
    +--------+-------------------------+-----------------------------+
    |  IXP   |  AS8954 - InTouch N.V.  | AS5580 - Atrato IP Networks |
    +--------+-------------------------+-----------------------------+
    | AMS-IX |      195.69.144.93      |        195.69.144.229       |
    |        | 2001:7f8:1::a500:8954:1 |        195.69.145.229       |
    |        |                         |   2001:7f8:1::a500:5580:1   |
    |        |                         |   2001:7f8:1::a500:5580:2   |
    +--------+-------------------------+-----------------------------+
    Alice:peering job$