Chapter 06
Chapter 06
Chapter Six
Designing Models for Addressing and Naming
Public IP Addresses
Managed by the Internet Assigned Numbers
Authority (IANA)
Users are assigned IP addresses by Internet
service providers (ISPs).
ISPs obtain allocations of IP addresses from
their appropriate Regional Internet Registry
(RIR)
Private Addressing
10.0.0.0 10.255.255.255
172.16.0.0 172.31.255.255
192.168.0.0 192.168.255.255
Prefix
Prefix Length
Host
Prefix Length
An IP address is accompanied by an
indication of the prefix length
Subnet mask
/Length
Examples
192.168.10.1 255.255.255.0
192.168.10.1/24
Subnet Mask
32 bits long
Specifies which part of an IP address is the network/subnet
field and which part is the host field
The network/subnet portion of the mask is all 1s in binary.
The host portion of the mask is all 0s in binary.
Convert the binary expression back to dotted-decimal notation for
entering into configurations.
Alternative
Use slash notation (for example /24)
Specifies the number of 1s
Practice
Network is 172.16.0.0
You want to divide the network into subnets.
You will allow 600 nodes per subnet.
What subnet mask should you use?
What is the address of the first node on the
first subnet?
What address would this node use to send to
all devices on its subnet?
More Practice
Network is 172.16.0.0
You have eight LANs, each of which will be its
own subnet.
What subnet mask should you use?
What is the address of the first node on the first
subnet?
What address would this node use to send to all
devices on its subnet?
One More
Network is 192.168.55.0
You want to divide the network into subnets.
You will have approximately 25 nodes per subnet.
What subnet mask should you use?
What is the address of the last node on the last
subnet?
What address would this node use to send to all
devices on its subnet?
IP Address Classes
Classes are now considered obsolete
But you have to learn them because
Everyone in the industry still talks about them!
You may run into a device whose configuration
is affected by the classful system
Classful IP Addressing
Class
First
Few Bits
First Byte
Prefix
Length
Intent
A
B
C
D
E
0
10
110
1110
1111
1-126*
128-191
192-223
224-239
240-255
8
16
24
NA
NA
*Addresses starting with 127 are reserved for IP traffic local to a host.
Prefix
Length
Number of Addresses
per Network
A
B
C
8
16
24
224-2 = 16,777,214
216-2 = 65,534
28-2 = 254
Classful IP is Wasteful
Classless Addressing
Prefix/host boundary can be anywhere
Less wasteful
Supports route summarization
Also known as
Aggregation
Supernetting
Classless routing
Classless inter-domain routing (CIDR)
Prefix routing
Supernetting
172.16.0.0
172.17.0.0
172.18.0.0
Branch-Office Router
172.19.0.0
Branch-Office Networks
Enterprise Core
Network
172.16.0.0/14 Summarization
Second Octet in Decimal
in Binary
Second Octet
16
00010000
17
00010001
18
00010010
19
00010011
Discontiguous Subnets
Area 0
Network
192.168.49.0
Router A
Area 1
Subnets 10.108.16.0 10.108.31.0
Router B
Area 2
Subnets 10.108.32.0 10.108.47.0
A Mobile Host
Router A
Router B
Host 10.108.16.1
13
FP
TLA
ID
24
16
64 bits
RES
NLA
ID
SLA
ID
Interface ID
Public topology
Site
Topology
Upgrading to IPv6
Dual stack
Tunneling
Translation
DNS Details
Client/server model
Client is configured with the IP address of a
DNS server
Manually or DHCP can provide the address
DNS Recursion
A DNS server may offer recursion, which allows the server
to ask other servers
Each server is configured with the IP address of one or more root
DNS servers.
Summary
Use a systematic, structured, top-down
approach to addressing and naming
Assign addresses in a hierarchical fashion
Distribute authority for addressing and
naming where appropriate
IPv6 looms in our future
Review Questions
Why is it important to use a structured model
for addressing and naming?
When is it appropriate to use IP private
addressing versus public addressing?
When is it appropriate to use static versus
dynamic addressing?
What are some approaches to upgrading to
IPv6?