Chapters 4 & 5 Addressing Will go over Exam 1

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Advertisements

Chapter 18. IP: Internet Protocol Addresses
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addresses: Classful Addressing.
IP Addresses: Classful Addressing An IP address is a 32-bit address.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addressing.
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
Copyright 2002, Marchany TCP/IP Review Randy Marchany VA Tech Computing Center Spring, 2001.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
1 Kyung Hee University Prof. Choong Seon HONG IP Addressing : Classful Addressing.
TCP/IPTCP/IP Dr. ClincyLecture1 Chapter 5: Addressing (Part 2 of 3) Agenda Special Addresses Classful - Subnetting Classful - Supernetting.
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing Teeratorn Saneeyeng, KMUTNB.
21-IP addressing Dr. John P. Abraham Professor UTPA.
CS4500CS4500 Dr. ClincyLecture1 Lecture #2 Chapter 5: Addressing (Part 2 of 3)
Chapter 4 IP Addressing : Classful Addressing
Subnetting When an organization is given a block of class A, B, or C address, the first address in the block defines the network address. This address.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 Chapter 4 IP Addressing : Classful Addressing Chapter 4 IP Addressing : Classful Addressing Mi-Jung Choi Dept. of Computer Science, KUN
CS4500CS4500 Dr. ClincyLecture1 Lecture #6 Chapter 5: Addressing (part 1 of 3) Address Structure Classful Addressing Number Systems (Appendix B) Mask –
Chapter 5 IPv4 Address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
21-IP addressing Dr. John P. Abraham Professor UTPA.
Ethernet switch Hosts Can talk using Ethernet addresses only.
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing.
Subnetting Subnetting is not in the CIS221-3 Syllabus
Chapters 4 & 5 Addressing Part 2 of 2
IP Addresses: Classful Addressing
Chapter 05 Exam Review CCNA Discovery 01 – Computer and Network Fundamentals Presented by: Phillip Place Cisco Academy Instructor Lake Michigan College.
Chapter 6 Delivery & Forwarding of IP Packets
Network Layer, and Logical Addresses
Binary Lesson 4 Classful IP Addresses
Chapters 4 & 5 Addressing Will go over Exam 1
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
IP Addresses: Classful Addressing
CS 1302 Computer Networks — Unit - 3 — — Network Layer —
IP Addresses: Classful Addressing
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Binary Lesson 5 Classful IP Addresses
Chapter 5 Addressing Dr. Clincy Lecture.
Chapter 6 Delivery & Forwarding of IP Packets
NAT/ARP/RARP (Ch 5 & 8) Dr. Clincy Lecture.
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Chapter 5 Addressing Dr. Clincy Lecture.
Unit 2: IP addressing (Contd.). Delivery and routing of packets
כתובות IP.
8PM – Quickly Overview Final Project
Chapters 4 & 5 Addressing Will go over Exam 2
Ch 3: Underlying Technologies (remainder)
Data Communications and Networking
Dr. John P. Abraham Professor UTRGV
Chapters 4 & 5 Addressing Will go over Exam 1
Chapters 4 & 5 Addressing Will go over Exam 1
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Chapters 4 & 5 Addressing Will go over Exam 1
OSI Network Layer Presented By Dr. Waleed Alseat Mutah University.
STRUCTURE OF A ROUTER We represent a router as a black box that accepts incoming packets from one of the input ports (interfaces), uses a routing table.
Presentation transcript:

Chapters 4 & 5 Addressing Will go over Exam 1 Dr. Clincy Lecture

Recall, what info is used by router to make next hop decision ? What ACTUAL info does the router use to make a next hop decision ? Dr. Clincy Lecture

Mask Given the network address, we can easily determine the block and range of addresses Suppose given the IP address, can we determine the network address (beginning of the block) ? To route packets to the correct network, a router must extract the network address from the destination IP address For example, given 134.45.78.2, we know this is a class B, therefore 134.45 is the netid and 134.45.0.0 is the network address (starting address of the block) How would we EXTRACT the network address from the IP address? We would use a MASK. A mask is a 32-bit binary number that gives the first address in the block (the network address) when bitwise ANDed with an address in the block. Dr. Clincy Lecture

AND operation If bit is ANDed with 1, it’s preserved If bit is ANDed with 0, it’s changed to a 0. There are 3 default masks: one for each class. The default masks preserve the netid when ANDed with the addresses Class A Default Mask: 255.0.0.0 Class B Default Mask: 255.255.0.0 Class C Default Mask: 255.255.255.0 A simple way to determine the netid for un-subnetted cases: (1) if mask byte is 255, retain corresponding byte of the address, (2) if mask byte is 0, set corresponding address byte to 0. Dr. Clincy Lecture

Examples Given the address 23.56.7.91 and the default class A mask, find the beginning address (network address). The default mask is 255.0.0.0, which means that only the first byte is preserved and the other 3 bytes are set to 0s. The network address is 23.0.0.0. Solution Given the address 132.6.17.85 and the default class B mask, find the beginning address (network address). The default mask is 255.255.0.0, which means that the first 2 bytes are preserved and the other 2 bytes are set to 0s. The network address is 132.6.0.0. Solution Given the address 201.180.56.5 and the class C default mask, find the beginning address (network address). The default mask is 255.255.255.0, which means that the first 3 bytes are preserved and the last byte is set to 0. The network address is 201.180.56.0. Solution Dr. Clincy Lecture

5-bit Address Space Illustration No Netid case 32 addresses/block Number of blocks: 1 Address range per block: 0 to 31 Netids: N/A Network Addresses : 00000 Broadcast Addresses: 11111 Dr. Clincy Lecture

5-bit Address Space Illustration 1-bit Netid case 16 addresses/block Number of blocks: 2 Address range per block: 0 to 15 Netids: 0, 1 Network Addresses : 00000, 10000 Broadcast Addresses: 01111, 11111 What is the mask ? Dr. Clincy Lecture

5-bit Address Space Illustration 2-bit Netid Case 8 addresses/block Number of blocks: 4 Address range per block: 0 to 7 Netids: 00, 01, 10, 11 Network Addresses : 00000, 01000, 10000, 11000 Broadcast Addresses: 00111, 01111, 10111, 11111 What is the mask ? Dr. Clincy Lecture

5-bit Address Space Illustration 3-bit Netid Case 4 addresses/block Number of blocks: 8 Address range per block: 0 to 3 Netids: 000, 001, 010, 011, 100, 101, 110, 111 Network Addresses : 00000, 00100, 01000, 01100 10000, 10100, 11000, 11100 Broadcast Addresses: 00011, 00111, 01011, 01111 10011, 10111, 11011, 11111 What is the mask ? Dr. Clincy Lecture

Mixing 3-bit & 2-bit Cases (think of the 32-bit case) 4 addresses/block and 8 addresses/block Number of blocks: 6 Address range per block: 0 to 3 and 0 to 7 Netids: 000, 001, 010, 011, 10, 11 Network Addresses : 00000, 00100, 01000, 01100 10000, 11000 Broadcast Addresses: 00011, 00111, 01011, 01111 10111, 11111 Dr. Clincy Lecture

Multihomed devices As we mentioned that, any device with one or more connections to the Internet will need an IP address for EACH connection – such devices are called “multihomed” devices. A Router could be a multihomed device Dr. Clincy Lecture

Example of direct broadcast address Router sending to all hosts on a network If the hostid is all 1’s, it’s called a “broadcast address” and the router use it to send a packet to all host in a specific network. In this case, hosts 20, 64, 126 and etc. will receive the packet from the router Example of limited broadcast address Host sending to all other hosts on a network If the hostid and netid are all 1’s, it’s called a “limited broadcast address”. If the host wants to send a packet to all host in a specific network, it would use this address. The router would block this address so that data stays contained within a specific network. Dr. Clincy Lecture

Example of this host on this address IPless Host sending message to bootstrap server An address of all 0’s is used during bootstrap time if the host doesn’t know it’s IP address. The un-named host sends an all 0 source address and limited broadcast (all 1’s) destination address to the bootstrap server. Example of specific host on this network Host sending to some other specific host on a network An address with a netid of all 0’s is used by a host or router to send another host with in the same network a message. Dr. Clincy Lecture

Example of loopback address The IP address with the 1st byte equal to 127 is used for the loop back address. Loopback address is used to test software on a machine – the packet never leaves the machine – it returns to the protocol software Example: a “ping” command can send a packet with a loopback address as the destination address to see if the IP software is capable of receiving and processing a packet. Dr. Clincy Lecture

Sample internet With your new found knowledge, think about Project 2 Ethernet ATM Token Ring Ethernet With your new found knowledge, think about Project 2 Dr. Clincy Lecture

Exam 2 Results & Grading Scale Average Score = 48 Standard Deviation= 15 (large) 88-73 A-grade (0 students) 72-57 B-grade (7 students) 56-41 C-grade (4 students) 40-25 D-grade (5 students) 24-9 F-grade (1 student) Dr. Clincy Lecture