Routing diff report, Rancid for BGP
Just like many you, I use rancid to track changes in configurations of our routers and switches. This week BGPmon.net released a new feature called ‘routing report’, you can think of this as a Rancid for your BGP routing table. Every day BGPmon compares the announcements by your ASN with those of the day before. Any differences in announcements or reachability will be sent to you in an email.
I’ve been using this feature for a few weeks now and found it very useful.
The things it will report on is differences in announced prefixes, including a breakdown of which prefixes are reachable via which upstream / peer AS. This will help you detect if a prefix is no longer reachable via one or all peers or upstreams.
The routing report will also report on upstream and downstream ASns. At the end of this blog post you’ll find an example report. Please note that each report also contains a summary report of your AS, comparable to the cidr report.
This routing report feature can be enabled/disabled on a per AS basis in the ‘my ASn’ page.
Update January 12, 2010
The routing report feature is disabled by default. If you would like to use this feature you will need to enable it.
New Prefix alert (code60)
If you recently started to announce a new prefix, then you most likely received a BGPmon email with a New Prefix (code60) alert. These notifications are send out as soon as your AS starts to originate a new prefix.
This feature could only be enabled / disabled globally via the settings menu. If you’re using BGPmon.net for multiple ASns chances are that for some ASns you would like to have this feature enabled and for some disabled. As of this week this is possible and you should now be able to configure this on a per ASn basis.
Adding your AS to My ASn
All the ASns your are currently monitoring should have been added to ‘My ASn’ automatically. If you add a new prefix and ASn to my prefixes, remember to also add your AS to ‘My ASn’. Otherwise the ‘routing report’ and ‘New Prefix alert’ will not work, as your ASn needs to be added manually.
As always if you have any questions please leave a comment on this blog or send me an email.
From: BGPmon Alert < firstname.lastname@example.org > To: email@example.com Subject: BGPmon Routing report Date: Sun, 10 Jan 2010 02:53:27 +0100 (CET) Your routing table report for AS271 (BCNET-AS - BCnet) ================================== Changes: ==================================== RIB file used: RRC01 -- LINX, London RRC03 -- AMS-IX / NL-IX / GN-IX, Amsterdam RRC11 -- NYIIX, New York RRC12 -- DE-CIX, Frankfurt RRC13 -- MSK-IX, Moscow RRC15 -- PTTMetro, Sao Paulo ------ AS Adjacency report ------ New Downstream / Customer AS: + AS25689 (NRCNET-AS - National Research Council of Canada) ------ Prefixes report ------ Lost prefixes for AS271 - 22.214.171.124/24 (Sky Research Inc.) - 126.96.36.199/24 (UBC Commercial Client) ------ Prefixes reachable via peers report ------ + 188.8.131.52/24 via AS6939 (BCNET IPv6 awareness day) now reachable via HURRICANE - Hurricane Electric, Inc. + 2607:f8f0:690::/48 via AS6939 (No valid route object!) now reachable via HURRICANE - Hurricane Electric, Inc. - 184.108.40.206/24 via AS6509 (UBC Commercial Client) no longer reachable via CANARIE-NTN - Canarie Inc - 220.127.116.11/24 via AS6509 (Sky Research Inc.) no longer reachable via CANARIE-NTN - Canarie Inc - 18.104.22.168/24 via AS6939 (UBC Commercial Client) no longer reachable via HURRICANE - Hurricane Electric, Inc. - 22.214.171.124/24 via AS6939 (Sky Research Inc.) no longer reachable via HURRICANE - Hurricane Electric, Inc. ================ AS271 Summary report 01/09/10 23:59:58: ==================== Upstream Adjacent AS list: *AS852 ASN852 - Telus Advanced Communications) *AS6327 SHAW - Shaw Communications Inc.) *AS6509 CANARIE-NTN - Canarie Inc) *AS6939 HURRICANE - Hurricane Electric, Inc.) *AS13768 PEER1 - Peer 1 Network Inc.) Downstream Adjacent AS list: *AS3633 BC-SYSTEMS - Province of British Columbia) *AS11105 SFU-AS - Simon Fraser University) *AS16462 UVIC-AS - University of Victoria) *AS25689 NRCNET-AS - National Research Council of Canada) *AS25722 GATEWAY-OPERATIONS - Payment Processing Inc.) *AS32956 ZED-RADIO3 - Canadian Broadcasting Corporation) *AS36000 NHA-ASN1 - Northern Health Authority) *AS36391 TRIUMF - TRIUMF (Tri-University Meson Facility)) *AS25689 NRCNET-AS - National Research Council of Canada Announced IPv6 prefixes: *2607:f8f0:670::/48 (No valid route object!) *2607:f8f0:680::/48 (No valid route object!) *2607:f8f0:690::/48 (No valid route object!) *2607:f8f0::/32 (No valid route object!) Announced IPv4 prefixes: *126.96.36.199/16 (BCNet Class B network) *188.8.131.52/17 (BCNet network) *184.108.40.206/18 (UBC RESnet network) *220.127.116.11/18 (UBC wireless network) *18.104.22.168/24 (No valid route object!) *22.214.171.124/19 (No valid route object!) *126.96.36.199/19 (No valid route object!) *188.8.131.52/16 (BCNET-2) *184.108.40.206/24 (BCnet gigapop servers - News,DNS) *220.127.116.11/24 (BCNET IPv6 awareness day) *18.104.22.168/23 (BCNET conference 2009 (DUAL stack)) *22.214.171.124/24 (BCnet gigapop C3 interconnect links) *126.96.36.199/24 (UBC_TRU DR project) *188.8.131.52/24 (BC Genome Sequence Centre) *184.108.40.206/24 (BCnet gigapop C3 interconnect links) *220.127.116.11/16 (UBC) *18.104.22.168/16 (University of British Columbia (UBC1)) *22.214.171.124/16 (NET-UNBC) *126.96.36.199/16 (BCNET3) *188.8.131.52/24 (BCnet gigapop C3 interconnect links) *184.108.40.206/24 (BCNET VANTX interconnects) *220.127.116.11/24 (BCnet gigapop servers - News,IRR) *18.104.22.168/24 (BCnet gigapop servers - RealServer, Video Server) *22.214.171.124/24 (BCnet gigapop connections) *126.96.36.199/24 (No valid route object!) *188.8.131.52/24 (UBC MedSchool AV Network) *184.108.40.206/24 (BCIT Internet Engineering Lab) *220.127.116.11/24 (UBC MedSchool AV Network) *18.104.22.168/24 (UBC MedSchool AV Network) *22.214.171.124/19 (University of British Columbia (UBC) Okanagan) *126.96.36.199/16 (BCITNET2) *188.8.131.52/16 (TRIUMF) *184.108.40.206/24 (DPIC) *220.127.116.11/24 (Thompson Rivers University) *18.104.22.168/19 (Open Learning Agency) *22.214.171.124/24 (British Coulmbia Institute of Technology (NET-192-68-67-0-2)) *126.96.36.199/24 (British Coulmbia Institute of Technology (NET-192-68-68-0-1)) *188.8.131.52/24 (British Coulmbia Institute of Technology (NET-192-68-69-0-1)) *184.108.40.206/24 (British Columbia Institute of Technology (BCIT)) *220.127.116.11/24 (BCIT Internet Engineering Lab) *18.104.22.168/24 (University of British Columbia (CDNnet)) *22.214.171.124/22 (BCNET-AGG-13) *126.96.36.199/19 (University of British Columbia (UBC-CS)) *188.8.131.52/24 (Forintek) *184.108.40.206/24 (SPINNAKER) *220.127.116.11/24 (Emily Carr Institute of Art and Design) *18.104.22.168/24 (Emily Carr Institute of Art and Design) *22.214.171.124/23 (Emily Carr Institute of Art and Design) *126.96.36.199/24 (NETBLK-UNBC-DMZ) *188.8.131.52/16 (NETBLK-BR-COL-6) *184.108.40.206/24 (BCNET ORAN interconnect links) *220.127.116.11/24 (Great Northen Way Digital Arts) *18.104.22.168/22 (University of British Columbia (UBC) Vancouver BCWARN BC Amateur Radio Network) *22.214.171.124/24 (E-Learning Conference) *126.96.36.199/24 (UBC Commercial Clients) *188.8.131.52/24 (CANFOR) *184.108.40.206/24 (UBC Commercial Clients) *220.127.116.11/24 (UBC Commercial Clients Debian Project) *18.104.22.168/24 (No valid route object!) *22.214.171.124/22 (WestGrid project) *126.96.36.199/24 (WestGrid) *188.8.131.52/24 (UBC Commercial) *184.108.40.206/22 (UBC eduroam wireless) *220.127.116.11/24 (WestGrid project inter-router links) *18.104.22.168/19 (Thompson Rivers University) *22.214.171.124/16 (BCNET (Non-portable address space)) *126.96.36.199/18 (University of British Columbia (UBC) Okanagan) *188.8.131.52/19 (University of British Columbia (UBC) Vancouver wireless) *184.108.40.206/19 (University of British Columbia (UBC) Vancouver wireless) *220.127.116.11/16 (BR-COL-8) *18.104.22.168/19 (BC Childrens and Womens Hospital) *22.214.171.124/24 (BCnet gigapop interconnects (BCNET-4)) *126.96.36.199/24 (BCNET VICTX interconnects) *188.8.131.52/24 (BCNET PGTX interconnects) *184.108.40.206/24 (BC Research - UBC Commercial Client) *220.127.116.11/24 (UBC Commercial Client) *18.104.22.168/24 (UBC Commercial Client) *22.214.171.124/24 (BCNET KELTX interconnects) *126.96.36.199/24 (BCNET KAMTX interconnects) *188.8.131.52/24 (UBC Research Enterprises Inc.) *184.108.40.206/21 (University College of the Cariboo) *220.127.116.11/24 (BCnet gigapop C3 interconnect links) *18.104.22.168/24 (BCnet gigapop C3 interconnect links) *22.214.171.124/20 (Royal Roads University (RRU)) *126.96.36.199/18 (BCNET-5) *188.8.131.52/24 (Prince George Public Library) *184.108.40.206/22 (Farleigh Dickinson University Vancouver campus) * The upstream / downstream categorisation in this report is strictly a description relative topology, and should not be confused with provider / customer / peer inter-AS relationships.