Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,

Slides:



Advertisements
Similar presentations
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Advertisements

Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
ARP: Address Resolution Protocol
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Helper Protocols Protocols that either make it easier for IP to do its job, or extend the capabilities of the network layer.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Subnetting.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 03/04/2007.
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
Host Configuration: BOOTP and DHCP
Address Resolution Protocol (ARP). Mapping IP Address to Data-Link Address  How does a machine map an IP address to its Data- Link layer (hardware or.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
23-Support Protocols and Technologies Dr. John P. Abraham Professor UTPA.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
CCNA 2 Week 8 TCP/IP Suite Error Control Messages.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
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.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Birgit Bonham: Prospect High School ARP….or What’s your MAC address?
Chapter 23: ARP, ICMP, DHCP CS332, IS333 Spring 2014.
1 Network Layer Lecture 12 Imran Ahmed University of Management & Technology.
ARP The Process and the Protocol. Note to reader The information explained in this section is a simplification and extrapolation of the actual ARP determination.
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
Chapter 17 BOOTP and DHCP.
Chapter 18 Host Configuration : DHCP
CSIT 220 (Blum)1 ARP Based on Computer Networks and Internets (Comer)
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
( Address Resolution Protocol )
Ethernet switch Hosts Can talk using Ethernet addresses only.
1 Connectivity with ARP and RARP. 2 There needs to be a mapping between the layer 2 and layer 3 addresses (i.e. IP to Ethernet). Mapping should be dynamic.
Address Resolution Protocol (ARP). Internet and Data Link Layer Addresses Each host and router on a subnet needs a data link layer address to specify.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
© 2003, Cisco Systems, Inc. All rights reserved.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
Chapter 21 Address Mapping
Objective: ARP.
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
BOOTP and DHCP Objectives
Net 323: NETWORK Protocols
Chapter 18 Host Configuration : DHCP
Advanced Computer Networks
ARP: Address Resolution Protocol
CS 457 – Lecture 11 More IP Networking
Chapter 16 Host Configuration : BOOTP and DHCP
1 ADDRESS RESOLUTION PROTOCOL (ARP) & REVERSE ADDRESS RESOLUTION PROTOCOL ( RARP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University,
ARP: Address Resolution Protocol
Chapter 18 Host Configuration : DHCP
Dynamic Host Configuration Protocol (DHCP)
Presentation transcript:

Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF

M,N Example of Subnetting R R Lan 1 Lan 2 Lan H1 H2 H3 Lan 1 Subnet # Subnet Mask Lan 2 Subnet # Subnet Mask Lan 3 Subnet # Subnet Mask

Example of Subnetting The bitwise AND of a host IP address and the subnet mask provides the subnet # of the host and of all other hosts on the same subnet. Say H1 wants to send a packet to H2. H1 does a bitwise AND between its own subnet mask and the destination IP address AND = = This result does not match the subnet # for H1 and so H1 knows H2 is on a different subnet. To support subnetting, the routing table of a router holds entries of the form Router R1’s table: Subnet #Subnet MaskNext Hop Interface Interface R2

Internet Control Protocols in the Network Layer - ICMP Internet Control Message Protocol (ICMP) is a companion protocol to IP. ICMP defines a collection of error messages that are sent back to the source host whenever a router or host is unable to process an IP datagram successfully. Examples of error messages: 1. Destination Unreachable: Could be due to link failure or router unable to locate destination 2. Time Exceeded: When TTL decrements to ICMP – Redirect: Tells source host that there is a better route to the destination. 4. ECHO REQUEST: To see if a destination is alive and reachable. 5. ECHO REPY 6. Source Quench: Used to throttle hosts that were sending too many packets.

Internet Control Protocols in the Network Layer - ARP Address Resolution Protocol (ARP) An IP address (4-bytes) needs to be mapped into a link-level address (e.g. a 6- bytes Ethernet or MAC address) before a packet encapsulated in a frame can be delivered to a host on a network (LAN) or to a router on a LAN that will forward it. A source host on a LAN broadcasts an ARP REQUEST packet with the IP address of the destination host (“Who owns this IP address?”) and the destination host replies with an ARP REPLY packet containing its MAC address. The source host caches the destination MAC address for future use. Then the source host sends the MAC/Ethernet frame containing the IP packet to the destination host. To allow mappings to change (e.g. if an Ethernet NIC card breaks or is replaced) entries in the ARP cache are timed out every 15 minutes.

Internet Control Protocols in the Network Layer – RARP, BOOTP, DHCP Reverse Address Resolution Protocol (RARP) This answers the reverse question, i.e. given an Ethernet address, what is the corresponding IP address. Used when booting a diskless workstation on the LAN. Upon boot-up, RARP allows a workstation to broadcast its Ethernet address and ask if any one knows its IP address (“Does anyone know my IP address?”) The RARP server responds with the IP address of the workstation. A disadvantage of RARP is that it uses a destination address of all 1s (limited broadcasting) to reach the RARP server. However, such broadcasts are not forwarded by routers, so a RARP server is needed on each LAN in an organization. Once a workstation has its IP address it can contact the file server for the image of the OS, file server’s IP address, default router’s IP address. Each of these requests is a separate request-reply. This is inefficient.

Internet Control Protocols in the Network Layer – RARP, BOOTP, DHCP Boot Protocol (BOOTP) Uses UDP. It does a limited broadcast which is forwarded over routers. Only one BOOTP server is needed for all the LANs in an organization. To improve on efficiency, BOOTP server responds with the workstation’s IP address, default router’s IP address, file server’s IP address, and filename of the OS image in one reply packet. BOOTP does not automatically assign IP addresses to a client workstation. The MAC address – IP address mapping table is still required to be configured and maintained manually at the BOOTP server. So when a new host is added to a LAN, it cannot use BOOTP until a network admin has assigned it an IP address and entered its Ethernet address and IP address into the BOOTP configuration table manually.

Internet Control Protocols in the Network Layer – RARP, BOOTP, DHCP Dynamic Host Configuration Protocol (DHCP) An IP address can be automatically assigned to a client host from a pool of IP addresses. IP addresses assigned automatically are leased for a fixed amount of time. DHCP allows both manual IP address and automatic assignment and has replaced both RARP and BOOTP. The DHCP server need not be on the same LAN as the requesting client host. Since the DHCP server may not be reachable by broadcasting, a DHCP relay agent is needed on each LAN.