ECE 544 Protocol Design Project 2016 Kiran Jatty Lasya Nandamuri Varun Vinnakota.

Slides:



Advertisements
Similar presentations
1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Advertisements

1 6/14/ :27 CS575Internetworking & Routers1 Rivier College CS575: Advanced LANs Chapter 13: Internetworking & Routers.
Delivery, Forwarding, and Routing
MULTICASTING Network Security.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
NETWORK LAYER (2) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
CIS 725 Network Layer. This layer provides communication between any two nodes Uniform addressing scheme independent of the network technology Network.
Link State Routing NETE0521 Presented by Dr.Apichan Kanjanavapastit.
ECE 544 Project3 Group 9 Brien Range Sidhika Varshney Sanhitha Rao Puskuru.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
ECE 544 Protocol Design Project 2016 Chengyao Wen Hua Deng Xiaoyu Duan.
Computer Networks 0110-IP Gergely Windisch
22.1 Network Layer Delivery, Forwarding, and Routing.
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.
+ Dynamic Routing Protocols 2 nd semester
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 3 Part 3 Switching and Bridging
Network Layer.
ROUTING.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Routing Protocols (RIP, OSPF, BGP)
(How the routers’ tables are filled in)
(How the routers’ tables are filled in)
OSPF (Open Shortest Path First)
Routing Information Protocol (RIP)
Routing and Routing Protocols: Routing Static
ECE 544 Protocol Design Project 2016
Routing Protocols and Concepts
Link-State Routing Protocols
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Net 323: NETWORK Protocols
Chapter 3 Part 3 Switching and Bridging
THE NETWORK LAYER.
ECE 544 Protocol Design Project 2016
What’s “Inside” a Router?
Network Layer Path Determination.
ECE 544 Protocol Design Project 2016
(How the routers’ tables are filled in)
Routing and Routing Protocols: Routing Static
ECE 544 Protocol Design Project 2016
ECE 544 Protocol Design Project 2016
EEC-484/584 Computer Networks
ECE 544 Protocol Design Project 2016
Vidur Nayyar Xueting Wang Weicong Zhao
Link-State Routing Protocols
Intradomain Routing Outline Introduction to Routing
Aayush Patidar Ashwin Ramakrishnan Manoj Juneja
Chapter 10 IGMP Prof. Choong Seon HONG.
Network Layer I have learned from life no matter how far you go
Viet Nguyen Jianqing Liu Yaqin Tang
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Net 323 D: Networks Protocols
Link-State Routing Protocols
Chapter 3 Part 3 Switching and Bridging
Delivery, Forwarding, and Routing of IP Packets
ECE 544 Project3 Team member.
Network Layer.
Implementing Multicast
NET 323D: Networks Protocols
ECE 544 Project3 Dheeraj Medikonda Ravi Chandra Godavarthi 1.
Presentation transcript:

ECE 544 Protocol Design Project 2016 Kiran Jatty Lasya Nandamuri Varun Vinnakota

Network Architecture & Topology Assumptions Service Objective: To design a protocol that efficiently multicasts the ‘packet datagrams’ to k-out-of-n nodes Assumptions Unreliable network with packet loss probability 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) Maximum number of nodes (i.e. 50) Value of k<=3 Local router knows the IP addresses of nodes connected to it Routers know two unique multicast addresses used for k=2 & 3

ADDRESSING Each node has its own unique IP address IPv4 format For example – (k=3) and –(k=2) The multicast uses two unique IPv4 addresses (for k=2 & 3) given from class D of IPv4

Protocol Concept Based on the Multicast address, the source node sends the packet to (k<=3) optimum Destination nodes Optimum destination nodes are decided by the local router to which the source is connected Packet Structure: IPv4 (Dest addr = Multicast addr) Control Plane: OSPF advertisements to find next hop, Unicast join messages to corresponding dest nodes from each local router, Periodic Hello messages to makes sure routers are alive Data Plane: Multicast forwarding table at each router which has the information about incoming interface, multicast address and outgoing interface to forward the packets Key algorithms used:  OSPF (for routing)  Dynamic algorithm to find optimum destination nodes to multicast

Syntax – Packet Formats Control Packets & formats We use three different control packets in this protocol The first control packet is the OSPF packet which is used to determine the optimal path to the destination. The format of the OSPF packet is shown below: LS AgeOptionsType=1 0Flags0Number of links Link typeNum_TOSMetric Link state ID Advertising router LS sequence number Link ID Link data Optional TOS information More links LS checksumLength

Syntax – Packet Formats Control Packets & formats: The second packet is sent by the source to let the routers update the forwarding table.  This control packet can be as the below figure  When this packet arrives at a router, it creates the multicast forwarding table and copies the multicast address, and also the corresponding input and output interfaces this packet is forwarded to reach the destination LengthSource AddressMulticast AddressDest. AddressOptionsTTL

Control Packets & formats: The third packet used in this protocol is IPV4 using which we transfer the data packet The structure of IPV4 is as shown below: Syntax – Packet Formats

Semantics The fields we used in our control packets are:  Length: The length field of the data packet specifies its total length  Source Address: The source address is of 32 bits and specifies the address of the source node  Multicast Address: It is of class D address and is of 32 bits that defines the value of k(2 or 3)  Destination Address: The destination address is of 32 bits and specifies the address of the destination node  Options: The options field is used to append any extra data in future  TTL: Time To Live (TTL) is defined to avoid packet travelling indefinitely

Routing Algorithm  We can use Link State (LS) Routing protocol to find the next hop to reach all the available nodes with a slight modification  If the destination can be reached in 2 hops(least hop count), instead of taking the one with low address, both the routers addresses are stored  The Routing table for each router can be in the form as below:  It starts with reliable flooding making sure that each and every node in the network participates in it and gets a link state information containing the id, list of directly connected nodes, sequence number and TTL  The possible next hops (Ni) stores all the possible hops which cost the same to reach a destination to decide an optimal path  It decides its next hop once it has information of all its destinations DESTINATION (D)COST (C)NEXT HOPS(N i ) D R2 R4

Data Plane Forwarding The routing table at any router may be in the following format: Whenever a packet comes from specific interface with a particular multicast address reaches a router, it checks its forwarding table to determine the interface it should send the packet to forwards it If the packet that arrived at specific interface with a particular multicast address has two output interfaces the router copies the packet and sends to both the interfaces Input InterfaceMulticast AddressOutput Interface Dest. Address of next hop router ABC XYZ

Example of forwarding near a router: At R1: Input Interface Multicast AddressOutput InterfaceDest. Address a1:b1:c1:d1:e1:f1 a2:b2:c2:d2:e2:f2 Input Interface Multicast AddressOutput InterfaceDest. Address a3:b3:c3:d3:e3:f3 a4:b4:c4:d4:e4:f4 At R2:

R1 R2 R3 R4 R5 R6 R7 Control Plane to find Destination Nodes: Local router R1 finds the 3 destination addresses based on the least hop count and sends three unicast join messages to D1, D2, D3 Data Plane Forwarding: When S sends a multicast message to the local router R1, the router compares the multicast address in multicast forwarding table and forwards it to the specific interface. Similarly, routers R2, R3, R4, R5, R6 and R7 also maintain their own forwarding table and forwards the packets accordingly once they receive a packet by comparing the multicast address

PERFORMANCE: Considering each link is has BW 10MBps and distance between links is 500 m Throughput: throughput = total amount of data transferred/total time = 7.37MBps Goodput: Goodput = Actual data transferred/total time taken = 7.27 MBps Delay for single link: Delay = propagation delay + transmission delay = 500/2*10^ /10*10^6 = 152.5*10^-6 sec

Example Networks: Network 2 Source S sends the IP packet with Source address and Multicast address as its destination address to Router R1 (Local Router). R1 checks the multicast routing table and forwards the packet to specified interface Every other router know the interface to forward the packet that comes from particular interface with a particular multicast address (equivalent to a tree) R4 R2 R1 R5 R3 R6 For multicast address (k=3)

PERFORMANCE: Considering each link BW is 10MBps and distance between links is 500m Throughput: throughput = total amount of data transferred/total time = 5.9MBps Goodput: Goodput = Actual data transferred/total time taken = 5.82 MBps Delay for single link: Delay = propagation delay + transmission delay = 500/2*10^ /10*10^6 = 152.5*10^-6 sec

Summary Key protocol design features (recap) OSPF (to find least hops to destination) Protocol to find the optimum destination nodes for a given multicast address(k=2 &3) Forwarding unicast join messages by local router to destination nodes to create multicast forwarding tables at each router (similar to connection oriented) The packet is directly sent to respective interfaces based on the multicast address Implementation complexity Each router need to maintain multicast forwarding table Need to program an algorithm to find optimum destination nodes