Networking and Addressing Overview and IPCONFIG-PING
All devices that are connected to a network and operate at
OSI Model Layer-2 and higher require unique addresses.
 | Two Addresses- Physical Addresses and Logical
Addresses |
 | Physical Addresses |
 | MAC address or Hardware address |
 | 48-bits |
 | Expressed as 12-hexidecimal characters |
 | Store by the NIC |
 | 2-parts: Vendor code and Vendor serial number |
 | Logical Addresses |
 | IP-address or IPX-address |
 | 2-parts: Network address and Host address |
Focus on IP-Addresses because it is the most common and
the most important for designing both LAN’s and WAN’s
 | IP-addresses |
 | 32-bit address ( Ipv4) |
 | 128-bit address (Ipv6 coming soon) |
 | Expressed in Dotted-Decimal form |
 | Addresses are placed in to categories |
 | Classful, Classless, Private |
 | Two parts to the address; Network and Host |
IPv4 Addressing - 32 bit Addressing
|
Network Number |
Host Number |
Using Dotted Decimal you get four groups of 8-bits (octet)
|
8-bits |
8-bits |
8-bits |
8-bits |
Classful IP Addressing
Class-A
Class-B
|
Network |
Network |
Host |
Host |
Class-C
|
Network |
Network |
Network |
Host |
Routing requires separating Network and Host portions of
IP-address
Subnet Mask is used to filter the Network address
Network Address = [IP-Address] “AND” [Subnet Mask]
Examples of Subnet Masks:
|
Dotted Decimal |
Binary |
Class |
|
255.255.255. 0 |
11111111.11111111.11111111.00000000 |
C |
|
255.255. 0 . 0 |
11111111.11111111.00000000.00000000 |
B |
|
255. 0 . 0 . 0 |
11111111.00000000.00000000.00000000 |
A |
ADD Function
C = A “AND” B
|
A |
B |
C |
|
0 |
0 |
0 |
|
0 |
1 |
0 |
|
1 |
0 |
0 |
|
1 |
1 |
1 |
The Subnet Mask is ANDed with IP Address bit by bit to
get the Network number (Network address)
A subnet mask of 255 (all-1’s in an octet) filter out the
network number for that octet.
Examples:
|
IP Address |
Subnet Mask |
Network Number |
|
100.10.15.5 |
255.255.255.0 |
100.10.15.0 |
|
100.10.15.5 |
255.255.0.0 |
100.10.0.0 |
|
200.70.10.6 |
255.255.255.0 |
200.70.10.0 |
|
10.70.10.6 |
255.0.0.0 |
10.0.0.0 |
Lab Procedure:
- Open the command prompt
- Enter command ipconfig/all
- Record your IP-address
- Ping your neighbors
IP-address
|