Generating routing tables using a relational Database Lana Abadie, CERN PhD student from University Pierre & Marie Curie (Paris VI), Laboratoire SAMOVAR.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 4: Routing Concepts Routing Protocols.
Advertisements

Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Inter- VLAN Routing LAN Switching and Wireless – Chapter 6.
Virtual LANs.
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Ver 1,12/09/2012Kode :CIJ 340,Jaringan Komputer Lanjut FASILKOM Routing Protocols and Concepts – Chapter 2 Static Routing CCNA.
Network Hosts Analyzer Hadas Shumovitch Elad Levi Tal Katz
Routing and Routing Protocols
Course 301 – Secured Network Deployment and IPSec VPN
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
Connecting LANs, Backbone Networks, and Virtual LANs
Chapter 4: Routing Concepts
Introduction to networking (Yarnfield) Introduction to routing.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
1 Routing Introduction to Routing Static Routing.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
Router and Routing Basics
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
Chapter 8: Virtual LAN (VLAN)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
By: Aleksandr Movsesyan Advisor: Hugh Smith. OSI Model.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Subnetting -2.
Networks and Protocols CE Week 7b. Routing an Overview.
SW REVERSE JEOPARDY Chapter 1 CCNA2 SW Start-up Routing table Routing table Router parts Router parts Choosing a path Choosing a path Addressing Pot.
Basic Routing Principles V1.2. Objectives Understand the function of router Know the basic conception in routing Know the working principle of router.
Routing and Routing Protocols
Switching Topic 2 VLANs.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
OSI Model Topology Patch cable Flow control Common layer 2 device Best path Purpose of Layer 2 devices.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
Network Virtualization Sandip Chakraborty. In routing table we keep both the next hop IP (gateway) as well as the default interface. Why do we require.
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Configuration for routing example
Chapter 4: Routing Concepts
Introduction to Networks
ROUTING.
Routing and routing tables
Virtual Local Area Networks or VLANs
Switch Setup Connectivity to Other locations Via MPLS/LL etc
3. Internetworking (part 2: switched LANs)
NOX: Towards an Operating System for Networks
Chapter 4 Data Link Layer Switching
Chapter 6 – Routing.
Network Layer.
Chapter 4: Routing Concepts
SUBFARM CONTROL SYSTEM DATAFLOW
Introduction to Networking
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
CT1403 Lecture #3 Peer to Peer NWs
Virtual LANs.
5 Network Layer Part II Computer Networks Tutun Juhana
Enabling Static Routing
Chapter 3: Dynamic Routing
Routing Protocols and Concepts – Chapter 2
Dr. Rocky K. C. Chang 23 February 2004
Rick Graziani Cabrillo College
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Configuration DB Status report Lana Abadie
Presentation transcript:

Generating routing tables using a relational Database Lana Abadie, CERN PhD student from University Pierre & Marie Curie (Paris VI), Laboratoire SAMOVAR RT2005 Conference

Objectives & requirements Configure a network (routing tables, DHCP config file, DNS configuration …) composed of thousands of switches and networking components. Reduce the use of « Automatic» or « self-management » mode: deterministic behavior of any networking devices Keep track of all these routing tables, these config files to be able to recover everything in case of a network crash.

Network configuration use a database Database : good and safe technology to store information about large systems Information stored in the database should be: –Complete to be able to start up the network after a crash –Scalable to support any extension or removals in the network topology –Easy to maintain : (minimize the data inserted by users) Develop packages to load and save information required to configure the network

Gather and analyze use cases 2 kinds of use cases in the network configuration –Generate config files (for the DHCP, DNS …) –Generate routing tables (for switches) Focuses on generating routing tables –tables stored in a router or some other networking device (switch) that keeps track of routes to particular network host interfaces –2 type of routing tables IP or MAC –One routing table for each switch in the network –Different types algorithms to determine the routes to take (default shortest path, i.e minimize devices crossed)

Properties of a routing table An IP (resp. MAC) routing table consists of the following entries: –IP (MAC) address of the next hop –Port number to forward the data –IP (MAC) address of the host node (or destination) –Subnet Mask (VLAN prefix) –Path length No ambiguity on the port to forward data: one single route per destination interface No cyclic paths ( Data Acquisition, no redundant path)

Routing table concept Switch A Switch BSwitch C IP routing table for switch A Port nb Next hop destin. Subnet mask Path length

Network properties Node properties: Host node : processes data (PCs…) Switch or intermediate node (switch, router…) Interface : a MAC and and a port number of a device Link properties: Start and end Orientation : unidirectional or bidirectional Type : data, trigger… Status (functional or dead) Enough information to generate a routing table

Database table schema 2 kinds of data stored in the database tables Data inserted by the user (cant be guessed) –List of the devices of the network, by specifying if its a host node or not ( device table) –All link properties (connectivity table) –List of interfaces (Ethernet & subnet mask, VLAN prefix, port number and device) (ip_ethernet table) Data derived from other information stored in the database: –Routing tables (routing_table) : one database table per switch

Ex: IP routing table of Switch A Find all paths < round_trip from switch A to PC_A (1 interface) & to PC_B (2 interfaces) Switch A Switch BSwitch C Node 1Node 2Node 3Node 4 Nod e 5 length Switch A Switch B PC_B2 Switch A Switch B Switch C PC_B3 Switch A Switch C Switch B PC_B3 Switch A PC_A1 Switch A Switch C PC_B2 PC_A PC_B

Ex: IP routing table of Switch A Select the shortest one per host interface (2+1=3) Convert the name to Node 1Node 2Node 3length Switch APC_A1 Switch ASwitch CPC_B2 Switch ASwitch BPC_B2 Switch A Switch BSwitch C PC_A PC_B Port next hop Destin. length

Topology used for tests 2350 nodes and 4216 links 11 sec to create the routing table of Flow_3 (store in the database) 2058 nodes and 3063 links 2 sec to create the routing table for the TFC switch DAQ (data acquisition) TFC (timing fast control)

Conclusion Implementation of a PL/SQL package to generate routing Tests done for the LHCb DAQ and TFC systems Need to do more tests : profiling ! Try to improve performance: code review Extending the model with other routing algorithms