You are on page 1of 41

Name: Krishna Johari Class: B.

Tech 3rd Year Roll No: 23

Program -01
Aim: To study various network commands and find host address,
IP address and mac address of your computer system.

Apparatus Required: A Personal Computer(PC),An Internet


Connection, LAN Cable.

Theory: A Computer Network or Data Network is a digital


telecommunications network which allows nodes to share
resources. In computer networks, networked computing devices
exchange data with each other using a data link. The connections
between nodes are established using either cable media or
wireless media.
The Internet is the biggest worldwide communication network of
computers. It has millions of smaller domestic, academic,
business and government networks, which together carry many
different kinds of information.
The Internet is used for many things, such as electronic mail,
online chat, file transfer, and the interlinked web pages and other
documents of the WWW(World Wide Web).
Commands to be studied:-
1.Ping: The ping command helps to verify IP-level connectivity.
When troubleshooting, you can use ping to send an ICMP echo
request to a target host name or IP address. Use ping whenever
you need to verify that a host computer can connect to
theTCP/IP network and network resources.h

1
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

Options used with ping command:

Option Use

-t Ping the specified host until stopped.


To see statistics and continue - type Control-Break;
To stop - type Control-C.

-a Resolve addresses to hostnames.

-l Size Enables you to adjust the size of the ping packet. The default size is 32 bytes.

-n count Number of echo requests to send.

-r count Record route for count hops (IPv4-only).

2
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

1. ping –t:-

2. ping –a:-

3. ping -r:-

3
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

4. ping –n:-

5. ping –l:-

2.tracert:- traceroute is a command which can show you the


path a packet of information takes from your computer to
one you specify. It will list all the routers it passes through
until it reaches its destination, or fails to and is discarded. In
addition to this, it will tell you how long each 'hop' from router
to router takes.

4
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

Options Used with tracert command :-

Option Use

-d Do not resolve addresses to hostnames.

-h Maximum number of hops to search for target.

-R Trace round-trip path (IPv6-only).

-4 Force using IPv4.

-6 Force using IPv6.

5
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

1.tracert –d:-

2.tracert –h:-

3.tracert –R:-

6
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

4.tracert -4:-

5.tracert -6:-

7
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3.ipconfig:- ipconfig displays all current


TCP/IP network configuration values and refreshes
Dynamic Host Configuration Protocol (DHCP) and Domain
Name System (DNS) settings. Used without
parameters, ipconfig displays the IP address, subnet mask,
and default gateway for all adapters.

Conclusion:-The above three commands are studied and


executed successfully.

8
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

Program-02
Aim:-Introduction to Packet Tracer
1. Connect two systems using static ip address.
2. Connection through Hub and Switch.
3. DHCP with gateway.

Apparatus Required: A Personal Computer(PC),An Internet


Connection, LAN Cable.

Theory:-
Hub:- A hub is basically a network oriented device that is less in
cost and least complicated.
It works on the principle that when a message is sent from one pc
then it is sent to all the other pc’s regardless of the
destination pc.
Switch:- A Switch is basically a Hub with far better efficiency.
It can learn from the traffic that comes across it where particular
addresses are.
It is much more intelligent in comparison to hub.
DHCP:- It stands for Dynamic Host Configuration
Protocol(DHCP).
It is a network protocol that enables a server to automatically
assign a IP address to a computer from a defined range of
numbers.

9
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

1.Connect two systems using static ip address.


Steps to be followed:-
1.Open Packet Tracer.

2.From End Devices, Take two pc’s.

10
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3.Connect the above two pc’s using Automatic Cable.

4.Select the pc0 and do left click on it. Now open


Desktop. Then open Ipconfiguration and assign the IP
address and Subnet Mask to the pc0.
Repeat the above for pc1 also.

11
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

5.Now, both the pc’s are connected indicating green lights on both
of them.

12
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

6.Now,ping both the pc’s with their respective ip addresses.

Both the ip addresses of the pc’s are successfully pinged.

13
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

2.Connection through Hub and Switch:-


Steps to be followed:-
(a)For Hub:-
1. Select Hub from Hubs and three pc’s from end devices.

2.Connect Hub to the three pc’s

through automatic cable.


14
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3.Now, assign ip address to all the pc’s.


For pc0,

For pc1,

15
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

For pc2,

4.Now, send message from one pc to another pc.

5. The message has been successfully sent.

16
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

6. Now, ping all the pc’s respectively.


For pc0,

For pc1,

For pc2,

17
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

(b)For Switch:-
1. Take a Switch along with three pc’s.

2. Connect the Switch through all the pc’s via automatic cable.

3. Assign ip address to all the pc’s respectively and the


Subnet Mask will be automatically assigned.
Now, Green lights indicate that the pc’s are successfully
connected along with switch.

18
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

For pc0,

For pc1,

For pc2,

19
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

4. Now, send messages from one pc to another.

5.Now, the messages have successfully been sent in both Hub


and Switch respectively.
6. Now, ping all the pc’s respectively.

For pc0,

20
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

For pc1,

3.DHCP with gateway:-


Steps to be followed:-1.Take a server from end devices.

21
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

2.Connect it through a switch which in turn is connected to two


pc’s simultaneously.

3. Now, assign static ip address to the server and the subnet


mask will be assigned automatically.
For Server,

22
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

Using DHCP,
For pc0,

For pc1,

23
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

For pc2,

4.Now ping all the pc’s along with server.

24
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

Conclusion:-All the tasks have been studied and


executed successfully.
25
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

PROGRAM-03

AIM:-Connect three routers using EIGRP Protocol

STEPS TO BE PERFORMED ON THE CORRESPONDING OBJECTS:-

1)For Router 0:-

en

config t

int f0/0

ip add 192.168.1.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.2.1 255.255.255.0

end

config t

router eigrp 1

net 192.168.1.0

net 192.168.2.0

exit

26
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

2)For Router 1:-

config t

int f0/0

ip add 192.168.3.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.4.1 255.255.255.0

end

config t

router eigrp 1

net 192.168.3.0

net 192.168.4.0

exit

27
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3)For Router 3:-

en

config t

int f0/0

ip add 192.168.5.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.6.1 255.255.255.0

end

config t

router eigrp 1

net 192.168.5.0

28
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

net 192.168.6.0

exit

COMMANDS TO BE PERFORMED WITH EIGRP:-

1)show ip protocol

2)show eigrp topology

3)show ip net

4)show ip eigrp neighbors

5)show ip eigrp traffic

CONCLUSION:- The Three Routers are successfully connected using EIGRP Protocol
and the commands that are used corresponding to it are thoroughly studied and
implemented as well.

29
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

PROGRAM-04

AIM:-Connect three routers using OSPF Protocol

STEPS TO BE PERFORMED ON THE CORRESPONDING OBJECTS:-

1)For Router 0:-

en

config t

int f0/0

ip add 192.168.1.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.2.1 255.255.255.0

end

config t

router ospf 1

net 192.168.1.0 255.255.255.0 area 0

router ospf 1

net 192.168.2.0 255.255.255.0 area 0

exit

30
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

2)For Router 1:-

en

config t

int f0/0

ip add 192.168.3.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.4.1 255.255.255.0

end

config t

router ospf 1

net 192.168.3.0 255.255.255.0 area 0

router ospf 1

net 192.168.4.0 255.255.255.0 area 0

exit

31
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3)For Router 2:-

en

config t

int f0/0

ip add 192.168.5.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.6.1 255.255.255.0

end

config t

router ospf 1

net 192.168.5.0 255.255.255.0 area 0

router ospf 1

net 192.168.6.0 255.255.255.0 area 0

32
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

exit

COMMANDS TO BE PERFORMED WITH OSPF:-

1)Show ip protocol

2)Show ip ospf database

3)Show ip ospf

4)Show ip ospfint

5)Show ip ospf route

CONCLUSION:- The Three Routers are successfully connected using OSPF Protocol
and the commands that are used corresponding to it are thoroughly studied and
implemented as well.

33
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

PROGRAM-05

AIM:-Connect three routers using RIP Protocol

STEPS TO BE PERFORMED ON THE CORRESPONDING OBJECTS:-

1)For Router 0:-

en

config t

int f0/0

ip add 192.168.1.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.2.1 255.255.255.0

end

config t

router rip

net 192.168.1.0

34
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

net 192.168.2.0

exit

2)For Router 1:-

en

config t

int f0/0

ip add 192.168.3.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.4.1 255.255.255.0

end

config t

router rip

net 192.168.3.0

net 192.168.4.0

exit

35
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

3)For Router 2:-

en

config t

int f0/0

ip add 192.168.5.1 255.255.255.0

end

config t

int f0/1

ip add 192.168.6.1 255.255.255.0

end

config t

router rip

net 192.168.5.0

net 192.168.6.0

exit

36
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

CONCLUSION:- The Three Routers are successfully connected using RIP Protocol
successfully.

37
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

PROGRAM-06

AIM:-To study Wireless Networks.

STEPS TO BE PERFORMED TO ESTABLISH WIRELESS NETWORK:-

1) At First, Open the Packet Tracer.

2) Now, Take a Linksys Wireless Router from the Wireless Devices and two Generic
pc’s.

3) Now, place all the three near each other.

4) It is seen that the connection is building up between the three devices.

38
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

5) Now, Open PC Desktop Mode, Now check the status of the established connection.

Check this for both pc’s.

6) It is seen that the wireless connection is now established successfully.

7) To verify, Now ping the ip addresses of both the pc’s by themselves.

CONCLUSION: As per the practical, The Wireless Network has been studied as well as
implemented using a Wireless Modem and the connecting elements successfully.

39
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

PROGRAM-07

AIM:- To perform VOIP(Voice Over Internet Protocol).

STEPS TO BE PERFORMED FOR IMPLEMENTING VOICE OVER INTERNET


PROTOCOL:-

1) At First, Open the Packet Tracer.


2) Now Take a 2811 Router and a 2960-24TT Switch from Routers And Switches
respectively. Connect each of them to the other.

3) Now take an IP Phone and connect it to Switch.


All the connections that are done here are through Auto Cable only.

4) Now, set a voice VLAN on Switch.Also plug-in the power adaptor in IP Phone.

5) Now, set the phone directory for IP Phone1.


6) Now, Authenticate the configuration.

40
Name: Krishna Johari Class: B.Tech 3rd Year Roll No: 23

COMMANDS TO BE PERFORMED ON SWITCH:-

1) En
2) Config t
3) Interface range f0/5
4) Switchport mode access
5) Switchport voice vlan1
6) Exit

COMMANDS TO BE PERFORMED ON ROUTER:-

1) En
2) Config t
3) Int fa0/0
4) Ip add 192.168.23.1 255.255.255.0
5) No sh
6) Exit
7) Ip dhcp pool voip
8) Network 192.168.23.0 255.255.255.0
9) Default-router 192.168.23.1
10) Option 150 ip 192.168.23.1
11) Exit
12) Telephony-service
13) Max-ephone 5
14) Max-dn
15) Ip source 192.168.23.1 port 2001
16) Auto assign 4 to 6
17) Auto assign 1 to 5
18) Exit
19) Telephony-service
20) Ephone-dn 2
21) Ephone-dn 1
22) Number 0001
23) Exit

CONCLUSION:- The VOIP i.e. Voice Over Internet Protocol has been thoroughly
studied as well as implemented successfully.

41

You might also like