Professional Documents
Culture Documents
IP Addresses
IP
The
address
must
include
information about what network
the receiving host is on.
IP Addresses
IP
IP Address Format
The
Network ID is assigned to an
organization by a global authority.
Host
Both
IP Addresses
IP
cs.rpi.edu
is 128.213.1.1
IP Addressing
Three
Internet Classes
Class
IP Address
Class
A
High-Order
Bit(s)
0
Address
Range
1.0.0.0 to
126.0.0.0
No. Bits
Network/Host Max. Hosts
7/24
167772142
(224 - 2)
Format
N.H.H.H1
Purpose
Few large
organizations
N.N.H.H
Medium-size
organizations
1, 0
128.1.0.0 to
191.254.0.0
14/16
N.N.N.H
Relatively
small
organizations
1, 1, 0
192.0.1.0 to
21/8
223.255.254.0
254 (28 - 2)
N/A
Multicast
groups (RFC
1112)
1, 1, 1, 0
224.0.0.0 to
N/A (not for
239.255.255.2 commercial
55
use)
N/A
N/A
Experimental
1, 1, 1, 1
240.0.0.0 to
N/A
254.255.255.2
55
N/A
65534 (216 - 2)
An
All
IP Subnet Addressing
IP
IP Subnet Mask
A
Class B Subnetting
Reference
Chart
Number of Bits
Subnet Mask
Number of Subnets
2
255.255.192.0
Number of Hosts
16382
255.255.224.0
8190
255.255.240.0
14
4094
255.255.248.0
30
2046
255.255.252.0
62
1022
255.255.254.0
126
510
255.255.255.0
254
254
255.255.255.128
510
126
10
255.255.255.192
1022
62
11
255.255.255.224
2046
30
12
255.255.255.240
4094
14
13
255.255.255.248
8190
14
255.255.255.252
16382
255.255.255.192
62
255.255.255.224
30
255.255.255.240
14
14
255.255.255.248
30
255.255.255.252
62
Masking
Example
Q.
A.
Q.
A.
IP Address: 187.199.127.5
Sub-net mask: 255.255.255.0
Network Class: B
Network ID: 187.199
Result of logical AND operation: 187.199.127
Sub-network ID: 127
Host ID: 5
IP Address: 187.199.127.5
Sub-net mask: 255.255.240.0
Network Class: B
Network ID: 187.199
Result of logical AND operation: 187.199.112.0
Sub-network ID: 112
Host ID: 15.5
Example(Continued..)
Q. IP Address: 187.199.127.5
Sub-network ID: 0