Chapter 9. Distributed Virtual Routers

Prior to the introduction of Neutron in the Folsom release of OpenStack, all network management was built into the Nova API and was known as nova-network. Nova-network remains an alternative to Neutron, although the networking models and functionality provided by it are limited when compared to the advanced features offered by Neutron. Despite its advanced feature set, up until the Juno release, Neutron was unable to replicate one of the most common networking scenarios available with nova-network: FlatDHCP with multi-host.

The multi-host functionality of nova-network offers high availability of networking by limiting the single points of failure to individual compute nodes rather than single network nodes or L2/L3 agents. High availability using distributed virtual routers borrows many concepts from the nova-network multi-host model while retaining support for many of the networking features provided by Neutron.

Distributing routers across the cloud

Much like nova-network does with its multi-host functionality, Neutron can distribute a virtual router across compute nodes in an effort to isolate the failure domain to a particular compute node rather than a traditional network node. By eliminating a centralized layer 3 agent, the routing that was performed on a single node is now handled by the compute nodes themselves.

Legacy routing using a centralized network node resembles the following diagram:

Distributing routers across the cloud

Figure 9.1

In the legacy model, traffic from the blue virtual machine to the red virtual machine on a different network would traverse a centralized network node hosting the router. If the node hosting the router were to fail, traffic between the instances and external networks, or the instances themselves, would be dropped.

In this chapter, I will discuss the following:

  • Installing and configuring additional L3 agents
  • Demonstrating the creation and management of a distributed virtual router
  • Routing between networks behind the same router
  • Outbound connectivity using SNAT
  • Inbound and outbound connectivity using floating IPs
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset