THE PENTEST LAB

How Do IP Addresses, Ports, TCP & UDP Work?

Learn how data reaches the correct device and application. Explore IP addressing, IPv4 vs IPv6, NAT, port numbers, TCP handshakes and UDP through animated diagrams, beginner-friendly notes and practical examples.

SCENE 01

Introduction

1 / 12

Let's Understand

ANIMATED NETWORK DIAGRAM

Key Learning Points

    Practice What You Learned

    On Windows, open Command Prompt and run ipconfig. On Linux, use ip addr. Identify your local IP address.

    Then open your browser's Developer Tools, select the Network tab and inspect a website request. Look for the remote address, protocol and status code.

    Next video: How DNS Actually Works.