Advanced Computer Networks

Slides:



Advertisements
Similar presentations
Bellman-Ford algorithm
Advertisements

1 Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
4/12/2015© 2009 Raymond P. Jefferis IIILect Internet Protocol - Continued.
Chapter 4 Distributed Bellman-Ford Routing
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
DIJKSTRA’s Algorithm. Definition fwd search Find the shortest paths from a given SOURCE node to ALL other nodes, by developing the paths in order of increasing.
William Stallings Data and Computer Communications 7 th Edition Chapter 12 Routing.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Dijkstra’s Shortest Path Algorithm Gordon College.
CS541 Advanced Networking 1 Routing and Shortest Path Algorithms Neil Tang 2/18/2009.
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Network Layer Goals: understand principles behind network layer services: –routing (path selection) –dealing with scale –how a router works –advanced topics:
Using Dijkstra’s Algorithm to Find a Shortest Path from a to z 1.
Distributed Asynchronous Bellman-Ford Algorithm
IP routing. Simple Routing Table svr 4% netstat –r n Routing tables DestinationGatewayFlagsRefcntUseInterface UGH00emd UH10lo0.
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
CCNP Network Route IPV-6 Part-I IPV6 Addressing: IPV-4 is 32-BIT, IPV-6 is 128-BIT IPV-6 are divided into 8 groups. Each is 4 Hex characters. Each group.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 20 Omar Meqdadi Department of Computer Science and Software Engineering University.
Decision Maths 1 Shortest path algorithm Dijkstra’s Algorithm A V Ali :
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
Distance Vector Routing
Computer Networks 0110-IP Gergely Windisch
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Graphs – Part III CS 367 – Introduction to Data Structures.
GRE.
Routing algorithms. D(v): the cost from the source node to destination that has currently the least cost. p(v): previous node along current least.
1 Most important algorithms! Routing Algorithms Properties Shortest Path Routing Flooding Distance Vector Routing Link State routing Hierarchical routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Advanced Computer Networks
The network layer: routing
CS 5565 Network Architecture and Protocols
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
Centralized vs Distributed Routing
Dijkstra’s shortest path Algorithm
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
THE NETWORK LAYER.
CS 457 – Lecture 12 Routing Spring 2012.
Routing: Distance Vector Algorithm
EEC-484/584 Computer Networks
Routing in Packet Networks Shortest Path Routing
Lecture 10 Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides are generated from.
CS223 Advanced Data Structures and Algorithms
Link State Route Calculations
Intradomain Routing Outline Introduction to Routing
ECE453 – Introduction to Computer Networks
Communication Networks NETW 501
Switch controller: Routing
CS4470 Computer Networking Protocols
Shortest Path Algorithms
Link State Route Calculations
Communication Networks
Advanced Computer Networks
Chapter 4: Network Layer
Dijkstra’s Shortest Path Algorithm Neil Tang 3/2/2010
Advanced Computer Networks
Communication Networks
Chapter 4: Network Layer
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
Computer network technology
Chapter 4: Network Layer
CSCI 465 Data Communications and Networks Lecture 16
EE 122: Intra-domain routing: Link State
Chapter 4 Network Layer A note on the use of these ppt slides:
OSPF Protocol.
Presentation transcript:

Advanced Computer Networks CS716 Advanced Computer Networks By Dr. Amir Qayyum 1

Lecture No. 20

Virtual Private Networks - VPN

IP Tunneling IP Multicast IP Multicast IPv4 VU UET IP Multicast MAJU Data IP IP Multicast IP Multicast Data IP IP IPv4 Data IP VU UET IP Multicast MAJU

IP Tunnel in VPNs Virtual point-to-point link between a pair of nodes separated by many networks Network 1 R1 Internetwork R2 Network 2 10.0.0.1 IP header , IP header , IP header , Destination = 2.x Destination = 10.0.0.1 Destination = 2.x IP header , IP payload IP payload Destination = 2.x IP payload

Routing A stranger appears and asks “Airport ?” Islamabad Pir Wadhai Rawal Dam Rawalpindi Faizabad Airport A stranger appears and asks “Airport ?” Which way do you point ?

Routing Overview

Bellman-Ford Algorithm For every node N For each directed pair (B,C) Is the path B  N  …C better than B .C ? Is cost BNdest smaller than previously known? For N nodes Uses an NxN matrix of (distance, successor) values

Bellman-Ford Algorithm Source A B Infinity Infinity Infinity 6 2 Infinity 1 Dest 5 Dest 1 Dest 3 B Infinity 5 Dest 7 E 1 Dest 3 B 8 C 4 A 7 E 8 C 3 B 1 Dest 4 A 6 E 1 1 1 C E Destination Infinity Infinity 2 5 After n iterations, nodes at distance n hops along the shortest path have correct information

Dijkstra’s Algorithm From node N Start with S = {N} and one-hop paths from N Loop n-1 times Add closest outside node M to S For each node P not in S Is the path N ..... M ..... P better than N ..... P ?

Dijkstra’s Algorithm 3 1 3 4 7 1 6 2 4 2 11 9 2 2 7 7 3 1 2 2 6 9 4 12 13 6 1 10 15 3 8 3 5 8 10 14