Basic IP addressing: Classful IP addresses and special addresses - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Basic IP addressing: Classful IP addresses and special addresses

Description:

A router assigned an IP address per interface. TDC 365-98-801, Winter 2005. 2-3 ... Which address belong to supernet X.Y.32.0? TDC 365-98-801, Winter 2005. 2-25 ... – PowerPoint PPT presentation

Number of Views:448
Avg rating:3.0/5.0
Slides: 35
Provided by: ValuedGate2228
Category:

less

Transcript and Presenter's Notes

Title: Basic IP addressing: Classful IP addresses and special addresses


1
Unit 2 IP addressing Subnetting Supernetting
CIDR. Delivery and routing of packets
  • Basic IP addressing Classful IP addresses and
    special addresses
  • Subnetting and subnet masks
  • Supernetting and CIDR (Classless Interdomain
    Routing)
  • Delivery and routing of packets
  • Routing table organizations
  • Dynamic v.s. static routing

2
A host is assigned a host number unique within a
network
A router assigned an IP address per interface
Each network assigned an IP network number
3
Figure 4.1 Dotted Decimal Notation
Class A Large networks Class B Medium
networks Class C Small networks Hostid with all
0s or all 1s are special.
Figure 4.6 Classful IP Addresses
4
Figure 4.5
00000000 0 0
01111111 1 1
10000000 0 0
10111111 1 1
11000000 0 0
11011111 1 1
5
Figure 4.12 Multihomed devices
6
Figure 4.13 Network addresses Network ID All
0s hostid is commonly referred to as a network
address
7
Figure 4.14 Direct broadcast address
8
Figure 4.15 limited broadcast address
9
Figure 4.16 this host on this network
address
Provide initial configuration information
10
Figure 4.17 Specific host on this network
11
Figure 4.18 Loopback address
12
Private Networks
  • 10.0.0.0 - 10.255.255.255
  • 172.16.0.0 - 172.31.255.255
  • 192.168.0.0 - 192.168.255.255
  • Note the above addresses should not be used on
    the Internet.

Network Address Translation (NAT)
Private addresses
Global IP addresses
13
Similar to Figure 5.2 subnetting (Three levels
of hierarchy)
Usable addresses 141.14.2.1 to 141.14.2. 254
14
Figure 5.3 Addresses in a network with and
without subnetting
15
Figure 5.5 Subnet mask
Host id part all 0s
The rest all 1s
The host part of the address becomes all 0s
16
A simple example
Logical AND
17
Special addresses in subnetting
IMPORTANT These can never be assigned to a host
Restrictions can be relaxed so that these numbers
may be assigned to subnets
18
Example 2 An organization with a class B address
needs at least 12 subnetworks.
24 16. Even if restrictions not relaxed. 14
subnetids available
of bits needed in the subnet id part?
23 8, not enough
19
Range of addresses in example 2
X Y 00000000 00000000
X Y 00001111 11111111
X Y 00010000 00000000
X Y 00011111 11111111
X Y 00010000 00000001
X Y 00101111 11111111
X Y 00100000 00000000
X Y 00110000 00000000
X.Y.48.0
20
Subnetworks in example 2
21
00000000 0
X.Y.Z.0
Figure 5.10 Variable-length subnetting
01000000 64
X.Y.Z.64
10000000 128
X.Y.Z. 128
11000000 192
X.Y.Z. 192
11100000 224
X.Y.Z. 224
And the last two subnets must have 11 as the
leading 2 bits in the 4th byte. The 3rd bit can
varies between 0 and 1. Therefore the last two
subnets have addresses of the following format in
the 4th byte 110xxxxx and 111xxxxx
255.255.255.192 11111111 11111111 11111111
11000000 so the first mask uses the first 2
bits of the 4th byte as the subnet ID
So the last byte can be 00xxxxxx, 01xxxxxx,
10xxxxxx, 11xxxxxx. 3 of these can be chosen to
label the first 3 subnets. Let say we pick the
first 3
255.255.255.224 11111111 11111111 11111111
11100000 so the second mask uses the first 3 bits
of the 4th byte as the subnet ID
22
Figure 5.11 Supernetwork
32 00100000
33 00100001
Reduce routing table entries. Advertise 1
supernet instead of 4 networks
34 00100010
35 00100011
23
Similar to Figure 5.12 Subnet mask vs Supernet
mask
24
Two ways of defining a supernet
Figure 5-21 Example of supernetting. Which
address belong to supernet X.Y.32.0?
25
Classless Interdomain Routing (CIDR)
26
Table 5.1
27
Figure 6.1 Direct and Indirect delivery
Same network/subnet/ supernet address
28
Figure 6.3 Next-hop routing
29
Figure 6.4 Network-specific routing
30
Figure 6.5 Host-specific routing
31
Figure 6.6 Default routing
32
Figure 6.7 Routing module and routing table
Routing tables static v.s. dynamic
33
(No Transcript)
34
Figure 6.9 Example routing table is in Table 6.1
on p. 156
Write a Comment
User Comments (0)
About PowerShow.com