Introduction to Subnetting-Computer Networks-Lab Handout, Exercises for Data Communication Systems and Computer Networks. Birla Institute of Technology and Science
bassu
bassu

Introduction to Subnetting-Computer Networks-Lab Handout, Exercises for Data Communication Systems and Computer Networks. Birla Institute of Technology and Science

PDF (89 KB)
2 pages
3Number of download
1000+Number of visits
Description
This is an introductory course in Data Communication and Computer Networks. The course is designed with objectives: Provide solid foundation in the field of data communication and computer networks, give practical experi...
20 points
Download points needed to download
this document
Download the document
Preview2 pages / 2
Download the document
Introduction to SUBNETTING:

Data Communication and Computer Networking Lab # 3 BCE 6th

Introduction to SUBNETTING:

Purpose: The lab is intended to familiarize the students with a networking technique of SUBNETTING.

At the end of the lab the student must know: • The Purpose of SUBNETTING. • Steps of SUBNETTING. • How to perform SUBNETTING on different IP Classes. • Calculating the ranges of Hosts in the Subnet. • Finding the Broadcast address of the Subnet. • How to make a SUBNET on Linux machines. • How to Broadcast on that Subnet.

prompt> ifconfig <interfaceNo> xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx prompt> ifconfig eth0 172.20.6.131 netmask 255.255.248.0

prompt> ping -b <broadcast_ip>

SUBNETTING: The purpose of subnetting is that by using only one given IP we can make different networks. E.g. If the Given IP is: 172.16.0.0 and we are required to make 169 Subnets, then, by using the following formula for subnets we can find the no.of bits required for the subnets:

2n – 2 >= No. of Subnets. Where n is No. of Bits further required as network address field in the given IP. Therefore for 169 subnets we get n = 8.

So the new mask becomes: 255.255.255.0

First subnet IP address: 172.16.1.0 First PC IP address in this Subnet: 172.16.1.1 Last PC IP address in this Subnet: 172.16.1.254 Broadcast IP address in this Subnet: 172.16.1.255

Last subnet IP address: 172.16.254.0 First PC IP address in this Subnet: 172.16.254.1 Last PC IP address in this Subnet: 172.16.254.254

docsity.com

Broadcast IP address in this Subnet: 172.16.254.255 Task1:

For The following IPs find the first two and last two Subnets and give their Pc range and Broadcast address.

1. 10.0.0.0 for 517 subnets. 2. 212.31.30.0 for 21 subnets. 3. 190.38.0.0 for 10 subnets.

Task2: Run these commands and find out which command performs

which of the above listed task.

docsity.com

no comments were posted
Download the document