Network Layer, and Logical Addresses

Slides:



Advertisements
Similar presentations
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Advertisements

19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
Network Layer: Logical Addressing. 4-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Network Layer. The Network layer, or OSI Layer 3, provides services to exchange the individual pieces of data over the network between identified end.
TCP/IP TCP/IP Basics Alvin Kwan. TCP/IP What is TCP/IP?  It is a protocol suite governing how data can be communicated in a network environment, both.
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 19 Network Layer: Logical Addressing
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
November 29, 2004 Prof. Paul Lin 1 CPET Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
CS4500CS4500 Dr. ClincyLecture1 Lecture #6 Chapter 5: Addressing (part 1 of 3) Address Structure Classful Addressing Number Systems (Appendix B) Mask –
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
Telecommunications Essentials John R. Durrett July 5, 2005.
TCP/IP & INTERNET Unit 2 Department Of Computer Science & Engineeing.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
CIT232©IFM-CIT Dept The Internet. CIT232©IFM-CIT Dept Know how the Internet began. Understand the architecture of today’s Internet and its relation- ship.
Delivery and Forwarding Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Chapter 8: IP Addressing
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 Kyung Hee University Chapter 19 Network Layer: Logical Addressing.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
IP Addresses: Classful Addressing
LESSON Networking Fundamentals Understand IPv4.
4.3 Network Layer Logical Addressing
Scaling the Network: The Internet Protocol
Part I. Overview of Data Communications and Networking
COMPUTER NETWORKS CS610 Lecture-45 Hammad Khalid Khan.
PART IV Network Layer.
IP Addresses: Classful Addressing
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
IP Addresses: Classful Addressing
CS 457 – Lecture 10 Internetworking and IP
Chapter 19 Network Layer: Logical Addressing
Data Communications and Networking
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Scaling the Network: The Internet Protocol
Introduction to Networks
16EC Computer networks unit II Mr.M.Jagadesh
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Review of Internet Protocols Network Layer
Introduction to Network
Lecture#3-IPV4 Addressing
Presentation transcript:

Network Layer, and Logical Addresses Chapter 18 COMP 3270 Computer Networks Computing Science Thompson Rivers University

Host-to-host delivery of packets Network Layer ☺ Main responsibility? Host-to-host delivery of packets

Position of the network layer Sour port number Source address Source & destination port number Logical destination address TCP, UDP IGMP Source address Logical destination address IP ARP RIP, OSPF Physical destination address Interface Ethernet, Token ring, W-LAN, FDDI, …

Network layer duties A view of a global Routing and Network over many different physical networks Routing and forwarding Globally unique addressing scheme

1. INTERNETWORKING Topics discussed in this section: In this section, we discuss internetworking, connecting networks together to make an internetwork or an internet. ☺ What is an internetwork? Review of the IP packet forwarding mechanism. Topics discussed in this section: Need for Network Layer Internet as a Datagram Network Internet as a Connectionless Network

☺ How do A and D exchange data? Need for Network Layer Links between two hosts LAN ☺ How do A and D exchange data?

Host-to-host delivery Each data link handles its own network interface only; There is no interaction between them even though they are in the same switch system S1. Host-to-host delivery ☺ How to decide the next hop for the traffic from A to D, through f2 or f3? LAN Data link layer; Physical layer

S1 is connected to S3 through f3. It decides the next hop (the IP address of S3 and the interface f3) f1 f3 f1 f2 LAN

Internet as a Datagram Network The datagram approach to packet switching, and connectionless service. Telecommunications networks ATM, FR, X.25 The Internet

There is no specific route established from the source to the destination. They can arrive in a different order; Reordering does not occur in the network layer. ☺ Then in which layer?

☺ How many different types of address are used in the Internet 5 layers?

4. IPv4 ADDRESSES Topics discussed in this section: An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet. Topics discussed in this section: Address Space Notations Classful Addressing DHCP

Address Space An IPv4 address is 32 bits long. The address space of IPv4 is 232 or 4,294,967,296. The public IPv4 addresses are unique and universal.

Notations

Dotted-decimal notation & binary notation

Example: Change the following IPv4 addresses from binary notation to dotted-decimal notation. Solution:

Example: Change the following IPv4 addresses from dotted-decimal notation to binary notation. Solution:

Example: Find the error, if any, in the following IPv4 addresses.

Addressing An IP address consists of Netid (or also called address block id) + Hostid. A netid represent a logical IP network. Two addressing schemes. classful addressing classless addressing

Classful Addressing In classful addressing, the address space is divided into five classes: A, B, C, D, and E.

Finding the classes in binary and dotted-decimal notation An IP address consists of Netid + Hostid. A netid represent a logical IP network. ☺ How to get the netid to which an IP address belongs?

Example: Find the class of each address. b. 11000001 10000011 00011011 11111111 c. 14.23.120.8 d. 129.5.15.111

Number of blocks and block size in classful IPv4 addressing 3 bytes In classful addressing, classful address blocks are allocated to IP networks (logical networks), and a large part of the available addresses were wasted.

Default netmasks for classful addressing ☺ Given an address, how to find the address block to which the address belongs ??? ☺ IP address BIT_AND netmask = ??? E.g., 198.162.21.132 & 255.255.255.0 = 198.162.21.0 198.162.21.0 /24 represents the address block of addresses from 198.162.21.0 to 198.162.21.255.

Classless Addressing In classless addressing, the netids do not have to use 1B, 2B, or 3B. Any number of bits can be used for netids. ☺ How? /n and netmask Classless addressing is used in IP packet forwarding and routing.

DHCP (Dynamic Host Configuration Protocol) DHCP provides static and dynamic address allocation that can be manual or automatic. ☺ DHCP server must be in the same physical network? ☺ There could be two DHCP servers in the same physical network? ☺ What information is assigned by DHCP?

An IPv6 address is 128 bits long. IPv6 ADDRESSES IPv6 is a next generation IP. Despite all short-term solutions, address depletion is still a long-term problem for the IPv4 Internet. This and other problems in the IPv4 protocol itself have been the motivation for IPv6. An IPv6 address is 128 bits long.