openbmp icon indicating copy to clipboard operation
openbmp copied to clipboard

Installation Problem

Open dudster83 opened this issue 7 years ago • 3 comments

Hi first, i'd like to apologize for a beginner questions. I'm trying to implement openbmp on our network. I'd installed a container for the UI and for the AIO. i'm trying to establish a connection with one of our IOS-XE routers. after configuration of the the bmp in the router, i can see in the db that select * from collectors; and from routers; shows the remote router. but no prefixes are learned. the remote router hold a full bgp table. I'm sure i'm missing something in the installation, can anyone assist please?

David

dudster83 avatar Jun 05 '17 13:06 dudster83

Did you resolve the issue? Since the router was in the db, the likely issue was related to missing activate under the neighbor config.

TimEvens avatar Jun 12 '17 14:06 TimEvens

Hi Tim, Thanks for the follow up. Yes, I had resolved this issue. but I still have some issues regarding some of the screen outputs. It's impossible to update the geo ip database, On AS View, i get no available data, the looking glass is stuck on certain prefix and all the analysis screen gets no data available. any ideas? I'm monitoring 8 peers to the bmp collector, so there's data on the database

dudster83 avatar Jun 13 '17 10:06 dudster83

Updating the geo-coding via the UI is a bit difficult. We normally update it directly. Attached geo-code-data.txt can be used with the below AWK command to generate REPLACE SQL queries to update the db. You can then cut/paste them into mysql console/shell. You can get longitude/latitude data from maps.google.com or http://www.geoplaner.com/.

awk -F ',' '{ 
      if (index($1,"."))
         addr_type = "ipv4";
      else
         addr_type = "ipv6";

      if ($0 !~ /[:space]*#.*/ && length($1) > 0)
        printf("REPLACE INTO geo_ip (addr_type,ip_start,ip_end,city,stateprov,country, \
                    latitude,longitude,organization_name,isp_name,timezone_offset,timezone_name) \
                values (\"%s\",inet6_aton(\"%s\"),inet6_aton(\"%s\"),\"%s\",\"%s\",\"%s\",%f,%f,\"%s\",\"%s\",\"%d\", \"%s\");\n",
            addr_type, $1, $2, $3, $4, $5, $6, $7, $8, $9,$10,gsub(/\n/, "", $11));
  }' geo-code-data.txt

Regarding AS View; do you have full internet peering data? That view is relative to your data set, so if you don't have internet peering data it won't display anything. You can either add BMP feeds from your internet peers, or you can use the mrt2bmp program to load routeviews and/or ripe internet data. If you aren't using the AIO container or mysql, then the whois data isn't loaded. Are you using either AIO or MySQL container? If not, you'll need to load the whois data.

Regarding the looking glass. That's a UI issue that we should have fixed very soon.

TimEvens avatar Jun 16 '17 23:06 TimEvens