Posts

Showing posts from June, 2013

BGP Looking Glass - Zebra || CentOS 6

Image
Using Zebra Routers with Looking Glass The syntax for the Zebra Router is provided with the configuration file. Adding devices is very simple- vim /var/www/html/lg/lg.conf <!-- Zebra Router Section --> <Router Name="Zebra-1 " OSType = "Zebra"> <Title>Zebra-1</Title> <URL>telnet://pass@IP:port </URL> <!--EXAMPLE <URL>telnet://login:123456@192.168.1.1:2601,2605</URL> --> </Router> Issues with Trace and Ping  I was not able to use Trace or Ping using Zebra router as the commands are not built in with Zebra. However, the BGP commands should work without any problems. Ping Using Zebra Trace Using Zebra  Hope this helps :)

Setting Up BGP Looking Glass - CentOS 6

Image
Setting Up Looking Glass  Background  A looking glass is a server that allows someone from outside the network to get information about the how traffic is routed through the network backbone of an organization. For example, suppose Alpha Corp. has one router in the US and another in Australia. An outside user wants to know how traffic towards Japan is routed from both of these Routers. As the user does not have credentials to the Routers, he cannot run traceroutes. The solution: a Looking Glass. If Alpha Corp. has a looking glass, the user can query about ping, trace, BGP and other information through the web-based looking glass without needing to authenticate to the actual router. Setting Up  Before we start please make sure SELinux is disabled. Also, iptables should allow the required ports, from the top of my head – 23, 2601, 2605, 80.  Phase 1: Working YUM Server  Make sure that your server has access to a good yum server, preferably repoforge. Information about how to a