Professional Documents
Culture Documents
CS-605 Slide 1 - Lecture 3 - IP Classful Addressing PDF
CS-605 Slide 1 - Lecture 3 - IP Classful Addressing PDF
CS-605 Slide 1 - Lecture 3 - IP Classful Addressing PDF
IP Addresses:
Classful Addressing
©The McGraw-Hill Companies, Inc., 2000 1 © Adapted for use at JMU by Mohamed Aboutabl, 2003
CONTENTS
• INTRODUCTION
• CLASSFUL ADDRESSING
• OTHER ISSUES
• A SAMPLE INTERNET
©The McGraw-Hill Companies, Inc., 2000 2 © Adapted for use at JMU by Mohamed Aboutabl, 2003
4.1 Introduction
• An IP address is a 32-bit address that identifies a connection to
the Internet.
• The IP addresses are universally unique.
• The address space of IPv4 is 232 or 4,294,967,296.
• IP address is written as a Binary (hexadecimal) or a Dotted-
Decimal (w/out leading zeros) notation. See examples in the
textbook.
©The McGraw-Hill Companies, Inc., 2000 3 © Adapted for use at JMU by Mohamed Aboutabl, 2003
CLASSFUL
4.2 ADDRESSING
1
2
1 1 1 1
4 8 16 16
©The McGraw-Hill Companies, Inc., 2000 4 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Finding the class of an IP address
1st Byte
decimal
values
0 - 127
128-191
192-223
224-239
240-255
©The McGraw-Hill Companies, Inc., 2000 5 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example 5
Solution
©The McGraw-Hill Companies, Inc., 2000 7 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example 7
Solution
©The McGraw-Hill Companies, Inc., 2000 8 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example 7 (Continued)
Solution
©The McGraw-Hill Companies, Inc., 2000 9 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Netid and hostid
©The McGraw-Hill Companies, Inc., 2000 14 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Network Addresses
©The McGraw-Hill Companies, Inc., 2000 15 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example 9
Solution
Solution
Solution
©The McGraw-Hill Companies, Inc., 2000 18 © Adapted for use at JMU by Mohamed Aboutabl, 2003
IP address → Network Address
©The McGraw-Hill Companies, Inc., 2000 19 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Default Masks
A 255.0.0.0
B 255.255.0.0
C 255.255.255.0
©The McGraw-Hill Companies, Inc., 2000 20 © Adapted for use at JMU by Mohamed Aboutabl, 2003
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.
©The McGraw-Hill Companies, Inc., 2000 21 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example 12
Solution
Solution
©The McGraw-Hill Companies, Inc., 2000 24 © Adapted for use at JMU by Mohamed Aboutabl, 2003
• IP addresses are almost depleted even though
the number of devices on the Internet is much
less than 2^32.
• Remedies to this problem are discussed in
Chapter 5
©The McGraw-Hill Companies, Inc., 2000 25 © Adapted for use at JMU by Mohamed Aboutabl, 2003
4.13
OTHER
ISSUES
©The McGraw-Hill Companies, Inc., 2000 26 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Multihomed devices
©The McGraw-Hill Companies, Inc., 2000 27 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Special Addresses
1. Network Address
2. Direct Broadcast Address
3. Limited Broadcast Address
4. This Host on This Network
5. Specific Host on This Network
6. Loopback Address
©The McGraw-Hill Companies, Inc., 2000 28 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Network addresses
©The McGraw-Hill Companies, Inc., 2000 29 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example of direct broadcast address
©The McGraw-Hill Companies, Inc., 2000 30 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example of limited broadcast address
©The McGraw-Hill Companies, Inc., 2000 31 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example of this host on this address
©The McGraw-Hill Companies, Inc., 2000 32 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example of specific host on this network
©The McGraw-Hill Companies, Inc., 2000 33 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Example of loopback address
©The McGraw-Hill Companies, Inc., 2000 34 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Private Addresses
©The McGraw-Hill Companies, Inc., 2000 35 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Unicast, Multicast, and
Broadcast Addresses
Unicast communication is one-to-one.
©The McGraw-Hill Companies, Inc., 2000 36 © Adapted for use at JMU by Mohamed Aboutabl, 2003
4.4 A SAMPLE
INTERNET
WITH
CLASSFUL
ADDRESSES
©The McGraw-Hill Companies, Inc., 2000 37 © Adapted for use at JMU by Mohamed Aboutabl, 2003
Sample internet
©The McGraw-Hill Companies, Inc., 2000 38 © Adapted for use at JMU by Mohamed Aboutabl, 2003