You are on page 1of 9

BachKhoa IT Academy

Semester 1

I. Subnet Excercises
Note: You need to thoroughly understand the structure of Class A’s, B’s, and C’s
network address in order to handle the following questions. Good lucks. I do not have
answer keys to these questions. You are welcome to ask me to check your answers.

1. Given the subnet mask, 255.255.255.0, and an IP address 66.68.100.1,


a. How many bits are used for subnet ID? Why?
______________________________________________________________________
b. How many IP addresses are lost due to the subnetting?
______________________________________________________________________

2. In dealing with a network configuration problem. An IT manager found that the


following information on a station: IP address was 225.101.10.97 and the subnet mask
was 255.255.255.224. What might be the problem?
______________________________________________________________________

3. In dealing with a network configuration problem. An IT manager found that the


following information on a station: IP address was 199.101.10.32 and the subnet mask
was 255.255.255.192. Assume the network ID is correct. What might be the problem?
______________________________________________________________________

4. For a particular Class C subnet, if the subnet ID is 0100, answer the following
questions:
a. Define the subnet mask.
______________________________________________________________________
b. Does 212.34.23.129 belong to this subnet?
______________________________________________________________________
c. How many subnets can the organization have?
______________________________________________________________________
d. How many IP addresses are available in each segment?
______________________________________________________________________
e. How many IP addresses are lost due to subnetting (in terms of the whole
organizations)?

5. For a particular Class B subnet, if the subnet ID is 001000:


a. How many bits are used for subnet ID?
______________________________________________________________________
b. Define the subnet mask.
______________________________________________________________________
c. Does 144.33.48.254 belong to this subnet?
______________________________________________________________________
d. How many subnets can the organization have?
______________________________________________________________________
e. How many IP addresses are available in each segment?
______________________________________________________________________

1
BachKhoa IT Academy

f. How many IP addresses are lost due to subnetting (in terms of the whole
organizations)?

7. Divide the IP network address, 195.25.2.0, so that it is capable of supporting at least 9


network segments.
______________________________________________________________________
8. Divide the IP network address, 140.25.0.0, so that it is capable of supporting 254
network segments.
______________________________________________________________________
9. Divide the IP network address, 140.25.0.0, so that it is capable of supporting 128
network segments.
______________________________________________________________________
10. Divide IP network address, 25.25.0.0, so that it is capable of supporting 65,354
network segments.
______________________________________________________________________
11. Create subnets for IP network address, 222.22.22.0, so that one segment can support
at least 56 attachments and 5 segments at least 12 attachments each. You also need to
define the subnet mask for each segment.
______________________________________________________________________
12. Create subnets for IP network address, 200.10.10.0, so that one segment can support
at least 48 attachments and 3 segments at least 30 attachments each. You also need to
define the subnet mask for each segment.
_____________________________________________________________________

2
BachKhoa IT Academy

II. Calculating VLSM

Scenario: Your company has been given the network address 172.16.32.0/19.

10101100 . 00010000 . 001 00000 . 00000000

After careful planning, looking at current needs and expansion, you realize you need a
maximum of three
subnets of 1,000 hosts, three subnets of 250 hosts, and several subnets for serial point-to-
point links.

There are several ways to do this, but you have decided that you will variably subnet your
network as follows: (We did it this way just for the exercise and to keep it somewhat
simple.)

Step 1: The maximum number of hosts any of your subnets will need is 1,000, so you
decide to make the initial subnets 172.16.32.0/22. Write out the eight /22 subnets in
binary and decimal form:

Step 2: You only need three /22 subnets, so you reserved the first three for those subnets
needing 1,000 hosts. Which ones are they?

Step 3: You decide to sub-subnet the fourth subnet (172.16.44.0/22) for the three subnets
each needing 250 hosts. A /24 will work well for this. What are the three /24 sub-
subnets you will use?

Step 4: The last (fourth) of the /24 sub-subnets (172.16.47.0/24), you decide to use for
you serial point-to-point links. List the first five /30 sub-sub-subnets (if there is such a
term):

3
BachKhoa IT Academy

III. OPEN – LAB1


Given a network topology as below:

4
BachKhoa IT Academy

Choose an appropriate major IP network then do the following:

Major network: _____. _____. _____. _____

1. Answer following questions:

What’s the default subnetmask


How many subnet will you need?
What’s the minimum number of bits for
subnetting?
What will the subnetmask be?
How many usabe subnet has been created?
How many valid IP address in each subnet?

2. Fill the below table up to first sixteen subnets that can be created (start from
subnet #0).

Usabl
Sub- Sub network Broadcast Used
Range of valid host IP Address e
net Address Address (Y/N)
(Y/N)
#0
#1
#2
#3
#4
#5
#6
#7
#8
#9
#10
#11
#12
#13
#14
#15

5
BachKhoa IT Academy

3. Assign an IP address and subnet mask to router interface and hosts

Interface of IP address Subnet mask Default Subnet


Host gateway Address
Router 1 – F0/0 NA
Router 1 – S0/0
Router 2 – F0/0
Router 2 – S0/0
Router 3 – F0/0
Router 3 – S0/0
Router 4 – F0/0
Router 4 – S0/0
Router 5 – F0/0
Router 5 – S0/0
Switch 1
Printer
Server 1
Server 2
Server 3
Server 4

4. Cable selection (You have been given several UTP Cat 5 (TIA/EIA-568A/B)

Cable types Connection


Connect R 1 to Sw 1
Connect Sw 1 to Sw 2
Connect R 2 to R 4
Connect Sw 1 to Bridge
Connect Sw 5 to Server 3

5. Analyse the process of getting IP address when Client 1 powers up

6. Analyse the communication process when user in Client 1 print a Word file by
the Printer

7. Analyse the communication process when access the web page on Server 3
by typing the URL www.server3.net in its web browser

6
BachKhoa IT Academy

IV. Open Lab2


DNS Server

WEB Server1 TFTP


(www.cisco.com) Server
LAN4

Switch3 Switch4 LAN5

F0/1 WAN F0/1 LAN6


LAN3 Loopback3 Loopback6
Router1 Router2

LAN2 Loopback2 S0/1 Loopback7 LAN7


S0/0
F0/0 F0/0
DHCP DHCP
Server1 Switch1 Switch2 Server2

PC1 PC2 PC3 PC4

LAN1 LAN8

Major network: 172.16.0.0 /17

Task 1: IP Subnetting (15 points, for all team)


Given the network as in the diagram above, you are to perform the tasks:
(Note: write down subnet address to “……” zone):
- IP planning:
o Lan 1 : 128 hosts ........................................................................................
o Lan 2 : 100 hosts – loopback .....................................................................
o Lan 3 : 1000 hosts – looback .....................................................................
o Lan 4 : 1 host ..............................................................................................
o Lan 5 : 3 hosts ............................................................................................
o Lan 6 : 534 hosts – loopback .....................................................................
o Lan 7 : 48 hosts – loopback .......................................................................
o Lan 8 : 3 hosts ............................................................................................
o WanLink : 2 hosts.......................................................................................

Subnet Broadcast Subnet


Network Host Address Range
Address Address Mask
LAN1
LAN2
LAN3
LAN4
LAN5
LAN6
LAN7
LAN8

7
BachKhoa IT Academy

WAN link

Task 2 : IP address assignment (5 points, for all team)


Note: Fill only the cells that applied.

Device/Port
Router 1

Router 2

Devices IP address Default Gateway Network number

Task 3: Basic configuraion


a. Hostnames: Assign the Routers/Switches/Severs/PC names as in the diagram (e.g.
‘router1’, ‘router2’, ..., ‘switch1’, ‘switch2’ ,..., “DNS Server1”,…, “PC client” ).
b. Passwords & Banner Message: ( Routers only )
i. Console and VTY lines are password protected, password=’class’.
ii. Set the privileged mode password (enable secret password) to ‘cisco’.
iii. Banner contains the name of the student who configures the device.
Banner (motd) example: Hello, this is router 1, configured by Nguyen Van A.
c. Routers interfaces:
i. Assign IP addresses and subnet masks.
ii. Use the clock rate 64000 for DCE port.
iii. Create descriptions. Interface description example: Connect to Router2.
d. Static default route:
i. Router1: (config)# ip route 0.0.0.0 0.0.0.0 s0/1
ii. Router2: (config)# ip route 0.0.0.0 0.0.0.0 s0/0
2. Backup Configuration: Backup Router1/Router2 configuration on TFTP Server4
3. Configuring the Servers:
i. Assign an IP address and Subnet mask, Default gateway.

8
BachKhoa IT Academy

ii. Active suitable services.


4. Configuring the PC client: Obtain an IP address and DNS server address automatically.

You might also like