• Post author:Bhaskar Soni
  • Post published:
  • Post category:Networking
  • Post comments:0 Comments
  • Reading time:3 mins read

Every network, from a home Wi-Fi setup to a data centre, is built from a handful of device types arranged in a particular layout. Understanding network devices and topologies helps you design networks, troubleshoot problems and talk confidently with engineers.

network devices and topologies

Common network devices

DeviceOSI layerWhat it does
Modem / ONT1–2Connects your network to the ISP over DSL, cable or fibre
Network interface card (NIC)1–2Connects a device to the network; has a MAC address
Repeater1Regenerates a weak signal to extend distance
Hub1Repeats every signal to all ports (obsolete)
Switch2 (some 3)Forwards frames to the right port using MAC addresses
Router3Connects networks and forwards packets by IP address
Wireless access point1–2Connects Wi-Fi devices to the wired network
Firewall3–7Filters traffic based on security rules
GatewayVariousTranslates between different networks or protocols

Modem and ONT

A modem converts signals between your network and the ISP’s line. With fibre broadband, an ONT (optical network terminal) does this job.

Network devices and the OSI layers they work at

Network interface card

Every connected device has a NIC, wired or wireless. Each NIC has a unique MAC address. Read what is a MAC address.

Hub vs switch

A hub sends every frame to every port, which wastes bandwidth and causes collisions. A switch learns where devices are and sends frames only to the right port. Switches replaced hubs years ago.

Router

A router connects different networks, such as your office LAN and the internet. It reads IP addresses and chooses the best path. Home routers usually combine a router, switch, Wi-Fi access point and firewall in one box.

Firewall

A firewall allows or blocks traffic based on rules. Next-generation firewalls also inspect applications, detect intrusions and filter websites.

Gateway

A gateway connects networks that use different protocols or formats. The term “default gateway” also describes the router that devices use to leave their local network.

Network topologies

A topology describes how devices are connected. The physical topology is the actual cabling, while the logical topology is how data flows.

TopologyDescriptionProsCons
BusAll devices share one cableCheap, simpleOne break stops everything; obsolete
RingEach device connects to two neighbours in a loopPredictable performanceA single failure can break the ring unless it is dual
StarAll devices connect to a central switchEasy to manage; one cable failure affects one deviceThe central switch is a single point of failure
MeshDevices have multiple connections to each otherVery resilientExpensive and complex
Tree (hierarchical)Stars connected in layersScalable, organisedDepends on upper-layer links
HybridA mix of topologiesFlexibleMore complex design
Network topologies: bus, star, ring, mesh and tree

Topologies in real networks

  • Offices use a star or tree design: access switches connect to distribution and core switches.
  • Data centres often use a leaf-spine design, a form of partial mesh, for predictable performance.
  • Wireless mesh systems extend Wi-Fi coverage in homes and campuses.
  • WAN backbones use partial mesh for redundancy between sites.

Choosing a design

For most organizations, a hierarchical star design with redundant core links works well. Add redundancy where an outage would hurt the business most, such as uplinks, core switches and internet connections.

Related guides

Sources

Need help with network security? We test routers, firewalls, ACLs and segmentation as part of our VAPT services and hardening audits. Contact us for a quote.

Post author avatar

Bhaskar Soni

Bhaskar Soni is a Security Engineer and the founder of Youngster Company, based in Ahmedabad, Gujarat. He works hands-on with Linux server hardening, vulnerability assessment and penetration testing (VAPT), ISO 27001 compliance and OSINT investigations. He writes practical, tested guides for IT professionals and Indian businesses, and every article on this site is written or reviewed by him.

Leave a Reply