Lab Instruction IV - It Semester II (2022-23)
Lab Instruction IV - It Semester II (2022-23)
LAB INSTRUCTION
Semester-II
Completed by
Position Lecturer
-----------------------------------
Date -----------------------------------
VI.IT (Information Technology)
Semester-II
In this activity, you will configure the router and assign the IP address.
a. Click Router and select Config tab and then click On to port status.
b. Click FastEthernet0/0 and statically assign the IP address as 10.0.0.1 and the Subnet
Mask address as 255.0.0.0.
c. Close the window.
Configure and verify DHCP service on Server.
a. Click CentralServer, and then select the Desktop and then click IP Configuration assign
IP address as 10.0.0.10 and the Subnet Mask as 255.0.0.0 and Default Gateway address
as 10.0.0.1.
b. Close the Config window.
c. Open the Services window and choose DHCP and then click On to Service.
d. Now you can assign the Start IP address as 10.0.0.11 and the Subnet Mask address as
255.0.0.0.
e. Scroll to the bottom and click Save.
f. Close the services window.
Request DHCP addressing for the host.
This activity focuses on the home office. The clients that you will configure with DHCP are
Home computer (Desktop, laptop) and Tablet.
a. Click PC and then click the Desktop tab > IP configuration.
b. Click DHCP and wait until the DHCP request is successful.
c. The host should now have a full IP configuration. If not, return to server configurations.
This tutorial explains how to configure multiple DHCP pools on the DHCP server to support
multiple VLANs. Learn how to configure DHCP on a switch to support multiple VLANs.
Configure this lab to meet the following objectives.
Create three VLANs and add 3 PCs to each VLAN.
Configure the DHCP server on the router and create three DHCP pools.
Assign a DHCP pool to each VLAN.
Configure all PCs as DHCP clients.
Verify that all PCs receive their IP configuration from the DHCP server.
Test connectivity between all PCs.
Configure this lab to meet the following objectives.
Creating and assigning VLANs.
To create a VLAN, run the following command in global configuration mode.
Switch(config)#vlan [VLAN number or name]
To assign a VLAN to an interface, use the following command.
Switch(config-if)#switchport access vlan [VLAN number or name]
Create 3 VLANs: VLAN 10, VLAN 20, and VLAN 30 by running the following commands.
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#exit
Switch(config)#interface range fastEthernet 0/1-4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#do write
Building configuration...
[OK]
Switch(config-if-range)#end
The following commands show how to execute the above commands on the packet tracer.
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#exit
Assign VLAN 10 to Fa0/1, VLAN 20 to Fa0/2 and VLAN 30 to Fa0/3.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Configuring trunk port
Switch(config)#interface fastEthernet 0/4
Switch(config-if)#switchport mode trunk
Switch(config-if)#do write
Building configuration...
[OK]
Switch(config-if)#exit
Switch(config)#end
To virtualize the Fa0/0 interface and to configure it to allow communication between different
VLANs, use the following configuration on the router.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet 0/0
Router(config-if)#no ip address
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface FastEthernet 0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip address 10.0.0.1 255.0.0.0
Router(config-subif)#exit
Router(config)#interface FastEthernet 0/0.20
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 20.0.0.1 255.0.0.0
Router(config-subif)#exit
Router(config)#interface FastEthernet 0/0.30
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 30.0.0.1 255.0.0.0
Router(config-subif)#exit
Router(config)#