DEV Community

Cover image for An article about hardware router , modem , switch , firewall , hub & loadBalancer.
arshad. dev
arshad. dev

Posted on

An article about hardware router , modem , switch , firewall , hub & loadBalancer.

Router
A router is a networking device that connects multiple computers and devices to each other and to the internet

Example: when you access any web , request is broken into multiple parts in the form of packets , these packets dont travel directly to web
there is a series of routers that checks and send them forward until they reach their correct destination

Modem
A modem is a hardware device that connects your home or office network to your internetServiceProvider(ISP)

modem allows to connect only specific numbers of devices to the internet.

Diffrence between Modem VS router

in simple words ,
modem connects your home to the internet.
router connects your devices to each other , creating a local area network(LAN)

Switch

switch is a hardware device that connects multiple wired devices such as (computers , printers , and servers ) together in a single LAN(local area network)

its responsible for filtering and forwarding the packets between local area network segments based on MAC address

it transfers the data only to the device that has been addressed,

Firewall

a firewall is a network security system , available as a hardware and software that checks incoming and outgoing trafic based on protocols.

in simple words : its like a security gaurd which filters the data packets
if it accepts then allows the traffic , or reject them with an error response either block silently without response

firewall is a barrier between (LAN) & (WAN)

conclusion: all the packets incoming or outgoing in network it should pass through the firewall

LoadBalancer

a loadbalancer behave like a traffic director for computer servers it sits between user and backend servers

in simple words : a traffic cop routing client requests across all servers.

benifits

  • ensures server do not become overwhelmed

  • prevent crashes .

  • speed up response at time.

  • ensures high availability.

Top comments (0)