What is gateway in networking.

This tutorial understands the concept of gateway in networking. Assume the following two scenarios – 1. A PC with IP address 192.168.1.2 with subnet mask tries to access a PC with IP address 192.168.2.1 with subnet mask 255.255.255.0. 2. A PC with private IP address 192.168.1.2 with subnet …

How to use wireshark to find broadcast storms

This tutorial understands how you can find broadcast storms using wireshark. To identify broadcast storms or packets, the type of packets which are broadcast in nature should be identified. There are two types of broadcast which are Layer 2 broadcast and Layer 3 broadcast. Layer 2 broadcast packets …

How routing works

This tutorial explains in detail how routing works. Take a scenario where two PC’s are connected to a switch. The IP address of PC1 and PC2 is 192.168.1.2 and 192.168.1.3 respectively. The subnet masks of the PC’s are 255.255.255.0. From the IP address and subnet mask , the …

How to write your own packet crafting tools

This online course would help you understand how you can write your own packet crafting tools. Be it any TCP/IP packets for analysis , troubleshooting or testing, the course would help. Join our Course to Build Network Automation tools and scripts with Python and Scapy on Udemy The …

How to use Python with wireshark.

This example code demonstrates how to use Python with wireshark to create a IP monitor script. For this we combine Python with tshark the command line of wireshark. IP Packet Monitor script description The IP packer monitor captures all IP packets which are targeted to a system for …

What is the difference between tagged and untagged VLAN

This tutorial understands the difference between tagged and untagged vlan. Take a scenario where a switch port is a member of untagged vlan 2 and tagged vlan 3 and vlan 4. The generic design of the switch states that a port can be a member of only 1 …

Python scapy ping script

The Python ping script is developed using Python and scapy. The screenshot of the script along the code explanation is provided below. Create a file ping.py on a linux system and ensure that you have installed scapy. Join our Course to Build Network Automation tools and scripts with …

WHAT IS THE USE OF VLAN

This tutorial understands the use of VLAN . A practical scenario is analyzed to understand. An organization has three departments, finance, marketing and IT. Currently , all the departments belong to one network, 192.168.1.0/24. The computers belonging to different departments are connected to a switch, which is one …

How does ping work

This tutorial explains how ping works with a detailed explanation with wireshark. A system on the network, which is 192.168.0.1 is pinged from the computer with IP address 192.168.0.4. The screenshot is shown below. Wireshark is run in the background to capture and understand the communication. PING uses …

What is the difference between default route and default gateway

This tutorial explains the difference between default route and default gateway. A default route is a route entry in a routing table whereas a default gateway is a value, typically an IP address. When an IP packet is received by a router, it looks into the destination IP …