0% found this document useful (0 votes)
28 views10 pages

Lab Instruction IV - It Semester II (2022-23)

Uploaded by

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

Lab Instruction IV - It Semester II (2022-23)

Uploaded by

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

MINISTRY OF SCIENCE AND TECHNOLOGY

WEST YANGON TECHNOLOGICAL UNIVERSITY

DEPARTMENT OF INFORMATION TECHNOLOGY

LAB INSTRUCTION

------------------------ Academic Year

Semester-II

Year Fourth Year


-----------------------------------

Subject IT-42032 (Advanced Computer Networks)


-----------------------------------

Completed by

Name Daw May Zar Win


-----------------------------------

Position Lecturer
-----------------------------------

Date -----------------------------------
VI.IT (Information Technology)

IT- 42032 (Advanced Computer Networks)

Semester-II

Lab Practical Remark


Lab Title
No Marks

Installation and Configuration of DHCP


1
Server in a simple LAN

2 Installation and Configuration of DNS


Server in a simple LAN

Installation and Configuration of FTP Server


3
in a Simple LAN

Lab 4: Installation and Configuration of


4 EMAIL Server in a Simple LAN

5 DHCP Configuration in cisco router with


VLAN 10 20 30 in packet tracer
Lab 1: Installation and Configuration of DHCP Server in a Simple LAN

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.

Lab 2: Installation and Configuration of DNS Server in a Simple LAN

Configure and verify DNS service on Server.


a. Click Central Server, and then select the Desktop and then click IP Configuration
assign IP address as 192.168.1.1 and the Subnet Mask as 255.255.255.0 and DNS
server address as 192.168.1.1.
b. Test access to website DNS service, click services tab and choose HTTP. After that
HTTP and HTTPS services are ON.
c. Create a sample webpage in index.html.
d. Click back to DNS tab and this service is ON.
e. Add the resource records.
f. Scroll to the bottom and click Save.
g. Close the services window.

Verify the ability of client computers to use DNS.


a. Click PC and then click the Desktop tab > IP configuration.
b. Assign IP address as 192.168.1.10 and the Subnet Mask as 255.255.255.0 and DNS
server address 192.168.1.1.
c. Close the IP Configuration window, and then click Web Browser.
d. In the URL box, type 192.168.1.1 (for the mywebsite website) and click Go. The website
should appear.
e. If the web browser is open, close it and select Command Prompt.
f. Verify the IPv4 addressing by entering the command ipconfig /all. You should see the IP
address for the DNS server.
g. Ping the DNS server at 192.168.1.1 to verify connectivity.

Lab 3: Installation and Configuration of FTP Server in a Simple LAN

Configure and verify FTP service on Server.


a. Click Central Server, and then select the Desktop and then click IP Configuration assign IP
address as 10.10.10.1 and the Subnet Mask as 255.0.0.0 and FTP server address as10.10.10.1.
b. Test access to FTP service, click services tab and stop the other services and then choose FTP.
After that FTP service is ON.
c. Set up username and password for FTP server.
d. And select and add the permissions to allow access for the client.

Verify the ability of client computers to use FTP service.


a. Click PC and then click the Desktop tab > IP configuration.
b. Assign IP address as 10.10.10.10 and the Subnet Mask as 255.0.0.0 and FTP server address
10.10.10.1 as default gateway.
c. Close the IP Configuration window, and then click command prompt.
d. Verify the IPv4 addressing by entering the command ipconfig /all.
e. Ping the FTP server at 10.10.10.1 to verify connectivity.
f. Verify the FTP server by entering the command ftp 10.10.10.1 and use the ftp services.

Lab 4: Installation and Configuration of EMAIL Server in a Simple LAN

Configure and verify EMAIL service on Server.


a. Click Central Server, and then select the Desktop and then click IP Configuration assign IP
address as 172.16.10.1 and the Subnet Mask as 255.255.0.0 and EMAIL server address
as172.16.10.1.
b. Test access to EMAIL service, click services tab and stop the other services and then choose
EMAIL. After that EMAIL service is ON.
c. Set up domain name for EMAIL server and username and password for clients.
d. And add the permissions to allow access for the client.
Verify the ability of client computers to use EMAIL service.
a. Click PC and then click the Desktop tab > IP configuration.
b. Assign IP address as 172.16.10.2 and the Subnet Mask as 255.255.0.0 and EMAILserver
address 172.16.10.1 as default gateway.
c. Close the IP Configuration window, and then click command prompt.
d. Verify the IPv4 addressing by entering the command ipconfig /all.
e. Ping the EMAIL server at 172.16.10.1 to verify connectivity.
f. To verify the EMAIL service by configuring mail and create and then send the mail to other
user.

Lab 5: DHCP Configuration in cisco router with VLAN 10 20 30 in packet


tracer

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

Configuring the router's interface


By default, different VLANs cannot communicate with each other. To allow communication
between different VLANs, we have to connect them through a router. We don't need a dedicated
router interface for each VLAN. Routers support interface virtualization. We can use a single
router interface to allow communication between multiple VLANs.

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)#

Configuring DHCP server and creating DHCP pools.


Create three DHCP pools by using the above configuration steps.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool 1
Router(dhcp-config)#network 10.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 10.0.0.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 10.0.0.1 10.0.0.10
Router(config)#ip dhcp pool 2
Router(dhcp-config)#network 20.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 20.0.0.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 20.0.0.1 20.0.0.10
Router(config)#ip dhcp pool 3
Router(dhcp-config)#network 30.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 30.0.0.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 30.0.0.1 30.0.0.10
Router(config)#do write
Building configuration...
[OK]
Router(config)#exit

You might also like