Digital Network - Lecturer2
Digital Network - Lecturer2
Digital Network - Lecturer2
ETU 08102
Digital Networks
Ally, J
DIT
IP Network
DIT
InterNetwork
Millions of end points (you, me, and toasters)
connected across a mesh of links
Many end points can be addressed by numbers
Many others lie behind a virtual end point
hosts
Question:
routers
hardware
software
Turn to analogies in air travel
ticket (purchase) ticket (complain)
airplane routing
A series of steps
Internet Protocol Stack
Application: supporting network applications
FTP, SMTP, HTTP
application
Transport: host-host data transfer
TCP, UDP transport
Network: routing of datagrams from source to
destination network
IP, routing protocols
link
Link: data transfer between neighboring
network elements
physical
PPP, Ethernet, WiFi, Bluetooth
IP v4 / v6 SS-7 Dedicated
Network Layer
OIF ATM SONET / SDH
Voice
Voice
Data Video
(TCP / UDP) Dedicated
VOIP L3-VPN
L2-VPN
Network Layer IP v4 / v6
Services on IP Network
VPN
IP Telephony
DIT
Network and Host Addressing
Using the IP address of the
destination network, a router
can deliver a packet to the
correct network.
DIT
Network Layer Communication Path
A router forwards packets from the originating
network to the destination network using the IP
protocol. The packets must include an identifier for
both the source and destination networks.
DIT
Internet Addresses
IP Addressing is a hierarchical structure. An IP address
combines two identifiers into one number. This number must be
a unique number, because duplicate addresses would make
routing impossible. The first part identifies the system's network
address. The second part, called the host part, identifies which
particular machine it is on the network.
DIT
IP Address Classes
IP addresses are divided into classes to define the large,
medium, and small networks.
Class A addresses are assigned to larger networks.
Class B addresses are used for medium-sized networks.
Class C for small networks.
DIT
Identifying Address Classes
DIT
Network and Host Division
Each complete 32-bit IP address is broken down into a
network part and a host part. A bit or bit sequence at the
start of each address determines the class of the address.
There are 5 IP address classes.
DIT
Class A Addresses
The Class A address was designed to support extremely
large networks, with more than 16 million host addresses
available. Class A IP addresses use only the first octet to
indicate the network address. The remaining three octets
provide for host addresses.
DIT
Class B Addresses
The Class B address was designed to support the needs
of moderate to large-sized networks. A Class B IP
address uses the first two of the four octets to indicate the
network address. The other two octets specify host
addresses.
DIT
Class C Addresses
The Class C address space is the most commonly
used of the original address classes. This address
space was intended to support small networks with a
maximum of 254 hosts.
DIT
Class D Addresses
The Class D address class was created to enable
multicasting in an IP address. A multicast address is a
unique network address that directs packets with that
destination address to predefined groups of IP addresses.
Therefore, a single station can simultaneously transmit a
single stream of data to multiple recipients.
DIT
Class E Addresses
A Class E address has been defined. However, the
Internet Engineering Task Force (IETF) reserves
these addresses for its own research. Therefore, no
Class E addresses have been released for use in the
Internet.
DIT
Converting Between Decimal Numbers
and Binary
In any given octet of an IP address, the 8 bits can be defined as
follows:
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
10001010.01100101.01110010.11111010
The subnet mask of 255.255.255.192 is represented in binary as
11111111.11111111.11111111.11000000
DIT
IP Address Ranges
The graphic below shows the IP address range of the
first octet both in decimal and binary for each IP
address class.
DIT
Finding the Network Address with ANDing
By ANDing the Host address of 192.168.10.2 with 255.255.255.0
(its network mask) we obtain the network address of 192.168.10.0
DIT
Network Address
DIT
Public IP Addresses
Unique addresses are required for each device on a network.
DIT
Introduction to Subnetting
Subnetting a network means to use the subnet mask to
divide the network and break a large network up into
smaller, more efficient and manageable segments, or
subnets.
DIT
Numbers That Show Up In Subnet Masks
(Memorize Them!)
DIT
Addressing with Subnetworks
DIT
Subnet Example 1
The DIT has purchased the class C address 216.21.5.0 and want to use it
for five (5) networks.
Determine the number of networks and convert to binary
5 in binary is 00000101
We need to borrow 3 bits from host and use them as network bits
Reserve bits in subnet mask and find your increment
DIT
Subnet Example 2
The DIT has purchased the class C address 195.5.20.0 and want to
use it for fifty (50) networks.
Determine the number of networks and convert to binary
50 in binary is 00110010
We need to borrow 6 bits from host and use them as network bits
Reserve bits in subnet mask and find your increment
DIT
Subnet Example 3
The DIT has purchased the class B address 150.5.0.0 and want to use
it for 100 networks.
Determine the number of networks and convert to binary
DIT
Subnet Example 4
The DIT has purchased the class A address 10.0.0.0 and want to use it for
500 networks.
Determine the number of networks and convert to binary
DIT
Exercise 1
1. (C) 200.1.1.0, Break into 40 networks
DIT
Host Example 1
DIT has purchased class C address 216.21.5.0 and would like to use it
to create networks of 30 hosts each
Determine the number of hosts and convert to binary
30 in binary is 00011110
We need to save 5 bits for host, use 3 bits remain for network
Reserve bits in subnet mask and find your increment
DIT
Host Example 2
The DIT has purchased the class C address 195.5.20.0 and want to
use it for 50 hosts each.
Determine the number of hosts and convert to binary
50 in binary is 00110010
We need to save 6 bits from host, use 2 bits remain for network
Reserve bits in subnet mask and find your increment
DIT
Host Example 3
The DIT has purchased the class B address 150.5.0.0 and want to use
it for 500 hosts each.
Determine the number of hosts and convert to binary
DIT
Host Example 4
The DIT has purchased the class A address 10.0.0.0 and want to use it for
100 networks.
Determine the number of hosts and convert to binary
DIT
Exercise 2
1. (C) 200.1.1.0, Break into networks of 40 hosts
each
2. (C) 199.9.10.0, Break into networks of 12
hosts each
3. (B) 170.50.0.0, Break into networks of 1000
hosts each
4. (A) 12.0.0.0, Break into networks of 100 hosts
each
Also determine the total number of networks
DIT
Exercise 3
1) The host has an IP and mask address of
192.168.1.127 and 255.255.255.224
respectively. What is the network address of
the host, and state that if the IP address of the
host is assigned correct.
2) The host has an IP, mask and gateway
address of 172.16.68.65, 255.255.255.240
and 172.16.68.62 respectively, is connected to
the network router of IP and mask address of
172.16.68.62 and 255.255.255.240 respectively.
Determine that if the above configuration is correct.
DIT
Thanks!
DIT