IPv4 Report
IPv4 Report
IPv4 Report
Module Objectives
2
1
IPv4 Address
Structure
IPv4 Address
An IPv4 address is a 32-bit number. To make addresses more straightforward, they are
divided into four 8-bit numbers — or octets — separated by a decimal point. These
octets range in number from zero to 255.
4
IPv4 Address Format (Dotted Decimal Notation)
192.168.
10 .10
11000000 . 10101000 . 00001010 . 00001010
5
Network and Host Portion
• When determining the network portion versus the host portion, you must look at the
32-bit stream.
• A subnet mask is used to determine the network and host portions.
6
Subnet Mask
• To identify the network and host portions of an IPv4 address, the subnet mask is
compared to the IPv4 address bit for bit, from left to right.
7
Determining the Network: Logical AND
• A logical AND Boolean operation is used in determining the network address.
• Logical AND is the comparison of two bits where only a 1 AND 1 produces a 1
and any other combination results in a 0.
• 1 AND 1 = 1, 0 AND 1 = 0, 1 AND 0 = 0, 0 AND 0 = 0
• 1 = True and 0 = False
• To identify the network
address, the host IPv4
address is logically
ANDed, bit by bit, with
the subnet mask to
identify the network
address.
8
Network, Host, and Broadcast Addresses
Within each network are three types of IP addresses:
▸ Network address
▸ Host addresses Network Portion
Host
Host Bits
Portion
▸ Broadcast address
Subnet mask 255 255 255 0
255.255.255.0 or /24 11111111 11111111 11111111 00000000
Network address 192 168 10 0
11000000 10100000 00001010 00000000 All 0s
192.168.10.0 or /24
First address 192 168 10 1 All 0s and a
192.168.10.1 or /24 11000000 10100000 00001010 00000001 1
Last address 192 168 10 254 All 1s and a
192.168.10.254 11000000 10100000 00001010 11111110 0
or /24
Broadcast address 192 168 10 255
192.168.10.255 11000000 10100000 00001010 11111111 All 1s
or /24
9
2
IPv4 Unicast, Broadcast,
and Multicast
Unicast
Unicast transmission is sending a packet to one destination IP address
For example, the PC at 172.16.4.1 sends a unicast packet to the printer at 172.16.4.253.
11
Broadcast
Broadcast transmission is sending a packet to all other destination IP addresses.
For example, the PC at 172.16.4.1 sends a broadcast packet to all IPv4 hosts.
12
Multicast
Multicast transmission is sending a packet to a multicast address group.
For example, the PC at 172.16.4.1 sends a multicast packet to the multicast group address
224.10.10.5.
13
3
Types of IPv4 Addresses
Public and Private IPv4 Addresses
As defined in RFC 1918, public IPv4 addresses are globally routed between internet
service provider (ISP) routers. It is a unique IP address assigned to your network router
by your internet service provider and can be accessed directly over the internet.
15
Special Use IPv4 Addresses
▸ Loopback addresses
127.0.0.0 /8 (127.0.0.1 to 127.255.255.254)
Commonly identified as only 127.0.0.1
Used on a host to test if TCP/IP is operational.
▸ Link-Local addresses
169.254.0.0 /16 (169.254.0.1 to 169.254.255.254)
Commonly known as the Automatic Private IP Addressing (APIPA)
addresses or self-assigned addresses.
Used by Windows DHCP clients to self-configure when no DHCP servers
are available.
16
Legacy Classful Addressing
RFC 790 (1981) allocated IPv4 addresses in classes
Class A (0.0.0.0/8 to 127.0.0.0/8) - 16,777,214 available hosts
Class B (128.0.0.0 /16 – 191.255.0.0 /16) - 65,534 available hosts
Class C (192.0.0.0 /24 – 223.255.255.0 /24) - 254 available hosts
Class D (224.0.0.0 to 239.0.0.0) - Multicasting
Class E (240.0.0.0 – 255.0.0.0) - Research/Reserved/Experimental
18
3
Network
Segmentation
Broadcast Domains and Segmentation
Many protocols use broadcasts or multicasts (e.g., ARP use broadcasts to
locate other devices, hosts send DHCP discover broadcasts to locate a DHCP
server.)
20
Network Segmenting
21
4
Subnetting an IPv4
Network
Variable Length Subnet
4
Mask
VLSM
VLSM is a subnet design strategy that allows all subnet masks to have variable
sizes. In VLSM subnetting, network administrators can divide an IP address space
into subnets of different sizes, and allocate it according to the individual need on a
network. This type of subnetting makes more efficient use of a given IP address
range. VLSM is the defacto standard for how every network is designed today.
24
Example of VLSM
Given the topology, 7 subnets are required (i.e, four LANs and three WAN links)
and the largest number of host is in Building D with 28 hosts.
A /27 mask would provide 8 subnets of 30 host IP addresses and therefore support
this topology.
25
VLSM
When using VLSM, always begin
by satisfying the host requirements
of the largest subnet and continue
subnetting until the host
requirements of the smallest subnet
are satisfied.
26
VLSM
The resulting topology with VLSM applied.
27
IPv4 Network Address Planning
IP network planning is crucial to develop a scalable solution to an enterprise
network.
To develop an IPv4 network wide addressing scheme, you need to know how
many subnets are needed, how many hosts a particular subnet requires, what
devices are part of the subnet, which parts of your network use private addresses,
and which use public, and many other determining factors.
28
IPv4 Network Address Planning
Examine the needs of an organization’s network usage and how the subnets will
be structured.
29
Device Address Assignment
Within a network, there are different types of devices that require addresses:
End user clients – Most use DHCP to reduce errors and burden on network
support staff. IPv6 clients can obtain address information using DHCPv6 or
SLAAC.
Servers that are accessible from the internet – Servers must have a public IPv4
address, most often accessed using NAT.
30
Device Address Assignment
Intermediary devices – Devices are assigned addresses for network management,
monitoring, and security.
Gateway – Routers and firewall devices are gateway for the hosts in that
network.
31
THANKS!
Any questions?
32
5 Activity
For 10 points each.
34