Networking Basics for Hackers – Subnetting, ARP & DHCP Explained (Hindi)

7


πŸ”₯ Introduction

Agar aap Cyber Security ya Ethical Hacking start kar rahe ho, to networking samajhna bahut zaroori hai.

Network chhota bhi ho sakta hai (home WiFi) aur bada bhi (company network).
Isi ko manage karne ke liye use hota hai:

πŸ‘‰ Subnetting + ARP + DHCP

Aaj hum ye sab simple Hinglish me samjhenge πŸ‘‡


🍰 1. Subnetting kya hota hai?

Subnetting ka matlab hai:

πŸ‘‰ Ek bade network ko chhote-chhote networks me divide karna

πŸ’‘ Example:
Socho ek cake hai πŸŽ‚
Sabko ek piece chahiye β†’ aap cake ko slice karte ho

πŸ‘‰ Yehi subnetting hai!


🏒 Real Life Example (Office Network)

Ek company me alag-alag departments hote hain:

  • Accounting
  • Finance
  • HR

πŸ‘‰ Har department ka alag network ho sakta hai
πŸ‘‰ Isse data safe aur organized rehta hai


🧠 Subnetting ka use kyu hota hai?

βœ” Efficiency (network fast hota hai)
βœ” Security (alag networks isolate hote hain)
βœ” Control (admin manage kar sakta hai)


🌐 IP Address & Subnet Mask

IP Address = 4 parts (octets)

πŸ‘‰ Example:

192.168.1.100

Subnet Mask bhi same format me hota hai:

255.255.255.0


πŸ“Š 3 Important Network Terms

πŸ”Ή 1. Network Address

πŸ‘‰ Network ka starting point

Example:

192.168.1.0


πŸ”Ή 2. Host Address

πŸ‘‰ Device ka IP

Example:

192.168.1.100


πŸ”Ή 3. Default Gateway

πŸ‘‰ Dusre network me data bhejne ke liye

Example:

192.168.1.254


β˜• Real Life Example (Cafe WiFi)

Ek cafe me 2 networks hote hain:

  1. Staff Network
  2. Public WiFi

πŸ‘‰ Subnetting se dono alag rehte hain
πŸ‘‰ Security bhi maintain hoti hai


πŸ“‘ 2. ARP kya hota hai?

πŸ‘‰ Full form: Address Resolution Protocol


πŸ€” ARP ka kaam kya hai?

ARP help karta hai:

πŸ‘‰ IP Address β†’ MAC Address find karne me


πŸ” ARP kaise kaam karta hai?

2 steps me:

πŸ“’ ARP Request

Network me broadcast:

β€œIs IP ka MAC address kaun sa hai?”


πŸ“© ARP Reply

Jo device match karta hai wo reply karta hai:

β€œYe mera MAC address hai”


πŸ’Ύ ARP Cache

πŸ‘‰ Device ye info store kar leta hai future ke liye


⚑ 3. DHCP kya hota hai?

πŸ‘‰ Full form: Dynamic Host Configuration Protocol


🎯 DHCP ka kaam

πŸ‘‰ Automatically IP assign karna


πŸ”„ DHCP Process (4 Steps)

  1. DHCP Discover β†’ Device request bhejta hai
  2. DHCP Offer β†’ Server IP deta hai
  3. DHCP Request β†’ Device accept karta hai
  4. DHCP ACK β†’ Final confirmation

🧠 Extra Knowledge (Topology + Devices)

πŸ“„ Aapke notes me ye bhi important hai:

πŸ‘‰ Star Topology

  • Center device (Switch)
  • Fast & reliable

πŸ‘‰ Bus Topology

  • Single cable
  • Cheap but slow

πŸ‘‰ Ring Topology

  • Loop structure
  • Fault me pura network down ❌

πŸ‘‰ Switch

  • Data correct device ko bhejta hai

πŸ‘‰ Router

  • Different networks ko connect karta hai

πŸ“Œ Source reference:


🎯 Final Summary

βœ” Subnetting = Network ko divide karna
βœ” ARP = IP β†’ MAC mapping
βœ” DHCP = Automatic IP assign

πŸ‘‰ Ye tino concepts Cyber Security ke base hain

Leave a Comment

Your email address will not be published. Required fields are marked *