Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Approaches to enable the OSPF protocol in Apache CloudStack

511 views

Published on

OSPF is a routing protocol for Internet Protocol networks. It uses a link state routing algorithm and falls into the group of interior routing protocols, operating within a single autonomous system. Compared with RIP, OSPF can provide scalable network support and faster convergence times. OSPF is widely used in large networks such as ISP backbones and enterprise networks.
Considering that in large organizations where the end-to-end access is a requirement, the current VPC model brings more complexity to management and hands-on configuration beside the overhead involved in the NAT address translations processing.
This presentation will bring some possibles approaches to enable dynamic routing using the OSPF protocol for IPv4 and IPv6 and simplify the network administrator life safely and quickly.

Published in: Technology
  • Be the first to comment

Approaches to enable the OSPF protocol in Apache CloudStack

  1. 1. OSPF protocol in CloudStack Marco Sinhoreli Consultant Manager marco.sinhoreli@shapeblue.com Twitter: @msinhore
  2. 2. @shapeblue #ccceu14  Consultant Manager at ShapeBlue  Specialise in….  Designing and deploying enterprise and public clouds  CloudStack Brazil Community Chairman  Designed Clouds USP, Globo.com and many others in Brazil  CloudStack Committer  Director of CSA Brazil Chapter About Me #CCCEU
  3. 3. @shapeblue #ccceu14  About ShapeBlue  Introduction to the OSPF Protocol  How it works?  Network Design  The routing software suite Quagga  Then… why integrate a dynamic routing protocol?  Scope  Use Case  UI Workflow  References OSPF protocol on CloudStack #CCCEU
  4. 4. @shapeblue #ccceu14 “ShapeBlue are expert builders of public & private clouds. They are the leading global Apache CloudStack integrator & consultancy” …and we’re hiring! About ShapeBlue #CCCEU
  5. 5. @shapeblue #ccceu14#CCCEU
  6. 6. @shapeblue #ccceu14  OSPF – Open Shortest Path First  Routing protocol for Internet (IP) protocol networks  IPG (Interior Gateway Protocol) and falls into the group of interior routing protocols  Uses a link state routing algorithm  Uses a single Anonymous System (AS)  OSPFv2 referenced in RFC2328 for IPv4  OSPFv3 referenced in RFC5340 for IPv6 Introduction to the OSPF Protocol #CCCEU
  7. 7. @shapeblue #ccceu14 OSPF Area 1 How OSPF works? Routing table: 192.168.0.0/24 local 192.168.1.0/24 via R2 192.168.2.0/24 via R3 Routing table: 192.168.1.0/24 local 192.168.0.0/24 via R1 192.168.2.0/25 via R3 Routing table: 192.168.2.0/24 local 192.168.0.0/24 via R1 192.168.1.0/24 via R2 R1 R3 R2 #CCCEU
  8. 8. @shapeblue #ccceu14 Quagga  Fork of GNU Zebra  Supports all popular Linux distributions and Unix derivatives  Supports protocols such as RIPv1, RIPv2, RIPng, OSPFv2, OSPFv3, IS-IS, BGP-4, and BGP-4+  Quagga is a collection of several daemons that work together to build the routing table  A system with Quagga installed acts as a dedicated router  Exchanges routing information with other routers using routing protocols  Uses this information to update the kernel routing  Changes dynamically the configuration  The user may view routing table information from the Quagga CLI #CCCEU
  9. 9. @shapeblue #ccceu14 Quagga Architecture OSPFD BGPD RIPD Zebra Unix Kernel routing table #CCCEU
  10. 10. @shapeblue #ccceu14  Config files are generally found in:  /etc/quagga/*.conf  Each of the daemons has its own config file. For example, OSPFv2’s default config file name is:  /etc/quagga/ospfd.conf Quagga setup #CCCEU
  11. 11. @shapeblue #ccceu14 interface eth0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 ospf router ospf ospf router-id 200.0.0.11 log-adjacency-changes redistribute connected passive-interface default no passive-interface eth0 network 200.0.0.0/24 area 0.0.0.0 area 0.0.0.0 authentication message-digest ospfd.conf example #CCCEU
  12. 12. @shapeblue #ccceu14  Support to the OSPF Version 2 protocol to announce IPv4 routes using Quagga routing software (daemon ospfd)  Support to the OSPF Version 3 protocol to announce IPv6 routes using Quagga routing software (daemon ospf6d)  Create a specific network offering to support the OSPF protocol in the VPC-VR  Enable routing to guest networks behind VPC-VR without NATing  Support to the services:  DHCP  DNS  Network ACL (iptables, ip6tables)  Load Balancing (HAproxy)  Password reset Scope #CCCEU
  13. 13. @shapeblue #ccceu14 Use case #CCCEU
  14. 14. @shapeblue #ccceu14 Workflow Admin user: Users: #CCCEU
  15. 15. @shapeblue #ccceu14 UI mock (Admin User) 1 – Configure the Public Network for OSPF Transit Area #CCCEU
  16. 16. @shapeblue #ccceu14 UI mock (Admin User) 2 – Add Super-CIDRs that will be associated to Guest OSPF VPCs Networks #CCCEU
  17. 17. @shapeblue #ccceu14 UI mock (Admin User) 3 – Add a new VPC Network Offering with OSPF dynamic routing #CCCEU
  18. 18. @shapeblue #ccceu14 UI mock (Users) 1 – Add a new VPC Routed Network #CCCEU
  19. 19. @shapeblue #ccceu14  http://www.nongnu.org/quagga/  https://tools.ietf.org/html/rfc2328  https://tools.ietf.org/html/rfc5340  https://tools.ietf.org/html/rfc3531  https://tools.ietf.org/html/rfc2460  https://cwiki.apache.org/confluence/display/CLOUDSTACK/IPv6+in+VPC+Route r  http://en.wikipedia.org/wiki/Open_Shortest_Path_First References #CCCEU
  20. 20. @shapeblue #ccceu14 Questions? #CCCEU
  21. 21. OSPF protocol in CloudStack Marco Sinhoreli Consultant Manager marco.sinhoreli@shapeblue.com Twitter: @msinhore

×