Addressing: The What' and Where' of Communication
Addressing: The What' and Where' of Communication
Addressing
Addressing a la Shoch
Name/Identifier: What
Names normally identify the entity
If an entity moves, the name/identity will remain
the same
Address: Where
Addresses identify the location of the entity
If an entity moves, the address will change
Addressing
Addresses
e.g. 02-60-8C-08-E1-0C
6 octet address
Globally unique
Defined statically by the hardware manufacturer
e.g. 137.207.32.2
4 octet address
Not necessarily globally unique
Defined dynamically by DHCP servers or
negotiated by the operating system
IP Addressing
A Closer Look
IP Addresses
IP Addresses
IP Addresses
IP Addresses
Non-Classed Addresses
Address Classes
Address Classes
IP Address Classes
Class A:
bit index: 0
1-7
0 network
Class B:
bit index: 0 1
1 0
2-15
network
Class C:
bit index: 0 1 2
1 1 0
3-23
network
8-31
host (machine)
16-31
host
24-31
host
IP Address Classes
Class A:
Range: 1.0.0.0 126.0.0.0
Networks: 128 max, Machines: 65537-1.6 million
e.g. huge networks, such as large
military/government organizations (e.g. FBI), the
@Home network, etc
Class B:
Range: 128.1.0.0 191.255.0.0
Networks: 16384 max, Machines: 257-65536
e.g. Internet service providers (ISPs) (dial-up)
Class C:
Range: 192.1.0.0 223.255.255.0
Networks: 2 million max, Machines: 1-256
e.g. Small businesses
IP Address Classes
Examples:
137.207.32.2 (server.uwindsor.ca)
137 -> Class B
4-31
Multicast group address
5-31
Reserved for future use
Special IP Addresses
IP Addressing Comments
In IP addressing:
0s usually represent this
1s usually represent all
Loopback
Internal IP Addresses
Network Addresses
Subnet Mask
Class B: 255.255.0.0
(Binary: 11111111111111110000000000000000)
Class C: 255.255.255.0
(Binary: 11111111111111111111111100000000)
Example:
Address: 137.207.32.2
Subnet Mask: 255.255.0.0
Address:
10001001110011110010000000000010
Mask:
11111111111111110000000000000000
Net Address: 10001001110011110000000000000000