next up previous contents
Next: libsupersparrow Up: Implementation: Super Sparrow Previous: Implementation: Super Sparrow   Contents

Route Servers

To avoid the need for yet another BGP implementation, Super Sparrow accesses BGP information by querying route servers. A route server is a router, or host running a routing daemon, that may be queried for the preferred prefix for a IP address. The current implementation supports three different route servers: GNU Zebra[14] and GateD[17], routing daemons that run on a variety of platforms including Linux10, and Cisco IOS[4], the operating system that runs on Cisco routers and is synonymous with BGP and routing in general.

The current implementation uses telnet access to route servers to query the preferred prefix for an IP address. The telnet interface to route servers is generally intended for manual interaction with the route server but provides a reasonably fast and portable way of other programmes accessing the route server. A sample session with GNU Zebra to determine the preferred prefix for 192.168.193.15 from a route server running on 192.168.192.13 is given in figure 5.

The results shown in the figure indicate that there are two prefixes for the query made and that the second prefix listed is preferred. The AS path for the preferred prefix is 64702. It is the AS path of the preferred prefix that Super Sparrow uses to determine if a point of presence in the Super Sparrow network is closer to the address begin queried than the route server being queried as described in section 3.3.

Figure 5: Determining The Prefered Prefix Using GNU Zebra
\begin{figure}\small\begin{verbatim}$ telnet 192.168.192.13 bgpd
Trying 192.16...
...ne> exit
Connection closed by foreign host.\end{verbatim}\normalsize\end{figure}


next up previous contents
Next: libsupersparrow Up: Implementation: Super Sparrow Previous: Implementation: Super Sparrow   Contents
Horms 2001-11-08