[ixpmanager] FW: Bird's Eye looking glass setup

Diarmuid O Briain diarmuid at obriain.com
Tue Mar 13 16:01:25 GMT 2018


Muyiya,

Roger that. If you go into the database on IXP Manager check API is
matching that on the router host. In my case it is: api:
http://rs1-lan1-ipv4.netlabsug.tst/api and api:
http://rs1-lan1-ipv6.netlabsug.tst/api. From what you say you should only
have one router entry in the database.

regards,

Diarmuid

mysql> select * from routers\G;
*************************** 1. row ***************************
          id: 1
     vlan_id: 1
      handle: rs1-lan1-ipv4
    protocol: 4
        type: 1
        name: RS1-LAN1-IPv4
   shortname: RS1-LAN1-IPv4
   router_id: 199.9.9.1
  peering_ip: 199.9.9.1
         asn: 5999
    software: 1
   mgmt_host: 192.168.92.202
         api: http://rs1-lan1-ipv4.netlabsug.tst/api
    api_type: 1
   lg_access: 1
  quarantine: 0
      bgp_lc: 0
    template: api/v4/router/server/bird/standard
    skip_md5: 1
last_updated: 2018-02-12 16:21:02
*************************** 2. row ***************************
          id: 2
     vlan_id: 1
      handle: rs1-lan1-ipv6
    protocol: 6
        type: 1
        name: RS1-LAN1-IPv6
   shortname: RS1-LAN1-IPv6
   router_id: 199.9.9.1
  peering_ip: 2a99:9:9::1
         asn: 5999
    software: 1
   mgmt_host: 2a92:168:92::202
         api: http://rs1-lan1-ipv6.netlabsug.tst/api
    api_type: 1
   lg_access: 1
  quarantine: 0
      bgp_lc: 0
    template: api/v4/router/server/bird/standard
    skip_md5: 1
last_updated: 2018-02-12 16:21:02

--

*Irish by birth, located in Uganda but Munster by the grace of God.*



On 13 March 2018 at 18:41, <m.daada at ixp.net.ng> wrote:

> Hello,
>
>
>
> The Linux machine is running a single version of Bird so DNS settings are
> not needed according to the IXP Manager documentation.
>
>
>
> Muyiwa (IXPN)
>
>
>
> *From:* ixpmanager [mailto:ixpmanager-bounces at inex.ie] *On Behalf Of *Diarmuid
> O Briain
> *Sent:* 13 March 2018 16:21
> *To:* INEX IXP Manager Mailing List <ixpmanager at inex.ie>
> *Subject:* Re: [ixpmanager] FW: Bird's Eye looking glass setup
>
>
>
> Hi,
>
>
>
> Did you do the DNS part. Basically the lighttpd webserver strips the
> hostname from the URL and directs the http request based on it. You need
> CNAMEs like these in your DNS.
>
>
>
> rs1-lan1-ipv4 IN CNAME rs1.<domain>.
>
> rs1-lan1-ipv6 IN CNAME rs1.<domain>.
>
>
>
> regards,
>
>
>
> Diarmuid
>
>
> --
>
>
>
> *Irish by birth,** located in Uganda** but Munster by the grace of God.*
>
>
>
>
>
>
>
> On 13 March 2018 at 15:10, <m.daada at ixp.net.ng> wrote:
>
> Hello guys,
>
>
>
> I have installed bird’s eye on a route server and can reach the API using
> http://192.168.10.141 and http://192.168.10.141/api/status but when I try
> to access the API’s looking glass I get the error below
>
>
>
>
>
> ubuntu# curl -v http://192.168.10.141/lg
>
> *   Trying 192.168.10.141...
>
> * Connected to 192.168.10.141 (192.168.10.141) port 80 (#0)
>
> > GET /lg HTTP/1.1
>
> > Host: 192.168.10.141
>
> > User-Agent: curl/7.47.0
>
> > Accept: */*
>
> >
>
> < HTTP/1.1 302 Found
>
> < Cache-Control: no-cache
>
> < Location: http://192.168.10.141/lg/protocols/bgp
>
> < Date: Tue, 13 Mar 2018 10:24:15 GMT
>
> < Content-type: text/html; charset=UTF-8
>
> < Transfer-Encoding: chunked
>
> < Server: lighttpd/1.4.35
>
> <
>
> <!DOCTYPE html>
>
> <html>
>
>     <head>
>
>         <meta charset="UTF-8" />
>
>         <meta http-equiv="refresh" content="1;url=http://192.168.
> 10.141/lg/protocols/bgp" />
>
>
>
>         <title>Redirecting to http://192.168.10.141/lg/
> protocols/bgp</title>
>
>     </head>
>
>     <body>
>
>         Redirecting to <a href="http://192.168.10.141/lg/protocols/bgp">
> http://192.168.10.141/lg/protocols/bgp</a>.
>
>     </body>
>
> * Connection #0 to host 192.168.10.141 left intact
>
>
>
> Please I need help.
>
>
>
> Best regards,
>
>
>
> DAADA Muyiwa
>
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> Virus-free. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180313/fd49c93e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6451 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20180313/fd49c93e/attachment-0001.png>


More information about the ixpmanager mailing list