Dr. John P. Abraham Professor UTPA

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.
Logical addressing Engr.Jawad Ali.
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.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Chapter 18. IP: Internet Protocol Addresses
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
Q and A, Ch. 21 IS333, Spring 2015 Victor Norman.
NETE0510 Presented by Dr.Apichan Kanjanavapastit
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
Types of Addresses in IPv4 Network Range
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
IP Addressing Introductory material. An entire module devoted to IP addresses.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
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:
Network Layer: Logical Addressing. Address Space Notations Classful Addressing Classless Addressing Network Address Translation (NAT) Topics Discussed.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
21-IP addressing Dr. John P. Abraham Professor UTPA.
HANNAM UNIVERSITY TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 Kyung Hee University Prof. Choong Seon HONG Subnetting/ Supernetting and Classless Addressing.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
Chapter 5 IPv4 Address.
Classful Internet Addresses Chapter 4. Universal Identifiers Designers of TCP/IP determined that each host on the internet would have a 32-bit identifier.
21-IP addressing Dr. John P. Abraham Professor UTPA.
CS470 Computer Networking Protocols
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
21-IP addressing Dr. John P. Abraham Professor UTPA.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 IPv4 Addresses.
Q and A, Ch. 21 IS333, Spring 2016 Victor Norman.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
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 Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
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.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3 rd Ed. IP Addressing.
IP Addresses: Classful Addressing
4.3 Network Layer Logical Addressing
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Network Layer: IP Addressing
Chapter-5 TCP/IP Suite.
4 Network Layer Part I Computer Networks Tutun Juhana
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
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.
IP Addresses: Classful Addressing
Chapter 5 Addressing Dr. Clincy Lecture.
Chapter 5 Working with IP Addresses
Chapter 26 IPv6 Addressing
Data Communications and Networking
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Dr. John P. Abraham Professor UTRGV
Dr. John P. Abraham Professor UTRGV
Chapter 5 IP addresses Classless Addressing
Dr. John P. Abraham Professor UTPA
Presentation transcript:

Dr. John P. Abraham Professor UTPA 21-IP addressing Dr. John P. Abraham Professor UTPA

Lecture notes I would strongly suggest you pay close attention to my lecture and take good notes. I go far beyond the textbook on this topic.

Addressing Physical Will Discuss more later Logical – see next slide MAC addresses do not suffice because the Internet can include multiple network technologies and each technology defines its own MAC addresses. Will Discuss more later Logical – see next slide

Logical Address The advantage of IP addressing lies in uniformity: an arbitrary pair of application programs can communicate without knowing the type of network hardware or MAC addresses being used

IP address 32 bits Hierarchy – prefix and suffix Prefix identifies the network – given by IANA In classful addressing, the network address (the first address in the block) is the one that is assigned to the organization. The range of addresses can automatically be inferred from the network address. Suffix identifies the computer –given locally No two computers can have the same public IP

Octets IP address is written in 4 octets with separating dots. 10000000.00001011.00000011.00011111 128.11.3.31 One of the UTPA CS address is: 10000001.01110001.10000010.01101110 What is this address in decimal notation?

Classful IP addressing Divided IP address space into three primary classes A, B, C and also there exist class D (multicasting) and E. First four (MSB) bits will determine its class

Size of Network Number Bit field Class Leading Bits Size of Network Number Bit field Size of Rest Bit field Number of Networks Addresses per Network Start address End address Class A     0     8     24     128 (27)     16,777,216 (224) 0.0.0.0 127.255.255.255 Class B    10     16     16,384 (214)     65,536 (216) 128.0.0.0 191.255.255.255 Class C  110     2,097,152 (221)     256 (28) 192.0.0.0 223.255.255.255 Class D (multicast) 1110     not defined 224.0.0.0 239.255.255.255 Class E (reserved) 1111 240.0.0.0 255.255.255.255

Finding the address class

Figure 4.5 Finding the class in decimal notation

Find the class of each address: a. 227.12.14.87 b.193.14.56.22 c.14.23.120.8 d. 252.5.15.111 e.134.11.78.56 Solution a. The first byte is 227 (between 224 and 239); the class is D. b. The first byte is 193 (between 192 and 223); the class is C. c. The first byte is 14 (between 0 and 127); the class is A. d. The first byte is 252 (between 240 and 255); the class is E. e. The first byte is 134 (between 128 and 191); the class is B.

LAN The network portion of all IP addresses should be the same on all machines within a LAN You can use VLAN to put machines from different networks together artificially. All computers within a LAN can be made visible to others in the LAN Machines in two different LANs can communicate using a Bridge.

LAN One should be able to share files with others within the LAN An user of the file should be able to MAP the directory and give a drive letter (in windows) Anyone wanting to connect to machine that does not belong the LAN must go through a routing table (usually located within the Router)

Transition to IPv6 When IP4 was defined only few computer networks existed Each year the networks are nearly doubling Changing IP addressing scheme is very costly. So, IPV4 is still used.

Authority for IP addresses Internet Corporation for Assigned Name and Numbers (ICANN) Authorizes a set of registrars to assign domains and related network address. Registrars make large blocks of addresses available to major ISPs

Subnet Addressing The network address is the beginning address of each block. It can be found by applying the default mask to any of the addresses in the block (including itself). It retains the netid of the block and sets the hostid to zero.

Subnets Makes smaller networks for better security and easy management Mask is used by routers to find the network portion of the address. AND operation.

Creating subnet masks Determine how many subnets you need How many bits would be required to create that many subnets? For example you need 8 subnets, need 3 bits set aside. Certain addresses are reserved, so all subnets can’t be used. Turn those bits (msb) to 1. For example class C, default subnet is 255.255.255.0, if you decided to subnet it to 8 subnets, then you would use the subnet 255.255.255.224. I will explain in class.

Example 12 Given the address 23.56.7.91, find the beginning address (network address). Solution 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.

Example 15 What is the subnetwork address if the destination address is 200.45.34.56 and the subnet mask is 255.255.240.0? Solution We apply the AND operation on the address and the subnet mask. Address ➡ 11001000 00101101 00100010 00111000 Subnet Mask ➡ 11111111 11111111 11110000 00000000 Subnetwork Address ➡ 11001000 00101101 00100000 00000000.

Figure 4.25 Comparison of a default mask and a subnet mask

Table 4.3 Special addresses Private IPs

CIDR notation Classless Inter-Domain routing (CIDR) Ddd.ddd.ddd.ddd/m 192.5.48.69/26 Used for subnetting and supernetting An ISP can now subdivide a larger blocks and hand out 1, 2, 4, 8,.. (power of 2) to the customers. These are called variable length bocks and we use a slash notation.

Slash notation In classless addressing we need to include the prefix length to each address if we need to find the block of the address. Given the address 167.199.170.82/27 the netmask is 255.255.255.224 (27 ones).

Calculations Given the address 110.23.120.14/20 find the number of address, the first and last address in the block There are 20 1s. So 255.255.?.0 11110000 is 240. The mask is 255.255.240.0 Number of addresses is 32-20, so 212 or 4096 To find the first address AND the given address with the mask. 110.23.120.14 AND 255.255.240.0 = 110.23.112.0 (third octet 01110000 AND 11110000 To find the last address: OR the address with the complement of the mask. 110.23.127.255 (also we can keep all the 32-20 left most bits of the IP and change the 12 rightmost to 1s.

10.4.12.0/22 Mask is 255.255.252.0 First IP 10.4.00011000.0 AND 255.255.11111100.0 =10.4.00011000.0 = 10.4.12.0 Number of IP is 32-22 = 10. 210 =1024 Last 10.4.15.255

Block Assignment The number of IP addresses requested should be power of 2 The requested block needs to be allocated where there are a contiguous number of unallocated addresses in the address space. Suppose a block of 1000 IP requested. Power of 2 is 210 which is 1024. Prefix length is 32-10 which is 22. From the available address space, say 18.14.12.0/22 (which is divisible by 1024) is given. Last address is 18.14.15.255

Special addresses All zeros – When a device does not know its on IP address, it requests one using this address as the source and sends a limited broadcast asking for an IP. Therefore, all zeros means, me. All ones. Limited broadcast address in the current network. Loopback address. 127.0.0.0 is localhost. Used to test a software on a machine.