Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.

Slides:



Advertisements
Similar presentations
Chapter 9a Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain why routing is necessary for hosts on different.
Advertisements

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.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Chapter Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
Q and A, Ch. 21 IS333, Spring 2015 Victor Norman.
IP Addressing and Subnetting
Introduction to Networking (Yarnfield) Variable Length Subnet Masking (VLSM)
11 ASSIGNING IP ADDRESSES Chapter 2. Chapter 2: ASSIGNING IP ADDRESSES2 CHAPTER OVERVIEW  Describe the structure of IP addresses and subnet masks. 
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
Introduction to Networking
Week 3 - IP addressing 4 Introduction to IP addressing 4 Classes of IP addressing 4 Why Subnet Masks are necessary? 4 How to create subnet masks.
Optimizing IP Address Allocation
IP Addressing INTW What is an IP address? An unique identifier for a computer or device (host) on a TCP/IP network A 32-bit binary number usually.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Types of Addresses in IPv4 Network Range
4: Addressing Working At A Small-to-Medium Business or ISP.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Classless and Subnet Address Extensions (CIDR)
IP Addressing Introductory material. An entire module devoted to IP addresses.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
1 Kyung Hee University Chapter 5 IP addresses Classless Addressing.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 18 IP: Internet Protocol Addresses
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:
Chapter 6 VLSM and CIDR.
CLASSLESS INTER-DOMAIN ROUTING {CIDR} & SUBNETTING PHILLIP LAFLEUR NATHAN GRAMMES JONATHAN BENNETT.
Data Communications and Networks Chapter 7 – IP Addressing ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Lesson 2 – IP Addressing IP Address (IPv4 – Version 4) Private and Public Address Brief Introduction to IPv6 – Version 6.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
Classful Internet Addresses Chapter 4. Universal Identifiers Designers of TCP/IP determined that each host on the internet would have a 32-bit identifier.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
Chapter 5b.  Upon completion of this chapter, you should be able to:  Subnet an IPv4 address to make separate networks out of one address given  Use.
CS470 Computer Networking Protocols
Easy Subnetting. Chapter 4 Objectives Topics Covered in this chapter include: Interpret network diagrams Describe the operation and benefits of using.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
Chapter 8: IP Addressing
Q and A, Ch. 21 IS333, Spring 2016 Victor Norman.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Chapter Subnets in TCP/IP Networks © N. Ganesan, Ph.D.
30/11/1008-Supernetting1 Revision of Classful IP Addressing © Tanenbaum, Prentice Hall International.
IP Addressing.
Ip addressing & subnetting
4.3 Network Layer Logical Addressing
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Network Layer, and Logical Addresses
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
IPV4.
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
Chapter 2 Easy Subnetting
Q and A, Ch. 21 CS332, Fall 2017 Victor Norman.
Cases in Subnetting.
Chapter 2 Easy Subnetting
Ip addressing & subnetting
Chapter 5 IP addresses Classless Addressing
Figure 6.11 Configuration for Example 4
Presentation transcript:

Chapter 21 Exercises 1

A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that machine is on.) 2

Big Question Addresses have to be assigned to hosts based on the network they are on. How can that be done? 3

Exercise You are the CIO of a company and get addresses total (numbered 0 to 9999) and have 10 networks each managed by a different administrator, and you want each network administrator to be able to assign addresses independently. How do you allocated addresses? (Remember how routers work: move packets based on network addresses, not host addresses.) 4

Answer these questions about your scheme: Does every host get a unique address? How many networks can be supported? How many hosts per network? How does a router know, from a destination address in a packet, which network the host is on? 5

Exercise What if you had 100 networks in your company? What scheme would you use? Can you answer the questions from the previous slide? 6

Exercise What if you had 12 networks in your company? What scheme would you use? 7

Your company is connected to the Internet via one router, so other computers can communicate with hosts in your network. What do the routers in the Internet need to know to send packets to your company’s networks? 8

Summary: with 10 networks, use 1 st digit to indicate network, and 1000 hosts per network. with 100 networks, use 1 st 2 digits to indicate network, and 100 hosts per network. (or some other rule…) can be decided by CIO/network admin. 9

BUT: somehow routers in your network have to be configured to know which part of the address is _________ _______ and ______ ________. Come up with a scheme to indicate this. 10

Question: does a router need this “indicator” to identify a host? 11

Now: switch to binary instead of decimal. (Why does IP use binary addressing instead of decimal?) Suppose you have 1 byte IP addresses. How many total IP addresses in the world? Suppose you have 4 (sub) networks. How to allocate addresses? 12

How many hosts per network? Can you compute the network from the host IP address? What is the subnet mask? What are the formulas for computing max hosts supported on a subnet and max # of networks? 13

32-bit addresses How many bytes is that? How many total addresses (theoretically)? How is a 32-bit address written? What are common divisions between network part and host part? 14

Classful Addressing (p. 348) Why was it invented? How many class A networks? B? C? (What are the “implied” masks for these networks?) What if you needed 500 addresses? What class address would you get? How many wasted addresses? 15

Classless Inter-Domain Routing (CIDR) What changed from classful addressing? What must routers know now in order to forward packets correctly? 16

What kind of address is this? (host? network? limited bcast? directed bcast?) / / / / /32 17