Beruflich Dokumente
Kultur Dokumente
NETWORK-LAYER
IP
CONTENT
Fragmentation.
- Maximum Transfer Unit (MTU).
- Fields Related to Fragmentation.
Options.
- Single-Byte Options.
- Multliple-Byte Options.
2.
3.
4.
DATAGRAM FORMAT
Payload is the packet coming from other protocols that use the
service of IP.
EXAMPLE OF CHECKSUM
CALCULATION IN IPV4
FRAGMENTATION
The format and size of the sent frame depend on the protocol
used by the physical network through which the frame is going
to travel.
FRAGMENTATION: (MTU)
Each link-layer protocol has its own frame format. One of the
features of each format is the maximum size of the payload
that can be encapsulated.
FRAGMENTATION
OPTIONS
OPTIONS
OPTIONS : MULTLIPLE-BYTE
OPTIONS : MULTLIPLE-BYTE
IP ADDRESSING
CONTENT
IPV4 ADDRESSES
-Address Space.
-Hierarchy in addressing
-Classful Addressing.
-Classless Addressing.
-Dynamic Host Configuration Protocol(DHCP).
IPV4 ADDRESSES
ADDRESS SPACE
HIERARCHY IN ADDRESSING
CLASSFUL ADDRESSING
CLASSFUL ADDRESSING
CLASSFUL ADDRESSING
ADDRESS DEPLETION
IP ADDRESSES
The values 0 and -1 (all 1s) have special meanings. The value 0
means this network or this host. The value of -1 is used as a
. broadcast address to mean all hosts on the indicated network
36
IP ADDRESSES
All the hosts in a network must have the same network number. This
property of IP addressing can cause problems as networks grow. For
example
The problem is the rule that a single class A, B, or C address refers to
. one network, not to a collection of LANs
The solution is to allow a network to be split into several parts for
. internal use but still act like a single network to the outside world
37
IP ADDRESSES
To implement subnetting, the main router needs a subnet mask that
.indicates the split between network + subnet number and host
For example, if the university has a B address(130.50.0.0) and 35
departments, it could use a 6-bit subnet number and a 10-bit host
number, allowing for up to 64 Ethernets, each with a maximum of
. 1022 hosts
SUBNETTING AND
SUPERNETTING
CLASSLESS ADDRESSING
ADDRESS INFORMATION
ADDRESS MASK
The address mask is a 32-bit number in which
The prefix bits are set to 1s.
The rest of the bits are set to 0s.
1.The number of addresses in the block
N = NOT (mask) + 1.
2.The first address in the block =(Any address in the
block) AND (mask).
3.The last address in the block =(Any address in the
block) OR [(NOT (mask)].
SUBNETTING
number of addresses is N
the prefix length is n
the assigned number of addresses to each
subnetwork is Nsub
the prefix length for each subnetwork is nsub
The number of addresses in each subnetwork
should be a power of 2.
The prefix length for each subnetwork should be
found using the following formula:
The starting address in each subnetwork should be
divisible by the number of addresses in that
subnetwork
ADDRESS AGGREGATION
SPECIAL ADDRESSES
The site must have only one connection to the global Internet
through a NAT-capable router that runs NAT software.