NetSec Academy

NetSec Academy Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from NetSec Academy, Computer training school, Dhaka.

Welcome to NetSec Academy, your trusted partner in IT training and certification.Whether you’re an aspiring IT professional or an experienced expert looking to upskill, we provide high-quality courses, exam vouchers, and expert guidance to help you.

21/08/2025

BGP Neighbor States Explained:

In BGP (Border Gateway Protocol), the neighbor state (also called peer state) shows the status of the BGP session between two routers.
BGP goes through several finite states before reaching a stable session.

Here are the BGP neighbor states in order:

1. Idle

Initial state.

BGP is waiting for the neighbor configuration.

If something is wrong (ACL, TCP issue, wrong IP/AS), the router may remain here.

2. Connect

BGP is trying to establish a TCP (port 179) connection to the neighbor.

If successful → goes to OpenSent.

If not successful → goes to Active.

3. Active

BGP is actively trying again to connect to the neighbor.

If successful → goes to OpenSent.

If it fails repeatedly → back to Idle.
(If a session stays long in Active, it usually means there’s a connectivity problem).

4. OpenSent

TCP connection is established.

BGP sends an OPEN message to the neighbor.

Waiting to receive the OPEN message from the peer.

5. OpenConfirm

Both sides exchanged OPEN messages.

Now waiting for a KEEPALIVE message from the neighbor.

6. Established

Session is fully up! 🎉

BGP peers exchange UPDATE messages (routing information).

This is the state you want to see for a healthy BGP neighbor.

---

📌 Quick Troubleshooting Tips:

Idle / Active → likely connectivity, ACL, or wrong config (IP/AS mismatch).

OpenSent / OpenConfirm → usually authentication or parameter mismatch.

Established → Good, routing info exchanged.





Follow NetSec Academy for more.

🚀 Understanding How OSPF WorksOpen Shortest Path First (OSPF) is one of the most widely used interior gateway routing pr...
17/08/2025

🚀 Understanding How OSPF Works

Open Shortest Path First (OSPF) is one of the most widely used interior gateway routing protocols in networking. It helps routers dynamically discover the best path to forward packets across a network. Let’s break down how it works step by step 👇

🔹 Step 1: Neighbor Relationship
Routers first establish a neighbor relationship by exchanging "Hello" packets. For example, Router A and Router B form a connection.

🔹 Step 2: SPF Algorithm
Each router runs the Shortest Path First (SPF) algorithm (Dijkstra’s algorithm) to calculate the most efficient path across the network.

🔹 Step 3: Link-State Exchange
Routers then exchange link-state information with their neighbors. This helps them build a complete link-state database (LSDB), which is a map of the network topology.

🔹 Step 4: Routing Table Update
Based on the LSDB and SPF results, routers calculate the best routes and install them into the routing table. From there, data can flow through the optimal paths.

💡 In this example:

Router A communicates with Router B.

Router B shares link information with Router C and D.

All routers eventually know the full topology and select the shortest path (cost = 10 in each link).

🔗 Key Takeaway: OSPF ensures fast convergence and efficient routing by always keeping an updated map of the network and choosing the shortest path automatically.

15/08/2025

🔍 Understanding OSPF: DR/BDR, ABR, and LSDB Exchange

1️⃣ DR & BDR in OSPF

DR (Designated Router): Handles the main task of exchanging LSDB (Link State Database) within the network.

BDR (Backup Designated Router): Monitors DR’s state and takes over if DR fails.

Multicast Communication:

DR sends LSDB updates to 224.0.0.5.

All routers send LSDB updates to 224.0.0.6.

This reduces the number of separate LSDB messages, making OSPF more efficient.

---

2️⃣ Single-Area OSPF Drawbacks

Large topology database → more memory usage on each router.

Higher processing power requirements.

Any small topology change triggers SPF recalculation on all routers.

---

3️⃣ ABR (Area Border Router)

Connects backbone area to other OSPF areas.

Has interfaces in both backbone and at least one non-backbone area.

---

4️⃣ Exchanging LSDB

Routers exchange Database Description (DBD) packets containing LSA lists.

LSU (Link State Update) packets carry the LSA details.

Hello Interval: Routers send hellos periodically to maintain neighbor relationships.

Dead Interval: If no hello is received within this time, the neighbor is considered down.

LSAs are reflooded every 30 minutes to ensure up-to-date topology.

---

✅ Takeaway:
Efficient OSPF operation relies on DR/BDR to reduce message flooding, proper area design to avoid large SPF recalculations, and continuous LSDB synchronization between neighbors.

13/08/2025

📘 Understanding OSPF Data Structures and Route Calculation

OSPF (Open Shortest Path First) uses a data structure called the Link State Database (LSDB), which stores all the network topology information required for routing decisions.

🔹 Key Terms

LSA (Link State Advertisement) – Contains details about routers, links, IP addresses, and their status.

LSDB (Link State Database) – A collection of all LSAs in the OSPF network. All routers maintain an identical copy of the LSDB through a process called link-state flooding.

🔹 How It Works

1. Flooding LSAs – In OSPF, routers flood LSAs they receive until every router has the same information in its LSDB.

2. Choosing Best Routes – OSPF uses Dijkstra’s SPF (Shortest Path First) algorithm to process the LSDB and determine the optimal routing paths.

🔹 3 Phases of OSPF LSA Exchange & Route Calculation

1. Becoming Neighbors – OSPF routers use the Hello process to discover and form neighbor relationships.

Two routers can become neighbors if they are connected to the same network segment (LAN/WAN).

Hello messages are sent to introduce themselves and attempt to exchange LSDBs.

Command: show ip ospf neighbor (to verify neighbor relationships).

2. Exchanging LSDB – Once neighbors, routers exchange LSAs to synchronize their LSDBs.

3. Adding Best Routes – The SPF algorithm calculates and installs the best routes into the routing table.

---

🔗 Understanding Trunking in Networking (802.1Q)In modern networking, VLANs (Virtual LANs) are used to segment traffic fo...
07/08/2025

🔗 Understanding Trunking in Networking (802.1Q)

In modern networking, VLANs (Virtual LANs) are used to segment traffic for better performance, security, and management. But what happens when you need to pass multiple VLANs between switches? That's where 802.1Q trunking comes in!

🧠 What is a Trunk Link?
A trunk link carries traffic for multiple VLANs across network devices like switches or routers. Unlike access ports (which belong to a single VLAN), trunk ports tag VLAN traffic using 802.1Q headers, enabling devices to identify which VLAN a packet belongs to.

👨‍💻 Key Concepts Illustrated in the Diagram:

Switch A & B host devices in VLAN 10, 20, and 30.

Fa0/24 on both switches is configured as a trunk port, allowing VLAN traffic to pass between the switches.

The 802.1Q encapsulation tags each frame with VLAN ID, so the receiving switch knows how to handle it.

🔧 Sample Cisco CLI Configuration:

interface fa0/24
switchport encapsulation dot1q
switchport
switchport mode trunk
switchport trunk allowed vlan 10,20,30

💡 Why Use Trunking?

Efficiently extend VLANs across multiple switches.

Centralized VLAN management.

Maintain isolation of traffic across different departments or services.

📌 Whether you're studying for CCNA or managing a real-world enterprise network, understanding how trunking works is essential for VLAN-based designs.

📡 Understanding Public IPv4 Address Ranges 🌐IPv4 addresses are divided into five different classes: A, B, C, D, and E, e...
06/08/2025

📡 Understanding Public IPv4 Address Ranges 🌐

IPv4 addresses are divided into five different classes: A, B, C, D, and E, each serving specific purposes in networking. Here's a breakdown of public IPv4 address ranges based on class:

🔹 Class A

Range: 1.0.0.0 – 9.255.255.255, 11.0.0.0 – 100.63.255.255, 100.128.0.0 – 126.255.255.255

For very large networks, supports millions of hosts.

🔹 Class B

Range: 128.0.0.0 – 126.253.255.255, 169.255.0.0 – 172.15.255.255, 172.32.0.0 – 191.255.255.255

Ideal for medium-sized networks.

🔹 Class C

Range: Includes multiple blocks from 192.0.1.0 to 223.255.255.255

Suitable for small networks, like individual businesses or branches.

🔹 Class D (Multicast)

Range: 224.0.0.0 – 239.255.255.255

Used for multicasting, not assigned to individual devices.

🔹 Class E (Reserved)

Range: 240.0.0.0 – 255.255.255.254

Reserved for experimental purposes only.

🔐 Note: These ranges exclude private IP address blocks like 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 which are not routable over the public internet.

📍 Knowing IP classes helps in proper network planning, routing, and subnetting.

03/08/2025

🎓 The Gap Between Academia and Industry in Bangladesh: A Wake-Up Call for IT & Cybersecurity Aspirants 🔐💻

Bangladesh’s education system, especially in the field of IT and cybersecurity, is still struggling to align with industry needs. University curricula often focus heavily on theoretical knowledge, while practical skills, tools, and real-world problem-solving are rarely emphasized. As a result, many graduates find themselves lost when they enter the job market — skilled in memorization, but unequipped for implementation.

💥 The Reality Check:

Courses still teach outdated technologies.

There's little to no exposure to industry-standard tools (e.g., SIEM, firewalls, EDRs, etc.).

Soft skills, ethical hacking, scripting, or compliance frameworks are barely introduced.

Internships and hands-on labs are rare or poorly managed.

🧠 So, what can students do to bridge this gap?

If you are an aspiring IT or cybersecurity professional, invest in yourself wisely and early:

🔹 1. Learn the Fundamentals:
Start with a strong base in:

Networking (TCP/IP, OSI Model, routing, switching)

Operating Systems (especially Linux)

Programming (Python is a great start for automation and scripting)

🔹 2. Get Hands-On:

Use platforms like TryHackMe, Hack The Box, or even your own home lab.

Practice with real tools: Wireshark, Nmap, Burp Suite, Metasploit, etc.

🔹 3. Follow a Roadmap:

Begin with CompTIA (A+, Network+, Security+)

Move to vendor certifications (CCNA, JNCIA, MTCNA)

Advance into specialized certs like CEH, SOC Analyst, OSCP, or CISSP

🔹 4. Understand the Industry Needs:

Cybersecurity isn't just hacking. Learn about compliance, GRC, SOC, and blue teaming.

Stay updated on trends like cloud security, AI in cybersecurity, DevSecOps.

🔹 5. Join Communities:

Participate in forums, attend webinars, follow cybersecurity influencers.

Join CTF (Capture The Flag) competitions or local cybersecurity groups.

🎯 Final Thought:
Your university may not prepare you for the industry — but you can prepare yourself. The responsibility is in your hands. Start early, stay curious, be consistent.

31/07/2025

🔗 Common IoT Protocols & Their Limitations 🌐
IoT devices use various communication protocols to connect and exchange data efficiently. Let’s explore a few widely used ones:

---

1️⃣ MQTT (Message Queuing Telemetry Transport)

📦 Lightweight publish/subscribe protocol.
✅ Ideal for low-bandwidth, high-latency networks.

Limitations:

Lacks built-in security (encryption must be implemented separately).

Not ideal for large-scale media-rich communication.

---

2️⃣ CoAP (Constrained Application Protocol)

🌍 Designed for constrained devices, works over UDP.
✅ Suitable for low-power, resource-limited IoT environments.

Limitations:

No built-in reliability like TCP.

Security depends on DTLS, which can add overhead.

Best suited for local networks, not large-scale WANs.

---

3️⃣ HTTP/HTTPS

🕸️ Standard web protocol, used for RESTful APIs.
✅ Easy integration with web services and cloud platforms.

Limitations:

Heavy for constrained devices.

High power consumption.

Not designed for real-time or event-based communication.

---

4️⃣ Bluetooth Low Energy (BLE)

📶 Short-range wireless communication.
✅ Energy-efficient, suitable for wearable and medical IoT devices.

Limitations:

Limited range and bandwidth.

Poor performance in environments with many BLE devices.

---

5️⃣ Zigbee

📡 Low-power mesh network protocol.
✅ Reliable for smart home and industrial automation.

Limitations:

Interference with Wi-Fi (operates on 2.4 GHz).

Limited data rate and device support compared to newer protocols.

---

🔒 Pro Tip:
Always choose protocols based on device capability, energy efficiency, required range, and security needs.

27/07/2025

🧠 Ever wondered how your home internet works when you just enter a username and password? Let’s break it down!

Most of us get internet from our ISP using a PPPoE (Point-to-Point Protocol over Ethernet) connection. You plug in a username and password into your home router, and boom — you're online! But what really happens behind the scenes?

👇 Here's how it works step-by-step:

---

✅ 1. Authentication with ISP
Your router uses the PPPoE protocol to send your username and password to your ISP. The ISP checks your credentials using a RADIUS server. If correct, they allow you access to their network.

✅ 2. IP Address Assignment
Once authenticated, your ISP assigns you an IP address:

🔹 It could be a public IP (e.g., 203.x.x.x), which websites can see.

🔹 Or a private IP (100.x.x.x), if the ISP uses CGNAT (Carrier Grade NAT).

✅ 3. NAT and Internet Access
Your router gives your home devices private IPs (like 192.168.0.x) and uses NAT (Network Address Translation) to convert their traffic into your single public IP. All devices in your home share that one IP on the internet.

✅ 4. Browsing the Internet
When you visit a website like "What is my IP", it shows your router’s public IP, not your internal device IP.

---

🌐 In short:
🔸 Your router logs in using PPPoE →
🔸 ISP authenticates you →
🔸 You get an IP address →
🔸 Your router handles NAT for all your devices →
🔸 The world sees one public IP — your internet identity!

---

📌 Bonus Tip:
If you get a public IP, you can host servers, use port forwarding, etc.
If you’re behind CGNAT, those features might be limited.

💡 Want to learn more about how IP addressing, NAT, and networking work? Follow my page for more simplified tech breakdowns!

22/07/2025

🔍 How OSPF Works – Step-by-Step Explained 🧠
Let’s dive deep into the inner workings of OSPF (Open Shortest Path First) – one of the most powerful and reliable routing protocols used in modern networks.

🚀 Step 1: OSPF Router Initialization
When a router boots up and OSPF is enabled, it first identifies its interfaces that belong to OSPF areas. Each interface is assigned to an area (like Area 0, the backbone area).

---

🖐️ Step 2: Hello Packet Exchange
OSPF routers send Hello packets to discover neighbors on directly connected networks.
👉 These packets are sent to multicast address 224.0.0.5.
The Hello packet contains vital info like:

Router ID

Hello/dead intervals

Area ID

Authentication info

List of known neighbors

📌 Routers become neighbors if Hello parameters match and they see each other in Hello packets.

---

🤝 Step 3: Forming Adjacencies
Not all neighbors become fully adjacent.
OSPF forms adjacencies with selected routers, depending on the network type:

On broadcast networks (like Ethernet), it elects a DR (Designated Router) and BDR (Backup DR).

On point-to-point links, it directly forms full adjacency.

---

📤 Step 4: Exchanging Link-State Information
Once adjacency is established, routers exchange Database Description (DBD) packets that describe their known routes (LSAs).

If one router has newer or missing information, they send Link-State Request (LSR) packets to ask for updates.

Replies come in Link-State Update (LSU) packets, and once received, routers confirm with Link-State Acknowledgment (LSAck).

This ensures each router has the same topology view.

---

🧮 Step 5: Building the Link-State Database (LSDB)
Each router stores all the LSAs it receives in its Link-State Database. This database represents the entire network topology within the area.

---

🧠 Step 6: SPF Calculation
Using Dijkstra's SPF (Shortest Path First) algorithm, each router independently calculates the shortest path to all destinations.

It considers:

Link cost (based on bandwidth)

Network topology
The result is installed in the routing table as the best path.

---

🔁 Step 7: Maintaining the Network
OSPF continuously monitors the network:

Sends Hello packets to keep neighbor relationships alive

If a topology change occurs (like a link down), OSPF floods updated LSAs

Each router recalculates SPF to update its routing table

---

📚 Quick Summary: ✅ OSPF discovers neighbors using Hello packets
✅ Forms adjacencies and exchanges LSAs
✅ Builds a consistent view of the network (LSDB)
✅ Uses SPF algorithm to determine best paths
✅ Converges quickly in case of network changes

---

💡 Why is OSPF Powerful?
Because it is fast, scalable, and loop-free. It supports multi-area design, route summarization, and authentication, making it ideal for enterprise and ISP networks.

Follow NetSec Academy for more detailed lessons on networking, cybersecurity, and certifications like CCNA and CEH!

📡🔁 Deep Dive into EIGRP – Enhanced Interior Gateway Routing Protocol 🔍🚀If you're pursuing a career in networking or prep...
16/07/2025

📡🔁 Deep Dive into EIGRP – Enhanced Interior Gateway Routing Protocol 🔍🚀

If you're pursuing a career in networking or preparing for certifications like CCNA, understanding dynamic routing protocols is essential—and EIGRP is one of the most powerful protocols you’ll come across.

🔸 What is EIGRP?

EIGRP (Enhanced Interior Gateway Routing Protocol) is a Cisco-proprietary advanced distance vector routing protocol. It offers the speed and simplicity of distance vector protocols like RIP, combined with the stability and intelligence of link-state protocols like OSPF.

EIGRP is commonly used in enterprise networks due to its fast convergence, loop-free routing, and flexible configuration options.

---

✅ Why Learn EIGRP?

🔹 DUAL Algorithm: EIGRP uses the Diffusing Update Algorithm to calculate the shortest and most reliable path to a destination while ensuring the network remains loop-free.
🔹 Metric System: EIGRP uses a composite metric based on bandwidth and delay by default, allowing more accurate path selection compared to RIP.
🔹 Unequal-Cost Load Balancing: Unique to EIGRP, this allows efficient use of multiple links—even if they’re not the same speed.
🔹 Classless Protocol: EIGRP supports VLSM and CIDR, making it suitable for modern, hierarchical network designs.
🔹 Fast Convergence: When changes occur in the network, EIGRP recalculates routes quickly—minimizing downtime.
🔹 Neighbor Relationships: EIGRP routers establish stable neighbor adjacencies through Hello packets and maintain a reliable topology table.

---

🛠️ Want to See EIGRP in Action?

I've created a step-by-step EIGRP configuration tutorial video, where you’ll learn:

🔧 How to enable EIGRP on Cisco routers
🔧 How to configure networks under the routing process
🔧 How to verify neighbor relationships
🔧 How to troubleshoot and optimize EIGRP

This video is perfect for beginners, students, and IT professionals looking to solidify their routing knowledge and prepare for real-world network configurations.

🎥 Watch the Full Video Here:
👉 https://youtu.be/RAlRJVtWE8Y

---

📚 Stay connected for more hands-on tutorials, lab setups, and explanations of core networking and cybersecurity concepts.

💬 Have questions about EIGRP or want to see another protocol covered next? Drop a comment!

EIGRP Routing Protocol Configuration | Step-by-Step Tutorial for BeginnersIn this video, you'll learn how to configure EIGRP (Enhanced Interior Gateway Routi...

🚀 RIP Version 2 (RIPv2) Configuration Explained! 🌐Are you trying to understand how to configure RIPv2 in your network? T...
15/07/2025

🚀 RIP Version 2 (RIPv2) Configuration Explained! 🌐

Are you trying to understand how to configure RIPv2 in your network? This routing protocol is simple, yet essential for foundational networking. In this video, I’ll walk you through the step-by-step configuration of RIP Version 2 with real-time commands and explanations.

🔍 What you'll learn in this video: ✅ How RIPv2 works
✅ Key differences between RIPv1 and RIPv2
✅ RIPv2 configuration on Cisco routers
✅ How to verify and troubleshoot RIP

💡 Whether you're a networking student, CCNA aspirant, or just curious about dynamic routing protocols—this video is for you!

📺 Watch Now 👉 https://youtu.be/2UIG6x93QFk

Don't forget to Like, Share, and Subscribe for more network configuration tutorials!

RIP v2 Configuration | Step-by-Step Routing Tutorial 🖥️In this video, I demonstrate how to configure RIP version 2 (Routing Information Protocol v2) on Cisc...

Address

Dhaka
1205

Website

Alerts

Be the first to know and let us send you an email when NetSec Academy posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share