Expt6a Ip Address Class C
Expt6a Ip Address Class C
Internetworking 1
Experiment 6
IP Addressing
Objectives
Name:
Background
This lab will help you develop an understanding of IP addresses and how TCP/IP
networks operate. IP addresses are used to uniquely identify individual TCP/IP
networks and hosts (computers and printers) on networks in order for devices to
communicate. Workstations and servers on a TCP/IP network are called HOSTS and
each will have a unique IP address which is referred to as its HOST ADDRESS.
TCP/IP is the most widely used protocol in network.. The Internet or World Wide
Web uses only IP addressing. In order for a host to access the Internet, it must have
an IP address.
In its basic form, the IP address has two parts: a NETWORK ADDRESS and a HOST
ADDRESS. The network portion of the IP address is assigned to a company or
organization by the Internet Network Information Center (InterNIC).
Routers examine the IP address to move data packets between networks. IP addresses
are 32 bits long (with current version IPv4) and are divided into 4 octets of 8 bits
each. They operate at the network layer, Layer 3 of the OSI model and are assigned
statically (manually) by a network administrator or dynamically (automatically) by a
Dynamic Host Configuration Protocol (DHCP) server. The IP address of a
workstation (host device) is a logical address meaning it can be changed. The MAC
address of the workstation is a 48-bit physical address which is burned into the NIC
and cannot change unless the NIC is replaced. The combination of the logical IP
address and the physical MAC address help route packets to the proper destination.
There are 5 classes of IP addresses (Class A to E). Only the first 3 classes (Class A,
B, and C) are used commercially. Class D is reserved for multicasting, and Class E is
for experimental, and is used for research.
Class C Address
8 bits of
110 0
Remaining 0 address
21 bits of network 0 host address
Subnetting
8 bits of
110 0
Remaining 0 address
21 bits of network 0 host address
Up to 6 subnet
bits can be used
Tools/Preparation
128 64 32 16 8 4 2 1
1 1 1 1 1 1 1 1
Procedures
Write the subnet mask in binary and convert it to dotted decimal notation.
11111111 11100000 00000000 00000000 255.224.0.0 /11 <<< epic phail.
11111111 11111111 11111111 11100000 255.255.255.224 or /27
Subnet 4 Subnet 6 5
Subnet
a.
Subnet X Subnet Z
E0 E0
Subnet Y
S0 S0
Use the following information and drawing to calculate the subnet address.
195.63.1.10000001->129
195.63.1.10011110->158
195.63.1.10111111->191
2^5 - 2 = 30? (:
a. Assign IP addresses to the router’s interface and NICs in subnet X. You do not
need to assign any IP address to a hub. Use the valid range of IP address in subnet
X above and assign the addresses in sequence. In network design, the few host
addresses are often assign to the router interfaces.
Subnet 4 (X)
Orchard router E0 interface (often use 1st valid host address)
PC1 NIC (any valid host address)
PC2 NIC
b. Assign IP addresses to the routers’ interfaces in subnet Y. Use the valid range of
IP address in subnet Y above and assign the addresses in sequence.
Subnet 5 (Y)
Orchard router S0 interface
Somerset router S0 interface
c. Assign IP addresses to the router’s interface and NICs in subnet Z. Use the valid
range of IP address in subnet Z above and assign the addresses in sequence.
Subnet 6 (Z)
Somerset router E0 interface (often use 1st valid host address)
PC3 NIC (11th host address)
PC4 NIC (20th host address)
Reflection
What is the range of numbers in the first octet that determines a Class C address?
What is the default subnet mask for a Class C IP address if no subnet bit is used?
255.255.255.0 <--- FUCK YOU REMEMBER THIS.
What is the maximum number of subnet bits that can used to create subnets? Explain
your answer.