0% found this document useful (0 votes)
82 views17 pages

ASSIGNMENT-9

The document outlines the setup of two LANs with 6 PCs, utilizing 2 routers and 2 switches, and provides detailed steps for configuring the network using Cisco Packet Tracer. It includes instructions for adding devices, connecting them with cables, assigning IP addresses, and testing connectivity. Additionally, it describes a practice problem involving the creation of a simple network with a router, switch, and PCs, emphasizing the importance of IP addressing and connectivity verification.

Uploaded by

kmandhal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views17 pages

ASSIGNMENT-9

The document outlines the setup of two LANs with 6 PCs, utilizing 2 routers and 2 switches, and provides detailed steps for configuring the network using Cisco Packet Tracer. It includes instructions for adding devices, connecting them with cables, assigning IP addresses, and testing connectivity. Additionally, it describes a practice problem involving the creation of a simple network with a router, switch, and PCs, emphasizing the importance of IP addressing and connectivity verification.

Uploaded by

kmandhal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

M.

KEERTHI
2023002211

ASSIGNMENT-09
Problem 1:

Create the network of 6 PCs of two different LANs using 2


routers and 2 switches.
Network Setup
• Network 1 (LAN 1):
3 PCs connected to Switch0.
Router0 connected to Switch0.
• Network 2 (LAN 2):
3 PCs connected to Switch1.
Router1 connected to Switch1.
• Router0 and Router1 will be connected to allow communication
between different networks.
Note: Assume that LAN1 is in one location and LAN2 is another
location

Cisco Packet Tracer - LAN1 & LAN2 Setup Guide


Step 1: Open Cisco Packet Tracer
M.KEERTHI
2023002211

Launch the Cisco Packet Tracer software.


Step 2: Add Devices
LAN1 (192.168.1.0/24)
1. End Devices: Add PCs (PC0, PC1, PC2).
2. Network Devices:
a. Switch: Add 2960 Switch0.
b. Router: Add 2911 Router0.
Note: Router0 has two interfaces—one connects to Switch0 (LAN1),
and the other connects to Router1.
LAN2 (192.168.2.0/24)
1. End Devices: Add PCs (PC3, PC4, PC5).
2. Network Devices:
a. Switch: Add 2960 Switch1.
b. Router: Add 2911 Router1.
Note: Router1 has two interfaces—one connects to Switch1 (LAN2),
and the other connects to Router0.
Step 3: Connect Devices with Cables
LAN1 (192.168.1.0/24)
Use Copper Straight-Through cable:
• PC0 → Switch0 (FastEthernet0 → Fa0/1)
• PC1 → Switch0 (FastEthernet0 → Fa0/2)
• PC2 → Switch0 (FastEthernet0 → Fa0/3)
• Switch0 → Router0 (Fa0/4 → GigabitEthernet0/0)
LAN2 (192.168.2.0/24)
Use Copper Straight-Through cable:
• PC3 → Switch1 (FastEthernet0 → Fa0/1)
• PC4 → Switch1 (FastEthernet0 → Fa0/2)
• PC5 → Switch1 (FastEthernet0 → Fa0/3)
• Switch1 → Router1 (Fa0/4 → GigabitEthernet0/0)
Router0 ↔ Router1 Connection
Use Copper Cross-Over cable:
M.KEERTHI
2023002211

• Router0 (GigabitEthernet0/1) ↔ Router1 (GigabitEthernet0/1)


Step 4: Assign IP Addresses
PC Configuration
Each PC requires a unique IP address:
LAN1 (192.168.1.0/24):
• PC0: 192.168.1.2 / 255.255.255.0, Gateway: 192.168.1.1
• PC1: 192.168.1.3 / 255.255.255.0, Gateway: 192.168.1.1
• PC2: 192.168.1.4 / 255.255.255.0, Gateway: 192.168.1.1
LAN2 (192.168.2.0/24):
• PC3: 192.168.2.2 / 255.255.255.0, Gateway: 192.168.2.1
• PC4: 192.168.2.3 / 255.255.255.0, Gateway: 192.168.2.1
• PC5: 192.168.2.4 / 255.255.255.0, Gateway: 192.168.2.1
Step 5: Configure Router Interfaces
Router0 Configuration
Router0# configure terminal
Router0(config)# interface GigabitEthernet 0/0
Router0(config-if)# ip address 192.168.1.1 255.255.255.0
Router0(config-if)# no shutdown
Router0(config-if)# exit
Router1 Configuration
Router1# configure terminal
Router1(config)# interface GigabitEthernet 0/0
Router1(config-if)# ip address 192.168.2.1 255.255.255.0
Router1(config-if)# no shutdown
M.KEERTHI
2023002211

! WAN / inter-router link


Router0(config)# interface gigabitEthernet 0/1
Router0(config-if)# ip address 192.168.10.1 255.255.255.252
Router0(config-if)# no shutdown
Router0(config-if)# exit
Router0(config)# exit

show ip interface brief


1.Router0
M.KEERTHI
2023002211

! WAN / inter-router link


Router1(config)# interface gigabitEthernet 0/1
Router1(config-if)# ip address 192.168.10.2 255.255.255.252
Router1(config-if)# no shutdown
Router1(config-if)# exit
Router1(config)# exit

! WAN / inter-router link


Router1(config)# interface gigabitEthernet 0/1
Router1(config-if)# ip address 192.168.10.2 255.255.255.252
Router1(config-if)# no shutdown
M.KEERTHI
2023002211

Router1(config-if)# exit
Router1(config)# exit

show ip interface brief


1.Router1

Test connectivity:
i. Test Connectivity (reachability):
ii. Reachability of PC0 to PC1 with in LAN1:
iii. Click on PC0 → Desktop->Command Prompt, then type as
shown below:
M.KEERTHI
2023002211

• Reachability of Gateway from PC0 in LAN1:

Alternative options:
Router0: ip route 192.168.2.0 255.255.255.0 192.168.10.2
Router1: ip route 192.168.1.0 255.255.255.0 192.168.10.1

Problem 2:

Create the below network: Connect a router to a switch


using Packet Tracer
M.KEERTHI
2023002211

Components Required
1. Router (e.g., 2911) – Routes data between networks.
2. Switch (e.g., 2960) – Connects devices in a LAN using MAC
addresses.
3. PCs (End Devices) – Communicate through the network.
Step-by-Step Guide
1.Launch Packet Tracer & Create a Project
• Open Packet Tracer, go to File → New, name your project, and
save it.

2.Add Devices to the Workspace


• Router: Click Network Devices → Routers → 2911 Router, drag
it to the workspace.
• Switch: Click Switches → 2960 Switch, drag it to the workspace.
• PCs: Click End Devices → PC0, PC1, drag them into the
workspace.
M.KEERTHI
2023002211

3.Connect Devices with Cables


• Router to Switch: Use Copper Straight-Through cable (e.g.,
GigabitEthernet0/0 on router → FastEthernet0/1 on switch).
• PCs to Switch: Use Copper Straight-Through cable (PC Ethernet
Fa0 → Switch Fa0/x).
4.Configure the Router & PCs
Router Configuration
1. Click Router → CLI, then enter: enable
2. configure terminal
3. hostname Router
4. interface GigabitEthernet0/0
5. ip address 192.168.1.1 255.255.255.0
6. no shutdown
7. exit
PC Configuration
1. Click PC → Desktop → IP Configuration
2. Assign static IPs:
a. PC0: 192.168.1.2 / 255.255.255.0 / Gateway: 192.168.1.1
b. PC1: 192.168.1.3 / 255.255.255.0 / Gateway: 192.168.1.1
5.Test Connectivity
• Open Command Prompt on PCs (Desktop → Command
Prompt).
• Ping the router: ping 192.168.1.1
M.KEERTHI
2023002211

interface GigabitEthernet0/1
ip address
no shutdown
exit
end

show ip interface brief

Configuring the PCs in Packet Tracer


M.KEERTHI
2023002211

1.Set Up PC IP Addresses
• Click on PC0 → Desktop → IP Configuration
• Assign:
o PC0:
▪ IP Address: 192.168.1.2
▪ Subnet Mask: 255.255.255.0
▪ Default Gateway: 192.168.1.1 (Router’s interface)
o PC1:
▪ IP Address: 192.168.1.3
▪ Subnet Mask: 255.255.255.0
▪ Default Gateway: 192.168.1.1
2.Test Network Connectivity
• Click PC0 → Desktop → Command Prompt
• Run: ping 192.168.1.3

Practice Problems:
Building & Configuring a Simple Network
M.KEERTHI
2023002211

Part 1: Build a Simple Network


Step 1: Add Network Devices
1.Open Packet Tracer and drag the following devices into the
workspace:
PC: End Devices > PC
Laptop: End Devices > Laptop
Cable Modem: Network Devices > WAN Emulation > Cable Modem
Step 2: Rename Devices
1.Click each device → Config tab → Change the Display Name to:
-PC
-Laptop
-Cable Modem
Step 3: Connect Devices with Cables
1. PC → Wireless Router: Copper Straight-Through Cable
PC’s FastEthernet0 → Router’s Ethernet 1
2.Router → Cable Modem: Copper Straight-Through Cable
M.KEERTHI
2023002211

Router’s Internet Interface → Modem’s Port 1


3.Cable Modem → Internet: Coaxial Cable
Modem’s Port 0 → Internet Cloud’s Coaxial 7

Part 2: Configure Devices & Verify Connectivity


Step 1: Configure the PC
1.Click PC → Desktop Tab → Open IP Configuration
2. Ensure DHCP is enabled
3. If no IP is assigned, click DHCP to request an IP

Open Command Prompt → Type ipconfig /all to view the assigned


IPv4 Address, Subnet Mask, and Default Gateway.
M.KEERTHI
2023002211

1. Test connectivity:
a. Run ping cisco.srv (should receive four replies).

Step 2: Configure the Laptop (Wireless Connection)


1. Replace Ethernet with Wireless Module
2. Click Laptop → Physical Tab → Power Off.
M.KEERTHI
2023002211

3. Remove Ethernet Copper Module → Install Wireless WPC300N


Module.
4. Power On the Laptop.
5. Connect to Wireless Network
6. Go to Desktop Tab → Open PC Wireless.
7. Click Connect Tab → Select HomeNetwork → Click Connect.
8. Close PC Wireless.

Verify Internet Access


1. Open Web Browser and access a website to confirm
connectivity.
M.KEERTHI
2023002211

Reflection: IP Addressing Table

After running ipconfig, fill in the table with the assigned IP addresses:

Devic IPv4 Subnet Default


e Address Mask Gateway
PC 192.168.0. 255.255.25 192.168.0.1
2 5.0
Lapto 169.168.0. 255.255.0.0 0.0.0.0
p 1

• Understanding IP Addressing
• The IP address uniquely identifies each device on the network.
• The Subnet Mask (255.255.255.0) determines the network
(192.168.0) and host (X/Y) portions.
• The Default Gateway (192.168.0.1) is the router’s address,
enabling internet access.
M.KEERTHI
2023002211

• Devices receive an IP address between 192.168.0.2 -


192.168.0.254, ensuring each has a unique identity within the
network.

You might also like