Professional Documents
Culture Documents
PHYSICAL MEDIA
Physical Media
Physical Media
Copper
◦ Coaxial Cable - Thick or Thin
◦ Unshielded Twisted Pair - CAT 3,4,5,5e&6
Optical Fiber
◦ Multimode
◦ Single mode
Wireless
◦ Short Range
◦ Medium Range (Line of Sight)
◦ Satellite
Physical Media
Coaxial cable is a
copper-cored cable
surrounded by a heavy
shielding and is used to
connect computers in a
network.
Outer conductor shields
the inner conductor from
picking up stray signal Category Impedance Use
from the air.
RG-59 75 W Cable TV
High bandwidth but
lossy channel. RG-58 50 W
Thin
Ethernet
Repeater is used to
regenerate the weakened RG-11 50 W
Thick
signals. Ethernet
Physical Media
Twisted-pair is a type of
cabling that is used for
telephone communications
and most modern Ethernet
networks.
A pair of wires forms a
circuit that can transmit
data. The pairs are twisted
to provide protection
against crosstalk, the noise
generated by adjacent
pairs.
There are two basic types,
shielded twisted-pair (STP)
and unshielded twisted-pair
(UTP).
Physical Media
Physical Media
Physical Media
Bandwidth 16 Mhz
11.5 dB Attenuation
100 ohms Impedance
Used in voice applications and 10baseT (10Mbps)
Ethernet
Physical Media
20 MHz Bandwidth
7.5 dB Attenuation
100 ohms Impedance
Used in 10baseT (10Mbps) Ethernet
Physical Media
Single-mode fiber
◦ Carries light pulses
along single path
◦ Uses Laser Light
Source
Multimode fiber
◦ Many pulses of light
generated by LED
travel at different
angles
Physical Media
PC
Access Point
Internet Switch
Router
PC
Access Point
Physical Media
Microwaves do not
follow the curvature of
earth
Line-of-Sight
transmission
Height allows the
signal to travel farther
Two frequencies for
two way
communication
Repeater is used to
increase the distance
Hop-by-Hop
Cabling
Faceplate mounts on or
in wall or in raceway
Single or Dual
Information Outlet (I/O)
Provide network
connectivity to the
Hosts through a Patch
Cord
Cabling
Termination
punchdown in back
Patch cord plugin in
front
Cabling
Components:
◦ Fiber Cable
◦ Fiber Pigtail
◦ Fiber Connectors
◦ LIU
◦ Coupler
◦ Fiber Patch Cord
Cabling
• INTRODUCTION
•IPv4 address, IPv6 addressing & Structure
• CLASSFUL ADDRESSING
• Different Network Classes
• Subnetting
• Classless Addressing
• Supernetting
•CIDR (classless Interdomain Routing)
What is an IP Address?
A unique string of numbers separated by full stops that
identifies each computer using the Internet Protocol to
communicate over a network.
An Internet Protocol address (IP address) is a numerical
label assigned to each device (e.g., computer, printer,
router etc) participating in a computer network that uses
the Internet Protocol for communication.
IP addresses are usually written and displayed in human-
readable notations, such as 172.16.254.1 (IPv4), and
2001:db8:0:1234:0:567:8:1 (IPv6).
…………..
addr1 …………..…………..
addr15
addr2 …………..
…………..
addr41 addr226
addr31
………….. …………..
IPv4 address space
The address space of IPv4 is
232 or 4,294,967,296.
(11101001)2
Converting Binary Numbers to Decimal
Numbers
Convert (11101001) to Decimal Number
=233
Hexadecimal
Decimal Hexadecimal
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 F
Example 1
Solution 129.11.11.239
Example 2
Solution
Solution
Solution
0X810B0BEF or 810B0BEF16
CLASSFUL ADDRESSING
IPv4 addressing, at its inception, used the concept of
classes. This architecture is called classful addressing.
Although this scheme is becoming obsolete, we briefly
discuss it here to show the rationale behind classless
addressing.
In classful addressing, the address space is divided into five
classes: A, B, C, D, and E. Each class occupies some part
of the address space.
Occupation of the address space
In classful addressing the address space is
divided into 5 classes:
A, B, C, D, and E.
Finding the class in binary notation
Finding the address class
Example 5
Solution
Solution
•158.223.1.108
1st byte = 158 (128<158<191) class B
•227.13.14.88
1st byte = 227 (224<227<239) class D
158.128.1.108:25
the for octet before colon is the IP address
The number of colon (25) is the port number
Netid and hostid
In classful addressing, an IP address of class A,B and C is divided into
two parts : netid and hostid.
The netid and hostid are of varying lengths, depending on the class of the address.
Solution
IP address: 144.62.12.9
It is a class B IP address.
The network address /netid is 144.62.0.0
The host addresses /hostid is 0.0.12.9
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.
Class A default mask is 255.0.0.0
Class B default mask is 255.255.0.0
Class C Default mask 255.255.255.0
Subnetting/Supernetting
and
Classless Addressing
CONTENTS
• SUBNETTING
• SUPERNETTING
• CLASSLESS ADDRSSING
SUBNETTING
IP addresses are designed with
two levels of hierarchy.
A network with two levels of
hierarchy (not subnetted)
A network with three levels of
hierarchy (subnetted)
Subnetting is done by borrowing bits from
the host part and add them the network part
Addresses in a network with
and without subnetting
Default mask and subnet mask
Finding the Subnet Address
Solution
Variable-length subnetting
SUPERNETTING
Supernetting is the opposite of subnetting
In subnetting you borrow bits from the host
part
Supernetting is done by borrowing bits from
the network side.
And combine a group of networks into one
large supernetwork.
Figure 5-11
A supernetwork
Rules:
The number of blocks must be a power of 2 (1,
2, 4, 8, 16, . . .).
The blocks must be contiguous in the address
space (no gaps between the blocks).
The third byte of the first address in the
superblock must be evenly divisible by the number
of blocks. In other words, if the number of blocks is
N, the third byte must be divisible by N.
Example 5
255.255.240.0
Example 14
Solution
The supernet has 21 1s. The default mask has 24 1s. Since
the difference is 3, there are 23 or 8 blocks in this supernet.
The blocks are 205.16.32.0 to 205.16.39.0. The first
address is 205.16.32.0. The last address is 205.16.39.255.
CLASSLESS
ADDRESSING
Figure 5-13
Variable-length blocks
Number of Addresses in a Block
There is only one condition on the number
of addresses in a block; it must be a power
of 2 (2, 4, 8, . . .). A household may be given
a block of 2 addresses. A small business
may be given 16 addresses. A large
organization may be given 1024 addresses.
Beginning Address
The beginning address must be evenly divisible
by the number of addresses. For example, if a
block contains 4 addresses, the beginning
address must be divisible by 4. If the block has
less than 256 addresses, we need to check only
the rightmost byte. If it has less than 65,536
addresses, we need to check only the two
rightmost bytes, and so on.
Example 16
Solution
To be divisible by 1024, the rightmost byte of an address should be 0
and the second rightmost byte must be divisible by 4. Only the
address 17.17.32.0 meets this condition.
Slash notation
Slash notation is also called
CIDR
notation.
Example 17
Solution
Let us first find the subnet prefix (subnet mask). We need four
subnets, which means we need to add two more 1s to the site prefix.
The subnet prefix is then /28.
Subnet 1: 130.34.12.64/28 to 130.34.12.79/28.
Subnet 2 : 130.34.12.80/28 to 130.34.12.95/28.
Subnet 3: 130.34.12.96/28 to 130.34.12.111/28.
Subnet 4: 130.34.12.112/28 to 130.34.12.127/28.
Example 19 cont’d
Example 20
Design the subblocks and give the slash notation for each subblock.
Find out how many addresses are still available after these
allocations.
Solution
Group 1
For this group, each customer needs 256 addresses. This means the
suffix length is 8 (28 = 256). The prefix length is then 32 - 8 = 24.
01: 190.100.0.0/24 190.100.0.255/24
02: 190.100.1.0/24 190.100.1.255/24
…………………………………..
64: 190.100.63.0/24190.100.63.255/24
Total = 64 256 = 16,384
Solution (Continued)
Group 2
For this group, each customer needs 128 addresses. This means the
suffix length is 7 (27 = 128). The prefix length is then 32 - 7 = 25.
The addresses are:
001: 190.100.64.0/25 190.100.64.127/25
002: 190.100.64.128/25 190.100.64.255/25
………………..
128: 190.100.127.128/25 190.100.127.255/25
Total = 128 128 = 16,384
Solution (Continued)
Group 3
For this group, each customer needs 64 addresses. This means the
suffix length is 6 (26 = 64). The prefix length is then 32 - 6 = 26.
001:190.100.128.0/26 190.100.128.63/26
002:190.100.128.64/26 190.100.128.127/26
…………………………
128:190.100.159.192/26 190.100.159.255/26
Total = 128 64 = 8,192
Solution (Continued)