ACN Pr

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Practical no.

Aim:

To capture ICMPv4 packets generated by utility programs and tabulate all the captured

parameters using Wireshark.

Theory:

ICMP (Internet Control Message Protocol) is a network layer protocol used to report errors.

diagnostic information in IP networks. In this practical exercise, we will use utility programs

ICMPv4 packets and capture them using Wireshark, a network packet analyzer.

1. Selecting Utility Programs: Choose utility programs that generate ICMPv4 packets.

Common tools include ping and traceroute. These programs send ICMP echo request (ping)

and time exceeded (traceroute) packets..

2. Setting Up Wireshark: Install Wireshark if not already installed on your system, Launch

Wireshark and choose the network interface you want to monitor.

3. Capturing Packets: Start capturing packets in Wireshark by c button. clicking on the "Start"

or "Capture"

4. Generate ICMPv4 Packets: Execute the selected utility programs in separate

terminal/command prompt windows. For example, in a terminal, run ping with the desired

parameters, such as ping 8.8.8.8 to send ICMP echo requests to Google's DNS server.
5. Capture Parameters: Wireshark will capture the ICMPv4 packets generated by the utility

programs. Analyze the captured packets to identify and record parameters such as source IP,

destination IP, ICMP message type, sequence number, and time to live (TTL).

6. Tabulating Parameters: Create a table to tabulate the captured parameters. Organize the

data in columns with headings for each parameter, and fill in the values from the captured

packets.

7. Analyzing Results: Analyze the captured data to identify patterns or variations in the

ICMPv4 packets.

ICMP protocol:

The ICMP stands for Internet Control Message Protocol.

It is a network layer protocol.

It is used for error handling in the network layer, and it is primarily used on network
devices such as routers.

As different types of errors can exist in the network layer, so ICMP can be used to report
these errors.

For example, some sender wants to send the message to some destination, but the router
couldn't send the message to the destination. In this case, the router sends the message to
the sender that I could not send the message to that destination.

An ICMP protocol mainly uses two terms:

ICMP Test: ICMP Test is used to test whether the destination is reachable or not.

ICMP Reply: ICMP Reply is used to check whether the destination device is responding or
not.

The core responsibility of the ICMP protocol is to report the problems, not correct them. The
responsibility of the correction lies with the sender.
ICMP can send the messages only to the source, but not to the intermediate routers
because the IP datagram carries the addresses of the source and destination but not of the
router that it is passed to.

ICMPV4 Message Format.

Result :

In this practical exercise, we successfully captured ICMPv4 packets generated by utility

programs using Wireshark. By analyzing the captured parameters, we gained insights intothe

characteristics of ICMPv4 traffic on the network, including source and destination

information, ICMP message types, and packet details.


Practical no.2

Aim:

To configure an IPv6 network using Cisco Packet Tracer.

Theory:

Cisco Packet Tracer is a network simulation tool that allows you to create and configure

network topologies. In this practical exercise, we'll create a simple Ipv6 network using Packet

Tracer.

Steps:

1. Launch Cisco Packet Tracer: Start by opening Cisco Packet Tracer on your computer.

2. Create a Network Topology: Build a network topology by selecting routers, switches, and

end devices from the Packet Tracer library and connecting them as needed. Ensure that you

have at least two routers for this exercise.

3. Configure Router Interfaces: Access the CLI (Command Line Interface) of each router by

clicking on them. Configure the interfaces.

4. Enable Ipv6 Routing: On one of the routers, enable Ipv6 routing by entering the following

command:

5. Configure Routing Protocols: If you want to use routing protocols like OSPFv3 or RIPng,

configure them on the routers.

6. Assign Ipv6 Addresses to End Devices: Configure Ipv6 addresses on the end devices (PCsor

laptops) connected to the routers.


7. Test Connectivity: Use commands like ping or traceroute to test ipv6 connectivity between

the end devices. Ensure that the routers are forwarding Ipv6 packets correctly

8. Capture and Analyze Ipv6 Packets (Optional): If desired, use Packet Tracer's built-in packet

capt and analysis tools to observe Ipv6 packet flows.

9. Document Your Configuration: Create documentation that includes the network topology,

Ipv6 addresses, routing protocols used, and any other relevant information.

Result:
In this practical exercise, we configured an Ipv6 network using Cisco Packet Tracer. We
established Ipv6 addresses on router interfaces, enabled Ipv6 routing, and tested connectivity
between end devices. This exercise demonstrates the basic steps to set up an Ipv6 network
within a network simulator.

You might also like