22
Layered Architecture CSC358 - Introduction to Computer Networks

CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Layered Architecture

CSC358 - Introduction to Computer Networks

Page 2: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Review

Shortest Path Routing AlgorithmsBellman-Ford algorithm (Distance Vector Routing)Dijkstra’s algorithm (Link State Routing)

CSC358 - Introduction to Computer Networks

Page 3: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Routing Algorithms

Distance Vector RoutingDistributed algorithmEach node uses local information

Link State RoutingDistributed algorithmEach node needs global information

CSC358 - Introduction to Computer Networks

Page 4: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Routing in Practice

Large Network (of Networks)Autonomous SystemsAddressing

CSC358 - Introduction to Computer Networks

Page 5: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Goal

Understand network layer issues that are important inpracticeUnderstand components of the Internet network layer

CSC358 - Introduction to Computer Networks

Page 6: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Boxes in a Network

CSC358 - Introduction to Computer Networks

Page 7: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Network Topology

CSC358 - Introduction to Computer Networks

Page 8: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Network Topology seen by Network Layer

CSC358 - Introduction to Computer Networks

Page 9: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Hierarchical Routing

CSC358 - Introduction to Computer Networks

Page 10: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Hierarchical Routing

Intra-Autonomous System (Intra-AS) Routing ProtocolInter-Autonomous System (Inter-AS) Routing Protocol

CSC358 - Introduction to Computer Networks

Page 11: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Internet Network Layer

Datagram (Connectionless) ServiceInternet Protocol (IP)

AddressingDefinition of Datagram

Routing ProtocolIntra-AS: RIP (Routing Information Protocol), OSPF (OpenShortest Path First), EIGRP (Enhanced Interior GatewayRouting Protocol) by Cisco.Inter-AS: BGP (Border Gateway Protocol)

ICMP (Internet Control Message Protocol)

CSC358 - Introduction to Computer Networks

Page 12: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing

32 bits long (4 bytes)232 possible addressesdotted-decimal notation: each byte of the address iswritten in its decimal form and is separated by a period(“dot”) from other bytes in the address.

193.32.216.9

CSC358 - Introduction to Computer Networks

Page 13: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing: Interface Addresses

CSC358 - Introduction to Computer Networks

Page 14: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing: Network Addresses

CSC358 - Introduction to Computer Networks

Page 15: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing: Network Addresses

CSC358 - Introduction to Computer Networks

Page 16: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing and Routing

CSC358 - Introduction to Computer Networks

Page 17: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing and Routing

Routing Table in A:Dest. Network Next router Nhops

223.1.1.0/24 1223.1.2.0/24 223.1.1.4 2223.1.3.0/24 223.1.1.4 2

CSC358 - Introduction to Computer Networks

Page 18: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IPv4 Addressing and Routing

Routing Table in Router:Dest. Network Next router Nhops Interface

223.1.1.0/24 1 223.1.1.4223.1.2.0/24 1 223.1.2.9223.1.3.0/24 1 223.1.3.27

CSC358 - Introduction to Computer Networks

Page 19: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

IP Fragmentation and Reassembly

IPv4 Datagrams can be up to 65,353 bytes longEthernet frames can carry up to 1,500 bytes of data

CSC358 - Introduction to Computer Networks

Page 20: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Routing in the Internet

Intra-AS Routing:RIP: Routing Information Protocol

Distance Vector ProtocolMin-Hop Routing

OSPF: Open Shortest Path FirstLink State ProtocolSupports Several Cost Metrics

EIGRP: Enhanced Interior Gateway Routing ProtocolDistance Vector ProtocolSupports Several Cost Metrics

CSC358 - Introduction to Computer Networks

Page 21: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Routing in the Internet

Inter-AS Routing:BGP: Border Gateway Protocol

Distance Vector ProtocolNo Cost MetricIndicates Path VectorDe Facto Standard in public InternetAllows to Define Routing Policies

Example: To get from a node in AS X to a destination inAS Z , use AS’s

X1,X2, orX1,X3,X4

CSC358 - Introduction to Computer Networks

Page 22: CSC358 - Introduction to Computer Networksmarbach/COURSES/CSC358_S19_1/l14.pdf · 2019-01-02 · CSC358 - Introduction to Computer Networks. IPv4 Addressing 32 bits long (4 bytes)

Network Layer

IntroductionRouting Algorithms

Bellman-FordDijkstra’s

Hierarchical RoutingInternet Network Layer

IPRouting Protocols

CSC358 - Introduction to Computer Networks