Ping Command

What does ping do?

  • It sends small packets (ICMP Echo Requests) to a target.

  • The target replies with Echo Replies.

  • From this, you learn:

    • If the target is reachable.

    • How long it takes for packets to travel (latency).

    • If there is packet loss.

Basic Syntax

ping <target>

Topology

  • User LAN โ†’ Router R1 fa0/0 (192.168.1.1/24)

  • Server LAN โ†’ Router R1 fa0/1 (192.168.2.1/24)

Addressing Plan

Device
IP Address
Subnet Mask
Gateway

Manager PC

192.168.1.10

255.255.255.0

192.168.1.1

Staff PC

192.168.1.20

255.255.255.0

192.168.1.1

File Server

192.168.2.100

255.255.255.0

192.168.2.1

Router R1 (fa0/0)

192.168.1.1

255.255.255.0

192.168.1.1

Router R1 (fa0/1)

192.168.2.1

255.255.255.0

192.168.2.1

Router Configuration

Step 1: Configure Router Interface

Step 2: Configure ACL on Router

We want:

  • Manager (192.168.1.10) โ†’ can ping & access file server

  • Staff (192.168.1.20) โ†’ can access file server but cannot ping

Testing the Scenario

  • From Manager PC โ†’ ping 192.168.1.100 โœ… Success (ICMP allowed).

  • From Staff PC โ†’ ping 192.168.1.100 โŒ Fail (Request timed out) โ€” ACL blocked ICMP.

  • From Staff PC โ†’ Access File Server app (e.g., HTTP or SMB). โœ… Success (ACL permits all other IP traffic).

Cisco Packet Tracer (Version 6.2.0.0052)

file-download
105KB

๐Ÿ’– Support Our Work

If you find this post helpful and would like to support my work, you can send a donation via TRC-20 (USDT). Your contributions help us keep creating and sharing more valuable content.

circle-check

Thank you for your generosity! ๐Ÿ™

Keywords

ACL, Cisco, Router, Switch, Ping, ICMP, Access Control, Permit, Deny, Staff, Manager, File Server, Subnet, Interface, Inbound, Outbound, Packet Filtering, Security Policy, Network Access, Troubleshooting, Nerd Cafe , ู†ุฑุฏ ฺฉุงูู‡

Channel Overview

๐ŸŒ Website: www.nerd-cafe.irarrow-up-right

๐Ÿ“บ YouTube: @nerd-cafearrow-up-right

๐ŸŽฅ Aparat: nerd_cafearrow-up-right

๐Ÿ“Œ Pinterest: nerd_cafearrow-up-right

๐Ÿ“ฑ Telegram: @nerd_cafearrow-up-right

๐Ÿ“ Blog: Nerd Cafรฉ on Virgoolarrow-up-right

๐Ÿ’ป GitHub: nerd-cafearrow-up-right

Last updated