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.

bulletTwo Addresses- Physical Addresses and  Logical Addresses
bulletPhysical Addresses
bulletMAC address or Hardware address
bullet48-bits
bulletExpressed as 12-hexidecimal characters
bulletStore by the NIC
bullet2-parts: Vendor code and Vendor serial number
bulletLogical Addresses
bulletIP-address or IPX-address
bullet2-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

bulletIP-addresses
bullet32-bit address ( Ipv4)
bullet128-bit address (Ipv6 coming soon)
bulletExpressed in Dotted-Decimal form
bulletAddresses are placed in to categories
bulletClassful, Classless, Private
bulletTwo 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

Network

Host

Host

Host

 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:

  1. Open the command prompt
  2. Enter command ipconfig/all
  3. Record your IP-address
  4. Ping your neighbors IP-address