IP Classes, IP Subneting, Superneting
IP Classes, IP Subneting, Superneting
IP CLASSES
IP SUBNETTING
IP SUPERNETTING
GROUP MEMBERS
BAKHTAWAR FAROOQ
(10-Arid-91)
AMJID ALI
(10-Arid-80)
FAHAD BIN TARIQ
(10-Arid-94)
MUHAMMAD ASAD TANWEER
(10-Arid-211)
What is an IP address?
• An Internet Protocol address (IP address) is a numerical
label assigned to each device participating in a
computer network that uses the Internet Protocol for
communication.
3
What is an IP address?
– An IP address is 32 bits in size
– Every IP address is grouped into four 8-bit octets
– Octets are separated by decimal points
Example:
206 . 40 . 185 . 73
11001110.00101000. 10111001.01001001
Example
140.179.220.200
10001100.10110011.11011100.11001000
We see the address in the decimal form
Your computer sees it in the binary form
What is an IP address?
WHY?
6
IP: IP Classes
• IP Subnetting
• Supernetting
7
IP Addressing
• IP Addressing (cont.)
– Each address consists of two parts: network and host
– The network portion of an address indicates whether the device
belongs to a Class A, B, C, D, or E network
– Some octet number are reserved for special functions
• Dotted decimal notation
– “Shorthand” convention used to represent IP addresses and make
them more easily readable by people
8
IP Address Breakdowns:
• The class of the address determines, by default,
which part is for the network (N) and which part
belongs to the node (n)
Class A:
NNNNNNNN.nnnnnnnn.nnnnnnnn.nnnnnnnn
Class B:
NNNNNNNN.NNNNNNNN.nnnnnnnn.nnnnnnnn
Class C:
NNNNNNNN.NNNNNNNN.NNNNNNNN.nnnnnn
Network Classes
10
Class ranges for Internet addresses
Class A
• Class A
– Addresses begin with 0xxx, or 1 to 126 decimal
– Class A addresses would have the following format:
• NNNNNNNN.nnnnnnnn.nnnnnnnn.nnnnnnnn
• There is one octet which defines the network address,
and three which defines the node address
• Used for networks with more than 65,536 hosts (up to
16777214 hosts)
Class A
• IP Address Bit Patterns
1 2-8 9 – 32 (24 bits)
Bit #
Class A: Network
0 Host #
#
8 16 24 32
8 16 24 32
15
Class C Addressing
• Addresses begin with 110x, or 192 to 223
• Format
– NNNNNNNN.NNNNNNNN.NNNNNNNN.nnnnnnnn
• There are three octets which define the network address and
one which define the node address
• Used with networks that have fewer than 254 hosts
IP addressing
• IP Address Bit Patterns
1 2 3 4 - 24 25 – 32 (8 bits)
Bit #
Class C: 1 1 0 Network # Host #
8 16 24 32
21
Subnetting
• Subnetting reduces the size of the routing tables
stored in routers.
• Subnetting extends the existing IP address base &
restructures the IP address.
• As a result, routers must have a way to extract from a
IP address both the Network address & the Host
address
Subnetting
24
Subnet mask
• Performing a bitwise logical AND between the IP
address and the subnet mask results in the network
address.
• Applying a subnet mask allows you to identify the
network and node parts of the address. A router will
then determine whether the address is local or remote .
Subnet mask
• Ex: Class - B 140.179.240.200
10001100.10110011.11110000.11001000
11111111.11111111.00000000.00000000
10001100.10110011.00000000.00000000
•Network Impact
• performance