[ixpmanager] No prefix show in every customer

Nick Hilliard (INEX) nick at inex.ie
Fri Dec 7 21:40:59 GMT 2018


Hi Nizar,

This is messy to set up because the code dates from a very early 
internal version of ixp manager which INEX used.  There is almost no 
error checking and very little debugging information available, so 
diagnosing problems is difficult.

The first thing you need to do is to edit the 
compare-route-server-prefixes.pl script and search for "XXX".  There are 
a couple of variables you need to set on lines 101/102:

         # XXX-SET-ME
         my $conffile = 
"/usr/local/etc/bird/bird-rs2-lan1-ipv".$protocol.".conf";
         my $sockfile = "/var/run/bird/bird-rs2-lan1-ipv".$protocol.".ctl";

Can you make sure that these paths are correct first?

Also, can you confirm that you are using an unmodified version of the 
bird route server template?

Nick
> Mokhamad Nizar Z <mailto:zayzitations at gmail.com>
> 6 December 2018 at 03:22
> Hello, i had to run "compare-route-server-prefixes.pl 
> <http://compare-route-server-prefixes.plhttps//github.com/inex/IXP-Manager/blob/master/tools/runtime/route-servers/compare-route-server-prefixes.pl>" 
> and it show nothing on my console (i think it worked, because no error 
> message at all). But when i check it on table rs_prefixes on database, 
> it show nothing. I doing that because, on the perl script i told 
> above, it should be add/insert data into rs_prefixes tables. And this 
> is my ixpmanager.conf configuration, set correctly with the database 
> information
>
> <sql>
> dbase_type      = mysql
>         dbase_database  = ixp
>       dbase_username  = root
>         dbase_password  = ***212***
>         dbase_hostname  = 10.14.19.68
>   #dbase_portname = /var/run/mysqld/mysqld.sock'
> </sql>
>
> <ixp>
>       rs_asn = 65001
>         rs_identity = 172.168.100.1
>       sflow_rrdcached =
>         sflowtool = /usr/local/bin/sflowtool
>         sflowtool_opts = -4 -p 5500 -l
>         sflow_rrddir =
>         sflowtool_bgp_opts = -4 -p 5501 -l
> #       debug = 1
>         apikey = AGT0uGSnz7rgwfEq0LCLnvVPe**********3J3GXQ2x11Qh
> apibaseurl = http://118.97.192.170/api/v4
> </ixp>
>
> Thanks, Your help much be appreciate
> -- 
> *_______________________
> *
> *Mokhamad Nizar Zulfikar <http://ijaynizar.blogspot.com/>
> *
> *Department of Computer Science, **/Indonesia University of Education./*
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: 
> https://www.inex.ie/mailman/listinfo/ixpmanager

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20181207/807203d1/attachment.html>


More information about the ixpmanager mailing list