|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Open Source Building Linux-Based Routers with Open Platforms
Leveraging Linux and best-of-breed software components
By: T. Sridhar
Jan. 8, 2006 03:45 PM
In the past few years, there has been significant interest in using open platforms for building communication devices. Linux and open source platforms are being used in various devices on the network - end systems such as mobile phones and client devices, and access and edge routers for forwarding data packets and server platforms.
Open Platforms for Communications
Router Implementation The chassis system ("big iron") consists of a chassis or a shelf on a rack with multiple hardware PCBs in a vertical or horizontal configuration. The most common architecture for chassis-based routers is the centralized architecture in which there is a central route processor and switch fabric (see Figure 1). The remainder of the system consists of line cards that provide the interfaces (ports) for the system connectivity. The line cards might contain their own CPUs running software or rely completely on the central route processor CPU. Depending on the architecture, the forwarding of packets between the ports on a single line card could be done on the line card or via the centralized switch fabric. Router products are often segmented by the market they address - the common ones being the enterprise and the service provider markets. The routers used in the latter are often called carrier grade routers, where the stability of the routing software is even more important due to the effect on the large number of end customers. Router Software Newer routers, especially carrier grade routers, are prone to using platforms with memory protection among processes. To fulfill this, these routers have required a major upgrade to the platforms on which the routers are built. In some cases, the router manufacturers have used open source operating systems such as Linux or NetBSD as the base platform. On carrier grade routers, the memory protection and isolation among processes provided by these platforms has another benefit - upgrades. Consider a routing process that has a bug that has been fixed in a newer release. Without affecting the forwarding or other processes, the older routing process can be shut down and restarted with a newer image. Plane Facts Building an open router with a standard platform such as Linux fits in very well with plane separation. The individual functions can be architected and designed in a modular fashion using well-defined interfaces between the constituents of the planes. For example, a routing protocol process like OSPF (Open Shortest Path First) can be implemented as a Linux process while the IP forwarding function can be present in the kernel. The tables that the kernel uses for forwarding can be configured by the OSPF process. Similarly, you could have an HTTP server process along with an SNMP process for management functionality (see Figure 3). Standards Standardization of components does not just involve protocols. It can incorporate APIs and middleware functionality too. For example, the Service Availability Forum (SAF) has specified two sets of APIs - the Hardware Platform Interface (HPI) and the Application Interface Specification (AIS) - that need to be provided in the middleware functionality on a highly available system. Similarly, the Network Processing Forum (NPF) has specified APIs for IPv4 and IPv6 forwarding, IPSec, and so on. It's easier to mix and match components from different sources if they conform to these standards-based APIs. Embrace and Extend Consider the hypothetical example of an equipment vendor that desires to build a carrier grade chassis router from scratch. For the software, the vendor can use Carrier Grade Linux (CGL) from multiple vendors such as MontaVista and SuSE. The routing protocols could come from multiple third-party protocol stack vendors such as Data Connection, FutureSoft, IP Infusion, and NextHop. The management protocol stacks could be licensed from vendors like SNMP Research or Adventnet. The Carrier Grade Middleware (compliant to the Service Availability Forum specifications) and infrastructure platform software can originate from companies such as Clovis or GoAhead software. Secure Management can be implemented from open source using OpenSSH and OpenSSL. The key takeaway from this example is the use of "best-of-breed" components so that you can build a more powerful and open router platform with multiple constituents that have been well tested and deployed. Advantages of Linux In addition, several Linux distributions have a plethora of applications that are useful in networking devices. These include a network time protocol (NTP) daemon, FTP clients and servers, NFS, SSH and SSL, and so on. New applications on Linux can leverage these applications via standard interfaces, a distinct advantage over proprietary platforms. Thus, it is no surprise that Linux is being used in pizza box and chassis-based routers. In the latter, it's being used on the control card and also, in cases where an OS is needed, on the line card. Conclusion Unlike monolithic and single source architectures, open routers can be built using a flexible base platform with components from multiple vendors. The individual components can be designed to be conformant with various standards while providing and using standard interfaces. These components could themselves be licensed from third-party vendors or obtained from open source. References
Reader Feedback: Page 1 of 1
Your Feedback
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||