0% found this document useful (0 votes)
21 views

Data Communication and Computer Networking Lab Report 12th

The lab report for the Data Communication and Computer Networking Lab at Jatiya Kabi Kazi Nazrul Islam University details various experiments including connecting PCs using switches and hubs, configuring routers, and implementing DNS and DHCP servers using Packet Tracer. It includes configuration commands for multiple routers and switches, along with their respective outcomes. The report serves as a practical guide for students to understand networking concepts and configurations.
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)
21 views

Data Communication and Computer Networking Lab Report 12th

The lab report for the Data Communication and Computer Networking Lab at Jatiya Kabi Kazi Nazrul Islam University details various experiments including connecting PCs using switches and hubs, configuring routers, and implementing DNS and DHCP servers using Packet Tracer. It includes configuration commands for multiple routers and switches, along with their respective outcomes. The report serves as a practical guide for students to understand networking concepts and configurations.
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/ 15

Jatiya Kabi Kazi Nazrul Islam University

Trishal, Mymensingh

Course Code: CSE - 402


Course Title: Data Communication and Computer
Networking Lab

Lab Report

Submitted To:
Md. Mahbubur Rahman Submitted By:
Assistant Professor Md. Nazmul Alam Munna
Dept of EEE Roll: 18102907
JKKNIU Session: 2017-18
Dept of EEE
JKKNIU
Lab Report
CSE - 402

Data Communication and Computer Networking Lab

Experiment No. Contents

01 Connecting multiple PCs using switch and hub.

02 Configure three routers with the switch by using the


command line interface.

03 Configuration of DNS using packet tracer.

04 Implementing HTTP server, DNS Server and DHCP


within the router using Packet Tracer.

05 Configuration of 3 Routers using RIP in Packet Tracer.

06 Implementation of a VLAN using Packet Tracer.


Topology Diagram:

Result/ Outcome:
Topology Diagram:

Router0 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,


changed state to up

Router(config-if)#exit
Router(config)#int se 2/0
Router(config-if)#ip add 172.10.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed


state to up
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 172.10.0.2
Router(config)#ip route 192.168.3.0 255.255.255.0 172.10.0.2

Router1 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,


changed state to up

Router(config-if)#ex
Router(config)#int se 2/0
Router(config-if)#ip add 172.11.0.2 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed


state to up
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.1.0 255.255.255.0 172.10.0.1
Router(config)#ip route 192.168.3.0 255.255.255.0 172.11.0.2

Router2 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,


changed state to up

Router(config-if)#ex
Router(config)#int se 2/0
Router(config-if)#ip add 172.11.0.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed


state to up
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.2.0 255.255.255.0 172.11.0.1
Router(config)#ip route 192.168.1.0 255.255.255.0 172.11.0.1

Result/ Outcome:
Topology Diagram:

Result/ Outcome:
Topology Diagram:

Router Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa6/0
Router(config-if)#ip add 10.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet6/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet6/0,


changed state to up

Router(config-if)#ex
Router(config)#ip dhcp pool IP10
Router(dhcp-config)#net 10.0.0.0 255.0.0.0
Router(dhcp-config)#default 10.0.0.1
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#ex
Router(config)#ip dhcp exc 10.0.0.1
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy run start


Router#sh run
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#int fa 0/0
Router(config-if)#ip add 8.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,


changed state to up

Router(config-if)#ex
Router(config)#int fa 0/1
%Invalid interface type and number
Router(config)#int fa 1/0
Router(config-if)#ip add 20.0.0.1 255.0.0.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0,


changed state to up
ex
Router(config)#
Router#
%SYS-5-CONFIG_I: Configured from console by console

Result/ Outcome:
Topology Diagram:

Router0 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to
up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int se 2/0
Router(config-if)#ip add 172.10.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,


changed state to up
Router(config-if)#exit
Router(config)#int se 3/0
Router(config-if)#ip add 172.12.0.1 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,


changed state to up
Router(config-if)#exit
Router(config)#router rip
Router(config-router)#network 172.11.0.0
Router(config-router)#network 172.12.0.0
Router(config-router)#network 172.10.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.2.0

Router1 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#int se 2/0
Router(config-if)#ip add 172.11.0.2 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,


changed state to up
Router(config-if)#exit
Router(config-if)#exit
Router(config)#int se 3/0
Router(config-if)#ip add 172.12.0.2 255.255.0.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#exit
Router(config)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,


changed state to up
Router(config-if)#exit

Router(config)#router rip
Router(config-router)#network 172.11.0.0
Router(config-router)#network 172.12.0.0
Router(config-router)#network 172.10.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.2.0

Router2 Configuration Command:


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0,changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface


FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#int se 2/0
Router(config-if)#ip add 172.11.0.2 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0,


changed state to up
Router(config-if)#exit
Router(config)#router rip
Router(config-router)#network 172.11.0.0
Router(config-router)#network 172.12.0.0
Router(config-router)#network 172.10.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.3.0
Router(config-router)#network 192.168.2.0

Result/ Outcome:
Topology Diagram:

Switch Configuration Command:


Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name V10
Switch(config-vlan)#vlan 11
Switch(config-vlan)#name V11
Switch(config-vlan)#exit
Switch(config)#int fa 0/1
Switch(config-if)#sw m a
Switch(config-if)#sw a vlan 10
Switch(config-if)#exit
Switch(config)#int fa 0/2
Switch(config-if)#sw m a
Switch(config-if)#sw a vlan 11
Switch(config-if)#exit
Switch(config)#int fa 0/3
Switch(config-if)#sw m a
Switch(config-if)#sw a vlan 11
Switch(config-if)#exit
Switch(config)#int fa 0/4
Switch(config-if)#sw m a
Switch(config-if)#sw a vlan 10
Switch(config-if)#exit
Switch(config)#int fa 0/5
Switch(config-if)#sw m trunk
Switch(config-if)#sw non
Switch(config-if)#exit

Result/ Outcome:

You might also like