The Network Layer Internetworking & The Network Layer in the Internet

Slides:



Advertisements
Similar presentations
The Network Layer Chapter 5. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
Advertisements

CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
IPv4 - The Internet Protocol Version 4
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
TCP/IP TCP/IP architecture
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
1 Quality of Service Requirements Techniques for Achieving Good Quality of Service Integrated Services Differentiated Services Label Switching and MPLS.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 24 Introduction to Computer Networks.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
The Network Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The.
The Network Layer Chapter 5.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
The Network Layer Week 5. Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of Connectionless.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
The Network Layer Chapter 5. Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Internetworking and Network Layer in Internet Lecture Tunneling, Internetwork Routing 2.Fragmentation 3.IP-Protocol 4.IP-Address Classes(A,B,C,D,E),
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
Transport Layer3-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.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
The Network Layer Chapter 5 1/4/2016www.ishuchita.com1.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer in the Internet (3)
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
Distributed Systems 10. Network Layer in the Internet Simon Razniewski Faculty of Computer Science Free University of Bozen-Bolzano A.Y. 2015/2016.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
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.
Introduction to Networks
Scaling the Network: Subnetting and Other Protocols
Homework 4 Out: Fri 2/24/2017 In: Fri 3/10/2017.
Computer Communication Networks
NAT – Network Address Translation
Chapter 4: Network Layer
Networking CS 3470, Section 1 Sarah Diesburg
CIDR – Classless InterDomain Routing
ICMP ICMP – Internet Control Message Protocol
Network Layer in the Internet (3)
IP - The Internet Protocol
Internet Control Message Protocol (ICMP)
Introduction to Computer Networks
CS 457 – Lecture 10 Internetworking and IP
Tanenbaum Chapter 5 Network
Internet Control Message Protocol (ICMP)
Internetworking Outline Best Effort Service Model
Networking CS 3470 Sarah Diesburg
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Net 323 D: Networks Protocols
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Scaling the Network: Subnetting and Other Protocols
Introduction to Networks
Network Fundamentals – Chapter 5
Networking CS 3470 Sarah Diesburg
Chapter 5 The Network Layer.
Presentation transcript:

The Network Layer Internetworking & The Network Layer in the Internet Chapter 5 The Network Layer Internetworking & The Network Layer in the Internet

Internetworking How networks differ How networks can be connected Tunneling Internetwork routing Packet fragmentation

Some of the many ways networks can differ How Networks Differ Some of the many ways networks can differ

How Networks Can Be Connected A packet crossing different networks. Network and link layer protocol processing. From 802.11 to MPLS – multi-protocol router strips the 802.11 frame and put the MPLS frame and then fragments when it is sent over IP

Tunneling a packet from Paris to London.

Tunneling a car from France to England The disadvantage of tunneling is that none of the hosts on the network that is tunneled over can be reached because the packets cannot escape in the middle of the tunnel

Internetwork Routing (1) Challenges in internetwork routing: The networks may internally use different routing algorithms (e.g., link state routing and distance vector routing) – finding shortest path becomes tricky. Networks run by different operators: Different ideas about what is a good path through the network – one operator wants least delay, another least cost. One operator may not want another operator to know details of the paths in its network. Individual networks may not need hierarchical solutions, while the combined network (internet) is huge and requires such solutions for scaling

Internetwork Routing (2) Two-level routing algorithm: Interior Gateway Protocol (IGP): Intra-domain routing protocol, used within individual networks. Border Gateway Protocol (BGP): Inter-domain routing protocol, used across the networks which make up the network. Since each network is operated independently of all the others, it is often referred to as an AS (Autonomous System). Routes across networks determined by: Business arrangements between ISPs. Government laws for countries if internetwork routing requires crossing international boundaries.

Packet Fragmentation (1) Packet size issues: Hardware Operating system Protocols Compliance with (inter)national standard. Reduce error-induced retransmissions Prevent packet occupying channel too long.

Packet Fragmentation (2) Transparent fragmentation. Nontransparent fragmentation

Packet Fragmentation (3) Fig.: Fragmentation when the elementary data size is 1 byte. (a) Original packet, containing 10 data bytes.

Packet Fragmentation (4) Fig. (contd.): Fragmentation when the elementary data size is 1 byte (b) Fragments after passing through a network with maximum packet size of 8 payload bytes plus header.

Packet Fragmentation (5) Fig. (contd.): Fragmentation when the elementary data size is 1 byte (c) Fragments after passing through a size 5 gateway.

Packet Fragmentation (6) Path MTU Discovery MTU: Maximum Transmission Unit – pushes the fragmentation to host from network

The Network Layer in the Internet The IP Protocol IP Addresses Internet Control Protocols OSPF – The Interior Gateway Routing Protocol BGP – The Exterior Gateway Routing Protocol Internet Multicasting Mobile IP IPv6

Design Principles for Internet Make sure it works. – deploy multiple protocol Keep it simple. Make clear choices. – not too many options as mentioned in standards Exploit modularity. Expect heterogeneity. Simple, general and flexible Avoid static options and parameters. Look for a good design; it need not be perfect. Be strict when sending and tolerant when receiving. Think about scalability. Consider performance and cost.

Collection of Subnetworks The Internet is an interconnected collection of many networks.

Tier – 1 network

The IPv4 (Internet Protocol) header. The IP Protocol The IPv4 (Internet Protocol) header.

The IP Header (1) Version – IPv4 / IPv6 IHL – how long the header is – in 32 bit word, minimum is 5, maximum is 15 (60 bytes) Type of Service – (6 bits) – four queuing priority, three discard probabilities and the historical class (Bottom 2 bits –congestion notification)

The IP Header (2) Total Length – header + data, maximum is 65,535 Identification Field – fragments of a datagram have same Identification value DF – Don’t Fragment (may mean moving through sub-optimal route, MF- More Fragments (all except the last fragment set). Fragment offset – all fragments multiple of 8 bytes – 8192 fragments

The IP Header (2) Time to Live Protocol – TCP, UDP Header Checksum – each 16 bit – 1’s complement and total 1’s complement

The IP Protocol (2) 5-54 Some of the IP options.

IP Addresses (1) An IP prefix.

Splitting an IP prefix into separate networks with subnetting. IP Addresses (2) Splitting an IP prefix into separate networks with subnetting.

A set of IP address assignments IP Addresses (3) A set of IP address assignments

Aggregation of IP prefixes IP Addresses (4) Aggregation of IP prefixes

Longest matching prefix routing at the New York router. IP Addresses (5) Longest matching prefix routing at the New York router.

IP Addresses (6) IP address formats

IP Addresses (7) Special IP addresses

Placement and operation of a NAT box. IP Addresses (8) Placement and operation of a NAT box.

A campus network consisting of LANs for various departments. Subnets A campus network consisting of LANs for various departments.

A class B network subnetted into 64 subnets.

CIDR – Classless Inter-Domain Routing 5-59 A set of IP address assignments.

Address Moving in CIDR A packet comes in .addressed 194.24.17.4 –compare it with each mask…. Largest Suffix match Aggregated entry of the three – 194.24.0.0/19 Omaha  Minneapolis, New York, Dallas, Denver 194.24.12.0/22

NAT – Network Address Translation Placement and operation of a NAT box.

NAT While leaving – IP, port are put in table, checksum is calculated and inserted into the packets. While coming back – IP, port, checksum of IP and port checksum Three ranges of IP addresses as private 10.0.0.0 172.16 ---- 172.31 192.168

NAT – Criticism Architectural model of IP where each IP is identified by a single machine Internet from connection-less to connection-oriented NAT violates the most fundamental rule of protocol layering Processes on the Internet are not required to use TCP or UDP Some application insert IP address in their body – (FTP) – NAT doesn’t know about it. Doesn’t ensure end-to-end connectivity

IP Version 6 Goals Support billions of hosts Reduce routing table size Simplify protocol Better security Attention to type of service Aid multicasting Roaming host without changing address Allow future protocol evolution Permit coexistence of old, new protocols

The IPv6 fixed header (required). IP Version 6 (1) The IPv6 fixed header (required).

IP Version 6 (2) IPv6 extension headers

The hop-by-hop extension header for large datagrams (jumbograms). IP Version 6 (3) The hop-by-hop extension header for large datagrams (jumbograms).

The extension header for routing. IP Version 6 (4) The extension header for routing.

Internet Control Message Protocol The principal ICMP message types.

Time exceeded path – when TTL becomes zero, the control packet comes back… Can be used for Traceroute Congestion control – mainly done in transport layer Redirect – router notices a packet is routed incorrectly Echo – ping Timestamp – arrival time and departure time Router Advertisement – let hosts find nearby server

ARP– Address Resolution Protocol Two switched Ethernet LANs joined by a router

Optimizations on ARP Two Broad Techniques Have configuration file Broadcast Optimizations for ARP: Caching Broadcast the mapping when booting (gratuitous ARP) Send it to router if not local

Dynamic Host Configuration Protocol Operation of DHCP. DHCP Relay, Broadcasts a DISCOVER, Leasing of IP, if not renewed it is taken back.

OSPF—An Interior Gateway Routing Protocol (1) An autonomous system

OSPF—An Interior Gateway Routing Protocol (5) Salient Features: O – open source Support variety of distant metrics Dynamic algorithm – have to adapt Load balancing and not the best path Hierarchical systems Security is needed OSPF supports connection – point-to-point/multi-access with broadcast What is tunnelling

OSPF—An Interior Gateway Routing Protocol (2) A graph representation of the previous slide.

OSPF—An Interior Gateway Routing Protocol (3) The relation between ASes, backbones, and areas in OSPF.

OSPF—An Interior Gateway Routing Protocol (4) The five types of OSPF messages

BGP—The Exterior Gateway Routing Protocol (1) Examples of routing constraints: No commercial traffic for educat. network Never put Iraq on route starting at Pentagon Choose cheaper network Choose better performing network Don’t go from Apple to Google to Apple

BGP—The Exterior Gateway Routing Protocol (2) Routing policies between four Autonomous Systems

Peering Peering is not transitive Early-exit or Hot Potato Routing Exit own ISP fast

BGP—The Exterior Gateway Routing Protocol (3) Propagation of BGP route advertisements

Internet Multicasting Multicasting: Sender sends to a large number of receivers simultaneously. Examples: streaming a live sports event to many viewers, delivering program updates to a pool of replicated servers. In IP, each class D address identifies a group of hosts; 28 bits available for identifying groups. Fig: Examples of local multicast addresses

Mobile IP Goals: Mobile host use home IP address anywhere. No software changes to fixed hosts No changes to router software, tables Packets for mobile hosts – restrict detours No overhead for mobile host at home.

End Chapter 5

Label Switching and MPLS (1) Transmitting a TCP segment using IP, MPLS, and PPP.

Label Switching and MPLS (2) Forwarding an IP packet through an MPLS network