Sasanka21904 Lab Routing

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Name: Sasanka Perera

Index No: 21904

Laboratory Assignment 1: Switching and Routing

Part 1: Creating a simple LAN


Part 2: Configuring static routes

Part 1:

There are 3 divisions in a company. The number of PC users in the company are as follows.

1. Division A - <last two digits of your index no>


2. Division B - <refer the whiteboard>
3. Division C - <refer the whiteboard>

Your company is using a class C address of 192.168.2.0/24 and use VLSM to subnet the class
C address block to effectively allocate IP addresses to each division.

1. Identify the number of bits that is required to represent the PC users of each division.
2. What should be the subnet mask of the PCs of each division
3. Identify the subnets that should be allocated to each division and mention the relevant
networks with CIDR notation.
4. Identify four IP addresses that can be allocated for the hosts in each division.
5. Build simple LANs for each division using a switch and three PCs from each division.
6. Inter division communication should be allowed. What should be done ?
7. Modify the LAN to allow inter division communication and verify the connectivity
among divisions.

1
Answers

01./02./03./04.

Company A(04) B(6) C(10)

Host bits 3 4 4

Bits borrwed 8 4 4

Subnet marsk 255.255.255.248 255.255.255.240 255.255.255.240

Ip- range 192.168.2.0 – 192.168.2.8 – 192.168.2.32 –


192.168.2.7 192.168.2.31 192.168.2.47

05. Simple LAN network

06.It’s easy to communicate using the defult gate ways through the system.

2
Part 2:

The internetwork shown in the following graphic will be used to configure all routers.

Router Interface IP Address


Lab_A F0/0 172.<last two digits of your index no>.10.1
Lab_A S0/0 172.<last two digits of your index no>.20.1

Lab_B S0/0 172.<last two digits of your index no>.20.2


Lab_B S0/1 172.<last two digits of your index no>.30.1
Lab_B F0/0 172.<last two digits of your index no>.50.1

Lab_C S0/0 172.<last two digits of your index no>.30.2


Lab_C Fa0/0 172.<last two digits of your index no>.40.1

In this lab, you will create a static route in all three routers so that the routers see all
networks. Verify with the Ping program when complete.

1. The Lab_A router is connected to two networks, 172.16.10.0 and 172.16.20.0.


You need to add routes to networks 172.16.30.0 and 172.16.40.0.

Lab_A#config t
Lab_A(config)#ip route 172.16.30.0 255.255.255.0 172.16.20.2
Lab_A(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.2

2. Save the current configuration for the Lab_A router by going to the privileged mode,
typing copy run start, and pressing Enter.

3
3. On the Lab_B router, you have direct connections to networks 172.16.20.0 and
172.16.30.0.
You need to add routes to networks 172.16.10.0 and 172.16.40.0.

4. Save the current configuration for router Lab_B.

5. On router Lab_C, create a static route to networks 172.16.10.0 and 172.16.20.0,


which are not directly connected.
Create static routes so that router Lab_C can see all networks

6. Save the current configuration for router Lab_C

7. Check your routing tables to make sure all four networks show up by executing the
show ip route command.

8. Now ping from each router to your hosts and from each router to each router. If it is
set up correctly, it will work.

4
Answers
01.

02./ 03./04./05./06

5
07.ip route command

PC 01

PC 02

6
PC 03

08.PC 01

7
PC 02

PC 03

8
9

You might also like