Submit To: Mam Saira Nakhaiz
Created By:
Name: Mohsin Fareed
Roll NO: B-27216
Assignment No: 1
Program: BSSE
Semester: 6th
Lab Tasks: 1
Table Of Contents
Topic:................................................................................3
Message Passing....................................................................3
Message Passing Steps by Using pear to pear.....................................3
Message Passing Steps by Using Switch / Local Area Network.................3
Command for Connections or Activities.........................................5
Router Configuration.............................................................5
Router Configuration Command for Connections or Activities................5
Router Configuration Diagram...................................................7
Router Configuration Commands................................................8
Router Configuration Pack Send Result..........................................9
Topic:
Message Passing
Message Passing Steps by Using pear to pear
1) Create a computer / laptop.
2) Input there IP address to Both System.
3) Then Connect to the 2ND System By using command Ping_IP.
4) Then connect by using Copper Cross-Over Wire.
5) Check both systems are proper work by using Command Ping_IP.
6) Then target to 2nd System where specific Pass a Message to him.
Message Passing Steps by Using Switch / Local Area Network
1. Create a computer / laptop.
2. Then Connect to the switch.
3. Input there IP address to all System.
4. Then connect all systems to switch by using Copper straight-Through Wire.
5. Check all are systems are proper work by using Command Ping_IP.
6. Then target an a System where specific Pass a Message to him.
Command for Connections or Activities
Command Code Actions
Ping_192.168.10.1 Check For connection
Ipconfig For IP address check
Ipconfig / all For Mac address check
Router Configuration
1) Create a computer / laptop.
2) Then Connect to the switch.
3) Input there IP address to all System.
4) Then connect all systems to switch by using Copper straight-Through Wire.
5) Check all are systems are proper work by using Command Ping_IP.
6) Select Router.
7) Connect Both switch lan1 and lan2 connect to Router.
8) Check System are access to Router are properly Work.
Router Configuration Command for Connections or Activities
Steps Command Code Actions
1 Enable On the Router
2 Config t Enter in Configuration
Command
3 Interface gigabitethernet Enter in Configuration-If
0/0/0
4 IP address 10.10.10.100 Connect ip address to
255.0.0.0 Gateway Address
5 No Shutdown No close in Background
6 Exit Exit Config-if mood
Router Configuration Diagram
Router Configuration Commands
Router Configuration Pack Send Result
Send Packets To 4th Device:
Admission To Cs Department Message Passing
Message Passing Steps by Using
I. Create a computer / laptop.
II. Input there IP address to Both System.
III. Then Connect to the 2ND System By using command Ping_ Ip.
IV. Then connect by using Copper Cross-Over Wire.
V. Check both systems are proper work by using Command
Ping_IP.
VI. Then target to 2nd System where specific Pass a Message to him.
Message Passing Steps by Using Switch
I. Create a computer / laptop.
II. Then Connect to the switch.
III. Input there IP address to all System.
IV. Then connect all systems to switch by using Copper straight-Through Wire.
V. Check all are systems are proper work by using Command Ping_IP.
VI. Then target a System where specific Pass a Message to him.
Network Setup and Communication Process
1. Set Up a Computer/Laptop: Start by configuring a new computer or laptop.
2. Establish a Connection to the Switch: Link the system to a network switch.
3. Assign IP Addresses: Configure unique IP addresses for all connected devices.
4. Connect Systems Using Copper Straight-Through Cable: Use Copper
Straight-Through wires to establish connections between all systems and the switch.
5. Verify Connectivity: Ensure all systems are properly connected by executing the ping
[IP Address] command.
6. Select and Configure a Router: Integrate a router into the network setup.
7. Link Departmental Switches to the Router: Establish connections between the
router and the switches of the Admission Department and CS Department.
8. Send a Targeted Message: Identify a specific system and transmit a message to it.
Router Configuration Diagram of Two Departments
Router Configuration Pack Send Result
Send Packets To 3rd Device:
Router Configuration Commands
DHCP (Auto Ip Assign)
1) Create a computer / laptop.
2) Then Connect to the switch.
3) Then connect all systems to switch by using Copper straight-Through Wire.
4) Set Server-Pt for Auto Assign Ip to all pc or laptops.
5) Input there IP address in server and default gate assign.
6) Now check pc or laptop for Ip Default assign by server-pt.
7) Check all are systems are proper work by using Command Ping_IP.
8) Then target a System where specific Pass a Message to him.
Tell Net (Remote Pc access allow)
1) Create a computer / laptop.
2) Then Connect to the switch.
3) Also Create a Router.
4) Then connect all systems to switch by using Copper straight-Through
Wire.
5) Switch connects to Router.
6) Input there IP address in server and default gate assign.
7) Now open Configuration of Router.
8) Assign Command in Configuration of router (They were written).
9) Then target a System where specific Pass a Message to him.
Commands For Configuration
Steps Command Code Actions
1 Enable On the Router
2 Config t Enter in Configuration
Command
3 Interface gigabit Ethernet Enter in Configuration-If
0/0/0
4 IP address 192.168.1.2 Connect Ip address to Gateway
255.255.255.0 Address
5 Enable Secret 123 Set pas to router
6 end Task was to end assign
7 Line vty 0 5 To enter Config-line
8 Login Login to enter page
9 Password 123 Set Pass to user login page
10 wr Use to Save config data save
11 No Shutdown No close in Background
12 Exit Exit Config-if mood
Configuration of Route
Ping to Pc Check