Data Communications - PPTX Chapter 6 TCPIP
Data Communications - PPTX Chapter 6 TCPIP
Computer Network
Chapter 6
IP Addressing and Sub Divided Network (Subnetting)
BITS College
CCNA – official Cert guide (Chapter 11,12,13,14 . From Page 318 to 396)
COMPTIA Network+ study book ( Tamare Dean, Chapter 11,Page 415 to
456 )
Common ICONS used in networking
Introduction
Networks work correctly because the various devices and
software follow the rules.
Those rules come in the form of standards and protocols, which
are agreements of a particular part of how a network should
work.
Today, TCP/IP rules as the most pervasive networking model in
use.
Every computer operating system (OS) in existence, from mobile
phones to mainframe computers, support for TCP/IP.
TCP/IP Networking model
A networking model or framework, sometimes also called either a
networking architecture or networking blueprint, refers to a
comprehensive set of documents.
Individually, each document describes one small function required
for a network; collectively, these documents define everything that
should happen for a computer network to work.
Some documents define a protocol, which is a set of logical rules
that devices must follow to communicate. Other documents define
some physical requirements for networking.
ISO had a noble goal for the OSI model: to standardize data
networking protocols to allow communication among all computers
across the entire planet.
The TCP/IP model also avoids repeating work already done by some
other standards body or vendor consortium by simply referring to
standards or protocols created by those groups.
o For example, IEEE defines Ethernet LANs; the TCP/IP model does not define
Ethernet in RFCs, but refers to IEEE Ethernet as an option.
Imagine that Bob opens his browser. His browser has been
configured to automatically ask for web server default web page,
or home page. The general logic looks like
IPv4 Addressing
Simply Defined:
o An IP subnet is a subset of a Class A, B, or C network.
o In fact, the word subnet is a shortened version of the phrase subdivided
network.
Example of Class B network subnet
Determine the number of Subnets
To determine the number of subnets required, you must think
about the internetwork that need a subnet. Examples, LAN, VLAN
(may be different departments need separate LANs), WANs and so
on.
Determine the Number of Hosts per
Subnet
Classful IP Networks Before
Subnetting
Before subnetting a classful network, the network is a single group
of addresses. In other words, a network which is not yet subdivided
into many smaller subsets called subnets.
Masks and Mask formats
A subnet consists of a group of consecutive numbers. Most of these
numbers can be used as IP addresses by hosts.
However, each subnet reserves the first and last numbers in the
group, and these two numbers cannot be used as IP addresses. In
particular, each subnet contains the following:
o Subnet number: Also called the subnet ID or subnet address, this number
identifies the subnet. It is the numerically smallest number in the subnet.
o Subnet broadcast: Also called the subnet broadcast address or directed
broadcast address, this is the last (numerically highest) number in the
subnet.
o IP addresses: All the numbers between the subnet ID and the subnet
broadcast address can be used as a host IP address.
Number of Hosts per Network
Calculating the number of hosts per network requires some basic
binary math.
o First, consider a case where you have a single binary digit. How many
unique values are there? There are, of course, two values: 0 and 1.
o With 2 bits, you can make four combinations: 00, 01, 10, and 11.
o As it turns out, the total combination of unique values you can make with N
bits is 2N.
Host addresses—the IP addresses assigned to hosts—must be unique.
So, with H host bits, 2H unique combinations exist. However, the
number of hosts in a network is not 2H; instead, it is 2H – 2.
Each network reserves two numbers: one for the network ID and
one for the network broadcast address.
Exercise on Subnets
Example on Class c:
Consider 192.168.2.0 Network Address with Classful subnetting
255.255.255.0
How many subnets can we create from this network?
Class exercise on Creating 5 different network using class C
network
Practice on network address
Practice finding the various facts that can be derived from an IP
address, as discussed throughout this chapter.
Practice on network address
Practice finding the various facts that can be derived from an IP
address, as discussed throughout this chapter. (answer)
Analyzing Subnet Mask
The subnet mask holds the key to understanding several important
subnetting design points. However, to analyze a subnet mask, you
first need some basic math skills with masks. The math converts
masks between the three different formats used to represent a
mask:
o Binary
o Dotted-decimal notation (DDN)
o Prefix (also called Classless Inter-Domain Routing [CIDR])
Subnet Mask Formats
Subnet masks can be written as 32-bit binary numbers, but not just
any binary number. In particular, the binary subnet mask must
follow these rules: