Packets & Routing Lower OSI layers (1-3) concerned with packets and the network Packets carry data independently through the network, and into other networks…

Slides:



Advertisements
Similar presentations
Jaringan Komputer Lanjut Packet Switching Network.
Advertisements

Routing So how does the network layer do its business?
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 K. Salah Module 5.0: Internetworking & Network Layer Basic concepts Congestion Control Routing Protocols –Flooding –Source routing –Distance vector routing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
ROUTING PROTOCOLS Rizwan Rehman. Static routing  each router manually configured with a list of destinations and the next hop to reach those destinations.
Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
WAN Technologies.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
Routing and Routing Protocols Dynamic Routing Overview.
COMP 1121: Computers and Computer Networks Session 5: Network Topologies and Routing.
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
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 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
Networks and Protocols CE Week 2a. Network hardware.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Figure Routers in an Internet.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Data Communications & Computer Networks, Second Edition1 Chapter 8 Local Area Networks: Internetworking.
Network Layer (OSI and TCP/IP) Lecture 9, May 2, 2003 Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
COMP1321 Digital Infrastructure Richard Henson University of Worcester December 2015.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Working at a Small-to-Medium Business or ISP – Chapter 6
Chapter 4 Introduction to Network Layer
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
Chapter 4 Data Link Layer Switching
Network Layer.
What is a router? A router is a device that connects multiple computers together. Not to be confused with a switch Routers transmit packets of data across.
Introduction to Networking
Net 323: NETWORK Protocols
18-WAN Technologies and Dynamic routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Chapter 4 Introduction to Network Layer
2 - IP Routing.
Link-State Routing Protocols
ECE453 – Introduction to Computer Networks
The Network Layer Network Layer Design Issues:
PRESENTATION COMPUTER NETWORKS
Communication Networks NETW 501
Switch controller: Routing
Networking CS 3470 Sarah Diesburg
Protocols 1 Key Revision Points.
Network Layer Routing Networks: Routing.
Link-State Routing Protocols
Distributed Systems CS
CSE 313 Data Communication
Working at a Small-to-Medium Business or ISP – Chapter 6
Delivery, Forwarding, and Routing of IP Packets
LAN switching and Bridges
Networking CS 3470 Sarah Diesburg
Virtual LAN (VLAN).
Network Layer Routing.
Distributed Systems CS
OSPF Protocol.
Presentation transcript:

Packets & Routing Lower OSI layers (1-3) concerned with packets and the network Packets carry data independently through the network, and into other networks… Only know where to go because Routers (and Routing Switches) tell them where to go next use header information on each packet Contains source & destination IP addresses header data (payload)

Internet Routing Uses IP address (OSI level 3) Compare: MAC addresses used at OSI level 2 for local network navigation via switches OSI model? link Each router reads the IP destination address of each packet then decides which other router to forward the packet on to…

Packet Creation… https://www.youtube.com/watch?v=R3CMVw7tM2Y

Packet Switching Resulted from… UK scientific brilliance… Donald Davies developed “packet switching” to get digital data in packets through a network efficiently Ideas drained to the US… http://news.bbc.co.uk/1/hi/technology/8499501.stm https://www.youtube.com/watch?v=tT4AaelwvV4

Routing Packets: ‘Store and Forward’ (1) May come to router from several different connections May not arrive regularly arrivals may be ‘bursty’ Router may not be able to process all packets immediately on arrival e.g. 2 packets arriving almost simultaneously on different connections

‘Store and Forward’ (2) As packets arrive, added to a “buffer” area of memory where packets are stored temporarily until they can be processed Processed in order of arrival ‘first in, first out’ (FIFO) stack Note: if the buffer gets full, further packets are discarded and lost

Routing decisions Router uses the destination IP address in the packet IP header to decide what to do with the packet Maybe send to a local network to which the router is connected router must know the IP addresses relevant to its own local network(s) Maybe forward on to another router But which one?

Routing tables Each router has a database of IP addresses (or starts of IP addresses) For each IP address, there is a link that a packet for that IP address should be forwarded to Router reads the destination IP address, consults the routing table, and forwards the packet through the appropriate link

Routing table from http://www. answers. com/topic/routing-protocol-1

Construction of routing tables Routing tables can be set up when the router is first booted But network conditions may change a route that was once optimal may become congested a link or router may malfunction or be removed a new link may be added to the network Dynamic updates needed

Updating routing tables Routers send each other information about network conditions Broken links New links Routers going off-line Congestion problems Each router updates its routing tables accordingly

Normal route of message Recipient Router B Router C Router A Sender

Disaster strikes: link is broken Recipient Router B Router C Router A Sender Message cannot be delivered

What happens Router A finds out about the broken link No traffic received from router B Regular updates from router B don’t arrive Router A knows enough about the local network topology to use an alternative route Routing table adjusted accordingly

Solution: a new route is found Recipient Router B Router C Router A Sender

Decisions between multiple possible routes Factors to be considered by the router: Total number of ‘hops’ in the path Traffic loading on each hop Financial costs of using certain hops Algorithms for finding best routes: Bellman-Ford (distance-vector algorithm) Dijkstra (link-state algorithm)

Check out “Routing Algorithms” these give a router a real headache

e.g. Border Gateway Protocol Protocol used by Internet routers Application layer protocol TCP port 179 First defined in RFC 1105 (June 1989) Updated to version 4 in RFC 1774 (March 1995) Latest update to version 4: RFC 4271 (January 2008)

Firewalls Try out Windows Firewall now…

VPNs What are they? How can they be implemented? From the TWIT network… (excuse the adverts) https://www.youtube.com/watch?v=sGYIsJUIxH8