CN Aass5

You might also like

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

COURSE CODE: SWE2002

COURSE NAME: COMPUTER


NETWORKS

LAB ASSESSMENT-5

SUBMITTED BY: -

NAME: ANNAPOORNA A NAIR


REG NO: 21MIS0130
Type packettracer command on command prompt according to the location of the cisco
packet tracer
Login using your credentials
1. CONSTRUCTING THE TOPOLOGY
Select the router icon, then select the 1841 router model. Place the router anywhere on the
network

Double click on it
Click on the POWER switch in the physical panel of the router to power it off. The green light
will disappear.
Next, drag and drop the HWIC-2T module into Slot 1 of the router. Then use the power switch
again to power up the router
Click on the CLI button in the top of the router’s configuration panel
Once you are in the User Executive Mode, type “enable” (no quotes) to move to the
Privileged Executive mode

Now, use the “configure terminal” command to enter the Global Configuration mode.

Type in “hostname Router-A” to change the router’s name to Router-A.


Type in “interface FastEthernet0/0” to access the FastEthernet0/0 interface.

Change the IP address of the interface using the following command: “IP address
172.16.23.1 255.255.255.0”.

Use the “no shutdown” command to activate the interface


Now,
add an end device to the network, specifically a generic PC. Place it next to the router. Double
click on the PC.

Click on the Desktop tab, then the IP Configuration button.

Assign the 172.16.23.10 IP address to the PC and 172.16.23.1 as its default gateway. The subnet
mask remains is naturally 255.255.255.0.

Connect the FastEthernet0/0 interface of the router to the FastEthernet0 interface of the PC using
a Copper cross-over cable
First, go back to the CLI of Router A and add an IP address to interface Serial0/1/0.
The IP address is 172.31.20.1, with a mask of 255.255.255.0.
Remember to also apply the “no shutdown” command.
If you do not remember how to enter an Interface Configuration mode, follow the steps in the
following exhibit
Place another 1841 router on the network somewhere above Router A. Change its name to
Router B.
Double click on Router B. In the physical panel, power off the router and add a HWIC-2T
module to one of the empty slots. Power on the router

Enter the router’s CLI. Enter the Global Configuration mode.


Configure the Serial0/1/1 interface with the IP address 172.31.20.2. Configure the Serial0/1/0
interface with the IP address 172.20.10.1.

Remember, you can always verify your changes by using the “show ip interface brief” command
in the Privileged Executive mode

Exit the CLI of Router B. Connect the Serial0/1/0 interface on Router A with the Serial0/1/1
interface on Router B with a Serial DTE cable
We have successfully connected router A and router B.
To make sure this connection has been set up properly, use the “ping” command in the Privileged
Executive mode of Router A (or Router B) followed by the IP address of the other serial interface
Add a new 1841 router to the network. Name it Router C.
Add a HWIC-2T module to Router C.
Configure interface Serial0/1/1 with the IP address 172.20.10.2, a mask of 255.255.255.0 and the
“no shutdown” command.
Connect interface Serial0/1/0 of Router B with Serial0/1/1 of Router C with a Serial DTE cable.
Verify the connectivity with a ping.
Configure the FastEthernet0/0 interface of Router B with an IP address of 192.168.40.1, a mask
of 255.255.255.0 and the “no shutdown” command.
Add a generic PC end device to the network. Double click on it. Enter the Desktop panel, then
click the IP configuration button. Configure it with the IP address 192.168.40.10, a subnet mask
of 255.255.255.0 and make the FastEthernet0/0 interface of Router B its default gateway
Finally, connect the FastEthernet0/0 interface of Router B with Host 2 using a copper cross-over
cable.
2. STATIC ROUTING

Enter the Global Configuration mode of Router A and use the following command:”ip route
192.168.40.0 255.255.255.0 Serial0/1/0”.
Enter the Global Configuration mode of Router C and use the following command:”ip route
192.168.40.0 255.255.255.0 Serial0/1/0”

Enter the Global Configuration mode of Router C and use the following command:”ip route
172.16.23.0 255.255.255.0 Serial0/1/1”
3. DYNAMIC ROUTING
Start by entering the Global Configuration mode of Router A.
Use the command “router RIP” to enter the configuration options for the RIPv1 protocol.
Now use the commands “network 172.16.23.0” and “network 172.31.20.0” to advertise
those networks to the other routers.

Enter the Global Configuration mode of Router C. Use the command “router RIP” to
enter the configuration options for the RIPv1 protocol.
Now use the commands “network 172.20.10.0” and “network 172.31.20.0” to advertise
those networks to the other routers.
Enter the Global Configuration mode of Router B.

Use the command “router RIP” to enter the configuration options for the RIPv1 protocol.

Now use the commands “network 192.168.40.0” and “network 172.20.10.0” to advertise
those networks to the other routers
X

You might also like