Practicals of CNAM
Practicals of CNAM
Tracer tool
Ans:-
Devices Needed:
o 1 Switch or Hub (center device)
o Multiple PCs or End Devices (usually 4 to 5 for demonstration)
Implementation:
1. Open Cisco Packet Tracer.
2. Drag and drop a Switch from the devices panel.
3. Place PCs (or other end devices) on the workspace.
4. Connect each PC to the switch using Copper Straight-Through Cables (Click on each device, select
"FastEthernet," and then choose the correct port to connect).
5. Configure IP addresses on each PC:
Go to each PC → Desktop → IP Configuration.
Assign unique IPs to each PC (for example, 192.168.1.2, 192.168.1.3, etc.).
6. Test connectivity using the Ping command:
Go to one of the PCs and use the ping command to check connectivity to other devices.
This configuration forms a Star Topology, where all devices are connected to a central switch.
Devices Needed:
o 1 Hub or Switch (optional for end devices, if you want)
o Several PCs
Implementation:
1. Open Cisco Packet Tracer.
2. Drag and drop several PCs into the workspace.
3. Use the Cable tool (straight-through or coaxial) to connect the PCs in a linear fashion.
4. You don't need a central switch or router in a pure bus topology, just connect them serially.
5. Assign IP addresses to each PC:
Go to each PC → Desktop → IP Configuration.
Assign them IP addresses within the same network range (e.g., 192.168.1.2, 192.168.1.3, etc.).
6. Test connectivity using the Ping command from one PC to another.
Devices Needed:
o Multiple PCs or End Devices
Implementation:
1. Open Cisco Packet Tracer.
2. Drag and drop several PCs into the workspace.
3. Use the Cable tool to connect the PCs in a circular manner. Each PC should be connected to two other
PCs (one on each side).
4. Assign IP addresses to each PC:
Go to each PC → Desktop → IP Configuration.
Assign unique IPs to each PC within the same subnet.
5. To simulate the "ring" behavior, you could either use a hub/switch or directly connect each device in a
loop.
6. Test the connectivity by using Ping.
This setup forms a Ring Topology, where each device is connected to two other devices, forming a loop.
Devices Needed:
o Multiple PCs (at least 4 devices to demonstrate full mesh)
o Switch (optional for connecting more devices, if needed)
Implementation:
1. Open Cisco Packet Tracer.
2. Drag and drop PCs into the workspace.
3. Connect each PC to every other PC using Copper Straight-Through Cables.
For example, if you have 4 PCs, you will need to create connections between:
PC1 to PC2, PC1 to PC3, PC1 to PC4
PC2 to PC3, PC2 to PC4
PC3 to PC4
4. Assign unique IP addresses to each PC within the same subnet.
5. Test the connectivity using the Ping command.
Verify Connectivity:
o After configuring all devices and connections, test the network by selecting one of the PCs and using
the ping command to check if all other devices are reachable.
Document Configuration:
o Record your IP addressing scheme, network devices used, and any other configuration details to keep
track of your setup.
Summary:
Devices Needed:
Devices Needed:
3-4 PCs
1 Hub or just connect the PCs using Copper Coaxial Cables.
Devices Needed:
4 PCs
Hub or Switch
Devices Needed:
4 PCs
Switch (optional, but can be used for simplicity)
Ping between PCs: Always test connectivity between PCs using the ping command from the command prompt
on each device. This will ensure that the devices are properly connected.
FTP Connection: If you cannot connect to the FTP server, make sure:
o The server’s IP is correctly configured.
o The FTP username and password are correct.
o The devices are in the same subnet (same network).
Check Cables: Ensure that you are using Copper Straight-Through Cables where necessary. For bus
topologies or switches, the cable type might differ based on the physical layer.
Practical 3 :-. Configure Wireless LAN (WLAN) Connection Using Cisco Packet Tracer
Ans:-
Devices Needed:
Wireless Router (e.g., Cisco 881 or 800 series router with wireless capabilities)
Wireless End Devices (e.g., Laptops or PCs with wireless network interfaces)
Wires and Cables (for connecting router to other devices like the Internet or network resources)
If you want the wireless router to assign IP addresses dynamically (using DHCP) to connected devices:
This allows the router to dynamically assign IP addresses to any wireless device that connects.
If you do not want to use DHCP on the router, you can manually assign static IP addresses to the laptops:
Wireless network connection: Ensure the wireless laptops/PCs are successfully connected to the wireless
router.
IP address configuration: Ensure the devices have IP addresses in the same subnet as the router (e.g.,
192.168.1.x).
Ping test: Check if the devices can communicate with each other and with the router.
Practical 4 :-. To construct a VLAN (Virtual Local Area Network) and make PC Communication among a VLAN .
Ans:-
Requirements
• Windows pc – 6 Nos
• CISCO Packet Tracer Software ( Student Version)
• 8 port switch – 1 No
• Cat-5 LAN cable
Procedure
Theory
A VLAN is a group of devices on one or more LANs that are configured to communicate as if
they were attached to the same wire, when in fact they are located on a number of different LAN segments.
Because VLANs are based on logical instead of physical connections, they are extremely flexible.
VLANs define broadcast domains in a Layer 2 network. A broadcast domain is the setof all
devices that will receive broadcast frames originating from any device within the set. Broadcast domains
are typically bounded by routers because routers do not forward broadcast frames. Layer 2 switches create
broadcast domains based on the configuration of the switch. Switches are multiport bridges that allow you
to create multiple broadcast domains. Each broadcast domain is like a distinct virtual bridge within a
switch.
The advantages of a LAN are the same as those for any group of devices networked together. The devices can
use a single Internet connection, share files with one another, print to shared printers, and be accessed and even
controlled by one another.
Switch>en
Switch#config
Configuring from terminal, memory, or network [terminal]? Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#ex
Switch(config)#vlan 20
Switch(config-vlan)#ex
Switch(config)#interface range fastEthernet 0/1-3
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#ex Switch(config)#interface
range fastEthernet 0/4-6 Switch(config-if-
range)#switchport access vlan 20Switch(config-if-
range)#ex
Switch(config)#exSwitch#
%SYS-5-CONFIG_I: Configured from console by console
VLAN OUTPUT: (PINGING FROM PC0)
C:\>PING 10.0.0.2
Ans:-
Requirements
• Windows pc – 4 Nos
• CISCO Packet Tracer Software ( Student Version)
• 8 port switch – 1 No
• Cat-5 LAN cable
Procedure
The use of VLANs means that users would not be able to communicate across departments, i.e.
a user in FINANCE, would not be able to send a message to a user in SALES since they are on different
broadcast domains.
1. Understand the Scenario:
You have multiple VLANs (e.g., VLAN 10, VLAN 20, etc.).
PCs in different VLANs need to communicate with each other.
To enable communication between different VLANs, you need a router or a Layer 3 switch.
2. Requirements:
Create the VLANs on your switch, for example, VLAN 10 and VLAN 20.
Switch(config)# vlan 10
Switch(config-vlan)# name HR
Switch(config-vlan)# exit
Switch(config)# vlan 20
Switch(config-vlan)# name IT
Switch(config-vlan)# exit
Assign specific switch ports to each VLAN. For instance, if you want port 1 to belong to VLAN 10 (HR) and port 2 to
belong to VLAN 20 (IT):
If you are using a router to route between VLANs, you can connect the router to a trunk port on the switch and
configure Sub-Interfaces on the router for each VLAN. If you are using a Layer 3 switch, it can route internally
between VLANs.
1. Configure Sub-Interfaces on Router: On the router, configure sub-interfaces for each VLAN. For example,
for VLAN 10 (HR) and VLAN 20 (IT):
Trunk Port on Switch: You need to set the port connecting to the router as a trunk port. This will allow traffic from
multiple VLANs to traverse between the switch and the router.
Switch(config)# interface gig0/1 # Assuming this is the trunk port to the router
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk encapsulation dot1Q
Switch(config-if)# exit
If you're using a Layer 3 switch, enable routing and configure SVI (Switched Virtual Interfaces) for each VLAN.
Switch(config)# ip routing
Set the IP address and default gateway for each PC. For example:
Test the communication between PCs in different VLANs (e.g., from PC in VLAN 10 to PC in VLAN 20).
You can use the ping command to verify if the PCs can communicate across VLANs:
PC1 (VLAN 10)> ping 192.168.20.2 # Ping PC in VLAN 20
If everything is correctly set up, the ping should succeed, indicating that Inter-VLAN routing is working.
Practical -5 :- To construct simple LAN and understand the concept and operation of AddressResolution
Protocol (ARP)
C:\>arp -a