<div dir="ltr">Muyiya,<div><br></div><div>Roger that. If you go into the database on IXP Manager check API <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">is matching that on the router host. In my case it is: <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">api: <a href="http://rs1-lan1-ipv4.netlabsug.tst/api">http://rs1-lan1-ipv4.netlabsug.tst/api</a><span> and <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">api: <a href="http://rs1-lan1-ipv6.netlabsug.tst/api">http://rs1-lan1-ipv6.netlabsug.tst/api</a>. From what you say you should only have one router entry in the database.</span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">regards,</span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Diarmuid</span></span></span></span></div><div><br></div><div><div>mysql> select * from routers\G;</div><div>*************************** 1. row ***************************</div><div>          id: 1</div><div>     vlan_id: 1</div><div>      handle: rs1-lan1-ipv4</div><div>    protocol: 4</div><div>        type: 1</div><div>        name: RS1-LAN1-IPv4</div><div>   shortname: RS1-LAN1-IPv4</div><div>   router_id: 199.9.9.1</div><div>  peering_ip: 199.9.9.1</div><div>         asn: 5999</div><div>    software: 1</div><div>   mgmt_host: 192.168.92.202</div><div>         api: <a href="http://rs1-lan1-ipv4.netlabsug.tst/api">http://rs1-lan1-ipv4.netlabsug.tst/api</a></div><div>    api_type: 1</div><div>   lg_access: 1</div><div>  quarantine: 0</div><div>      bgp_lc: 0</div><div>    template: api/v4/router/server/bird/standard</div><div>    skip_md5: 1</div><div>last_updated: 2018-02-12 16:21:02</div><div>*************************** 2. row ***************************</div><div>          id: 2</div><div>     vlan_id: 1</div><div>      handle: rs1-lan1-ipv6</div><div>    protocol: 6</div><div>        type: 1</div><div>        name: RS1-LAN1-IPv6</div><div>   shortname: RS1-LAN1-IPv6</div><div>   router_id: 199.9.9.1</div><div>  peering_ip: 2a99:9:9::1</div><div>         asn: 5999</div><div>    software: 1</div><div>   mgmt_host: 2a92:168:92::202</div><div>         api: <a href="http://rs1-lan1-ipv6.netlabsug.tst/api">http://rs1-lan1-ipv6.netlabsug.tst/api</a></div><div>    api_type: 1</div><div>   lg_access: 1</div><div>  quarantine: 0</div><div>      bgp_lc: 0</div><div>    template: api/v4/router/server/bird/standard</div><div>    skip_md5: 1</div><div>last_updated: 2018-02-12 16:21:02</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">--</div><div dir="ltr"><br><div><b style="font-size:small"><i><font color="#38761d">Irish by birth,</font><font color="#ff9900"> located in Uganda</font> but <font color="#cc0000">Munster by the grace of God.</font></i></b><br></div><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 13 March 2018 at 18:41,  <span dir="ltr"><<a href="mailto:m.daada@ixp.net.ng" target="_blank">m.daada@ixp.net.ng</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div class="m_5325198892780833869WordSection1"><p class="MsoNormal"><span>Hello,<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>The Linux machine is running a single version of Bird so DNS settings are not needed according to the IXP Manager documentation.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Muyiwa (IXPN)<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> ixpmanager [mailto:<a href="mailto:ixpmanager-bounces@inex.ie" target="_blank">ixpmanager-bounces@<wbr>inex.ie</a>] <b>On Behalf Of </b>Diarmuid O Briain<br><b>Sent:</b> 13 March 2018 16:21<br><b>To:</b> INEX IXP Manager Mailing List <<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a>><br><b>Subject:</b> Re: [ixpmanager] FW: Bird's Eye looking glass setup<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><pre style="margin-left:35.45pt;line-height:115%"><span style="color:black">rs1-lan1-ipv4 IN CNAME rs1.<domain>.<u></u><u></u></span></pre><pre style="margin-left:35.45pt;line-height:115%"><span style="color:black">rs1-lan1-ipv6 IN CNAME rs1.<domain>.</span><u></u><u></u></pre><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">regards,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Diarmuid<u></u><u></u></p></div></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><div><div><div><div><div><div><div><div><p class="MsoNormal">--<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><b><i><span style="font-size:12.0pt;color:#38761d">Irish by birth,</span></i></b><b><i><span style="font-size:12.0pt;color:#ff9900"> located in Uganda</span></i></b><b><i><span style="font-size:12.0pt"> but <span style="color:#cc0000">Munster by the grace of God.</span></span></i></b><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On 13 March 2018 at 15:10, <<a href="mailto:m.daada@ixp.net.ng" target="_blank">m.daada@ixp.net.ng</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hello guys,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I have installed bird’s eye on a route server and can reach the API using <a href="http://192.168.10.141" target="_blank">http://192.168.10.141</a> and <a href="http://192.168.10.141/api/status" target="_blank">http://192.168.10.141/api/<wbr>status</a> but when I try to access the API’s looking glass I get the error below<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><img border="0" width="457" height="94" style="width:4.7604in;height:.9791in" id="m_5325198892780833869m_1574685912450624626Picture_x0020_1" src="cid:image001.png@01D3BAEA.28B99180"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">ubuntu# curl -v <a href="http://192.168.10.141/lg" target="_blank">http://192.168.10.141/lg</a><u></u><u></u></p><p class="MsoNormal">*   Trying 192.168.10.141...<u></u><u></u></p><p class="MsoNormal">* Connected to 192.168.10.141 (192.168.10.141) port 80 (#0)<u></u><u></u></p><p class="MsoNormal">> GET /lg HTTP/1.1<u></u><u></u></p><p class="MsoNormal">> Host: 192.168.10.141<u></u><u></u></p><p class="MsoNormal">> User-Agent: curl/7.47.0<u></u><u></u></p><p class="MsoNormal">> Accept: */*<u></u><u></u></p><p class="MsoNormal">> <u></u><u></u></p><p class="MsoNormal">< HTTP/1.1 302 Found<u></u><u></u></p><p class="MsoNormal">< Cache-Control: no-cache<u></u><u></u></p><p class="MsoNormal">< Location: <a href="http://192.168.10.141/lg/protocols/bgp" target="_blank">http://192.168.10.141/lg/<wbr>protocols/bgp</a><u></u><u></u></p><p class="MsoNormal">< Date: Tue, 13 Mar 2018 10:24:15 GMT<u></u><u></u></p><p class="MsoNormal">< Content-type: text/html; charset=UTF-8<u></u><u></u></p><p class="MsoNormal">< Transfer-Encoding: chunked<u></u><u></u></p><p class="MsoNormal">< Server: lighttpd/1.4.35<u></u><u></u></p><p class="MsoNormal">< <u></u><u></u></p><p class="MsoNormal"><!DOCTYPE html><u></u><u></u></p><p class="MsoNormal"><html><u></u><u></u></p><p class="MsoNormal">    <head><u></u><u></u></p><p class="MsoNormal">        <meta charset="UTF-8" /><u></u><u></u></p><p class="MsoNormal">        <meta http-equiv="refresh" content="1;url=<a href="http://192.168.10.141/lg/protocols/bgp" target="_blank">http://192.168.<wbr>10.141/lg/protocols/bgp</a>" /><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">        <title>Redirecting to <a href="http://192.168.10.141/lg/protocols/bgp%3c/title" target="_blank">http://192.168.10.141/lg/<wbr>protocols/bgp</title</a>><u></u><u></u></p><p class="MsoNormal">    </head><u></u><u></u></p><p class="MsoNormal">    <body><u></u><u></u></p><p class="MsoNormal">        Redirecting to <a href="<a href="http://192.168.10.141/lg/protocols/bgp" target="_blank">http://192.168.10.141/<wbr>lg/protocols/bgp</a>"><a href="http://192.168.10.141/lg/protocols/bgp%3c/a" target="_blank">http://192.<wbr>168.10.141/lg/protocols/bgp</a</a><wbr>>.<u></u><u></u></p><p class="MsoNormal">    </body><u></u><u></u></p><p class="MsoNormal">* Connection #0 to host 192.168.10.141 left intact<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Please I need help.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Best regards,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">DAADA Muyiwa<u></u><u></u></p></div><div id="m_5325198892780833869m_1574685912450624626DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><p class="MsoNormal"><u></u> <u></u></p><table class="m_5325198892780833869MsoNormalTable" border="1" cellpadding="0" style="border:none;border-top:solid #d3d4de 1.0pt"><tbody><tr><td width="55" style="width:41.25pt;border:none;padding:9.75pt .75pt .75pt .75pt"><p class="MsoNormal"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style="text-decoration:none"><img border="0" width="46" height="29" style="width:.4791in;height:.302in" id="m_5325198892780833869_x0000_i1026" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"></span></a><u></u><u></u></p></td><td width="470" style="width:352.5pt;border:none;padding:9.0pt .75pt .75pt .75pt"><p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424e">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style="color:#4453ea">www.avg.com</span></a> <u></u><u></u></span></p></td></tr></tbody></table></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>INEX IXP Manager mailing list<br><a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br><a href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank">https://www.inex.ie/mailman/<wbr>listinfo/ixpmanager</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><br>______________________________<wbr>_________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/<wbr>listinfo/ixpmanager</a><br>
<br></blockquote></div><br></div>