ECE 544 Protocol Design Project 2016

Slides:



Advertisements
Similar presentations
OSPF Header OSPF HEADER OSPF HEADER for this project Types we will use
Advertisements

Computer Networking A Top-Down Approach Chapter 4.7.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Nov 11, 2004CS573: Network Protocols and Standards1 IP Routing: OSPF Network Protocols and Standards Autumn
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Internet Networking Spring 2002
Unicast Routing Protocols: RIP, OSPF, and BGP
MULTICASTING Network Security.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Objectives After completing this chapter you will be able to: Describe hierarchical routing in OSPF Describe the 3 protocols in OSPF, the Hello, Exchange.
CCNP Network Route OSPF Part -I OSPF: Open Shortest Path First Concept of OSPF: 1. It is a link state routing protocol. 2. There are basically only 2 ISIS.
INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
1 of of 35 Single Area OSPF Concepts 3 of 35 OSPF Basics.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
ECE 544 Project3 Group 9 Brien Range Sidhika Varshney Sanhitha Rao Puskuru.
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Internet routing protocols m RIP m OSPF m IGRP m BGP r Router architectures r IPv6 Today: r IPv6.
Unicast Routing in IPv6 Babu Ram Dawadi.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
CS440 Computer Networks 1 Link State Routing and OSPF Neil Tang 10/31/2008.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
ECE 544 Protocol Design Project 2016 Chengyao Wen Hua Deng Xiaoyu Duan.
ECE 544 Protocol Design Project 2016 Nirali Shah Thara Philipson Nithin Raju Chandy.
ECE 544 Protocol Design Project 2016 Michael Sherman Murtadha Aldeer Leonard T. Park.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
1 CMPT 471 Networking II OSPF © Janice Regan,
ECE 544 Protocol Design Project 2016 Kiran Jatty Lasya Nandamuri Varun Vinnakota.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
Single Area OSPF Link State Routing Single Area OSPF Concepts
Link State Routing protocol
Routing Protocols (RIP, OSPF, BGP)
Open Shortest Path First Chang-Keun Park
OSPF (Open Shortest Path First)
ECE 544 Protocol Design Project 2016
13.3 OSPF: Open Shortest Path First.
ECE 544 Protocol Design Project 2016
ECE 544 Project3 Team member.
What’s “Inside” a Router?
ECE 544 Protocol Design Project 2016
Link State Algorithm Alternative to distance-vector
ECE 544 Protocol Design Project 2016
ECE 544 Protocol Design Project 2016
Aayush Patidar Ashwin Ramakrishnan Manoj Juneja
Chapter 8: Single-Area OSPF
Viet Nguyen Jianqing Liu Yaqin Tang
Cisco networking, CNET-448
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Routing Protocols and Concepts – Chapter 11
ECE 544 Project3 Team member.
CCNP Network Route OSPF Part -II
Dynamic Routing Protocols part3 B
ECE 544 Project3 Dheeraj Medikonda Ravi Chandra Godavarthi 1.
Presentation transcript:

ECE 544 Protocol Design Project 2016 Haoyuan Xu Pei Peng Shashikanth Rangan

Network Architecture & Topology Assumptions Service Objective

Assumptions Unreliable network with packet loss prob. per link of p Each end node is attached to only one router All links have same characteristics (i.e. hop cost 1 and same MTU 1500 bytes) Small maximum number of nodes (i.e. 50) Underlying medium is ethernet

Protocol Concept Overall concept of your proposed protocol Service provided : k out of n multicast Control plane : OSPF header, Hello msg, Link State Update, Link State Request, IGMP, Back to N/ACK Data Plane : Data packet containing information about k, sender and group ip address. Algorithm : Dijkstra(slight modification), paths are chosen by algorithm created by us. 4

Syntax - Packet Formats OSPF Header Figure 1

Packet Formats (Contd) Version- 2 (1-byte) Type- It specifies the type of OSPF packet. There are 5 different types of OSPF packets. (1-byte) Packet Length- Total length of the OSPF packet (2-bytes) Router ID- The Router ID of the advertising router Checksum- Standard IP Checksum of OSPF packet excluding Authentication field (2-bytes)

Packet Formats (Contd) OSPF Hello Msg Figure 2

Packet Formats (Contd) Hello Interval- Interval at which Hello packets are advertised. By default, 10 seconds for point-to-point link and 30 seconds for NBMA/Broadcast links (2-bytes) Options- The local router advertises its capabilities in this field. (1-byte) Rtr Pri- The Priority of the local router. It is used for DR/BDR election. If set to 0, the router is ineligible for the election. (1-byte)

Packet Formats (Contd) Dead Interval- The Dead Interval as requested by the advertising router. By default, 40 seconds for point-to-point link and 120 seconds for NBMA/Broadcast links (4-bytes) Designated Router- The IP address of the current DR. Set to 0.0.0.0 if no DR is elected yet. (4-bytes)

Packet Formats (Contd) Link State Request Packet Figure 3

Packet Formats (Contd) LS Type- Type of LSA requested (4-bytes) Advertising Router- Router ID of the requesting router (4-bytes)

Packet Formats (Contd) # LSAs LSAs Figure 4 Link State Update Packet Contains two fields #LSA’s - Number of LSAs within an LSU packet (4-bytes) LSAs- The complete LSA is encoded within this field. The LSU may contain single or multiple LSAs.

Packet Formats (Contd) LSA Header Figure 5 Link State Acknowledgement Packet LSA Header- List of LSA Headers being acknowledged.

Packet Formats (Contd) LSA Packet Figure 6 14

Packet Formats (Contd) Multicast Data Packet Type k Sequence number Group IP Address Sender’s IP Address Data

Packet Formats (Contd) IGMP (version 2) Figure 7

Packet Formats (Contd) IPv4 Header Figure 8

Packet Formats (Contd) Control Packet Multicast Group IP k= Sender’s IP Control Data Control Data: (R1,R2) (R2,R3) (R2,R4)

Routing Algorithm Routing Algorithm Hello message IGMP v2 (join message) LSA MOSPF in each edge-router hello message: know its neighbor; IGMP v2: know multicast group member. MOSPF in each edge-router: build the tree. And only need to know how many members in each nodes.(n nodes, if k=3, (n*(n-1)*(n-2)=)O(n^3))

Routing Algorithm Routing table structure and contents Router Table Multicast table(edge-router) port ip_address Live_time (sec) 1 xxx.xxxx.xxx.xxx 2 Multicast Group NO # of hosts Member Address[] port 2 [IP1,IP2] 1 3 [IP1,IP2,IP3]

Routing Algorithm Routing table structure and contents MOSPF Tree Table (similar to OSPF) Dest Node Distance Prev hop # of Group 1 # of Group 2 D 4 C 2 3 B null A 1 S

Routing Algorithm Diagram showing working of Algorithm step Confirmed tentative 1 (A,0,-,3,2) (B,1,B,1,0) (C,1,C,-,-) 2 (D,2,B,2,3) (C,2,B,-,-) 3 (C,1,B,-,-) (D,3,C,2,3) 4 - root When select node to build the tree, it will choose the shortest node which has more links connected.

Routing Algorithm Routing Algorithm Find the best k out of n Sort the distance at tree table in increasing order. Choose top 2k nodes that have the multicast group member. Calculate the total distance for all cases, choose the best one. ( same link path, minus # of group member -1) MOSPF in each edge-router: build the tree. And only need to know how many members in each nodes.(n nodes, if k=3, (n*(n-1)*(n-2)=)O(n^3))

Routing Algorithm Routing Algorithm Find the best k out of n K = 2 In order to choose D1,D2 Instead of D2, D3 D1,D2 cost 3, D2,D3 cost 4 MOSPF in each edge-router: build the tree. And only need to know how many members in each nodes.(n nodes, if k=3, (n*(n-1)*(n-2)=)O(n^3))

Routing Algorithm Discuss complexity and performance of routing algorithm Complexity for building trees: O(nlogn + E) Performance for building trees: Cost is not small but it don’t influence much. Since all of these is down before multicast.

Data Plane Forwarding forwarding table Multicast Group IP k=? Sender’s IP port 1 3 11111.1.1.1.1 0, 2 2 222.2.22.222

Data Plane Forwarding copy-forward mechanism Each router have a small buffer the packet just sent will live in some time.(like 2RRT...) Send it again after received ACK request. Drop it if no ACK request(time out).

Data Plane Forwarding Diagram showing forwarding of packets at any given router Multicast Group IP k=? Sender’s IP port Source port 11.111.11.12 3 34.123.132.23 0, 2 02.21.31.1 2 23.42.5.2 1

K=2 R2 R5 D1 S R1 R3 R6 D2 R4 R7 D3 Following the forwarding table According to received control packet and the packet from upper router D1 and D2 is better, and the path is selected R2 R5 D1 copy1 copy1 copy1 (R2,R5) (R3,R6) S R1 R3 R6 D2 copy2 copy2 copy2 (R2,R5) (R3,R6) (R1,R2) (R2,R5) (R1,R3) (R3,R6) R4 R7 D3

K=3 Receiving the forwarding table and the packet from upper router Following the forwarding table According to the tree, this router selects the best path R2 R5 D1 copy1 copy1 copy1 (R2,R5) (R3,R6) (R4,R7) S R1 R3 R6 D2 copy2 copy2 copy2 (R1,R2) (R2,R5) (R1,R3) (R3,R6) (R1,R4) (R4,R7) (R2,R5) (R3,R6) (R4,R7) Send to D3 R4 R7 D3 copy3 copy3 copy3 (R2,R5) (R3,R6) (R4,R7)

K=2 According to the tree, this router choose D1 and D2, and the path R3 S R1 R4 D1 copy1 copy1 (R1,R3) (R3,R4) (R3,R5) (R5,R6) R2 D2 (R3,R4) (R3,R5) (R5,R6) Copy the packet copy2 R5 R6 copy2 copy2 (R5,R6) Send the packet Smaller number is better D3

K=3 According to the tree, this router choose the path R3 S R1 R4 D1 copy1 copy1 (R1,R3) (R3,R4) (R3,R5) (R5,R6) R2 D2 (R3,R4) (R3,R5) (R5,R6) Copy the packet copy2 R5 R6 copy2 copy2 (R5,R6) Copy the packet D3 copy3

Summary Key protocol design features (recap) Performance Each edge-router have its own tree Build the tree before need to multicast packets Performance Delay is small, since we only need to cost the time to find path. Implementation complexity The Dijkstra algorithm complexity is O(nlogn+E). The path search algorithm: Sort complexity is O(nlogn) Find path complexity is O((2k)^k) computing requirement is needed 33