# Network Components
## End Devices
End devices are the devices that users directly interact with. They are the source and destination of data in a network. Computers and laptops are the most common end devices, used to create, send, receive, and display data. Smartphones and tablets are increasingly common end devices that connect to networks through WiFi or cellular connections. Servers are specialized computers that provide services to other devices on the network, such as storing files, hosting websites, or managing email. Printers are end devices that receive print jobs over the network. Internet of Things devices such as smart thermostats, cameras, and industrial sensors are also end devices that send and receive data over networks.
## Network Interface Card
A network interface card, commonly called a NIC, is a hardware component installed in a computer or device that enables it to connect to a network. Every NIC has a unique hardware address called a MAC address, which is a 48-bit number assigned by the manufacturer. The MAC address is used to identify the device within a local network. NICs can be wired, connecting to the network through an Ethernet cable, or wireless, connecting through WiFi radio signals. Modern computers typically have both wired and wireless NICs built into the motherboard.
## Transmission Media
Transmission media is the physical or wireless channel through which data travels between devices. Wired transmission media includes twisted pair cables, which are the most common type and are used in most Ethernet networks. Coaxial cables were widely used in older networks and cable television systems. Fiber optic cables use light to transmit data at very high speeds over long distances with minimal signal loss. Wireless transmission media uses radio waves, microwaves, or infrared signals to carry data through the air without physical cables. Each type of transmission medium has different characteristics in terms of speed, distance, cost, and susceptibility to interference.
## Hub
A hub is the simplest network device used to connect multiple computers in a local area network. When a hub receives data from one device, it broadcasts that data to every other device connected to it, regardless of which device the data is actually intended for. Every device on the network receives the data, but only the intended recipient accepts and processes it while others discard it. This approach wastes bandwidth and creates security concerns because every device can see all network traffic. Hubs operate at the physical layer of the OSI model and have largely been replaced by switches in modern networks.
## Switch
A switch is a more intelligent network device that connects multiple devices in a local area network. Unlike a hub, a switch learns the MAC addresses of all connected devices by observing which port each device's traffic comes from. When it receives data intended for a specific device, it sends the data only to the port connected to that device rather than broadcasting it to all ports. This makes switches much more efficient than hubs because bandwidth is not wasted sending data to devices that do not need it. Switches operate at the data link layer of the OSI model and are the standard device for connecting computers within a local network.
## Router
A router is a device that connects different networks together and routes data packets between them. While switches connect devices within the same network, routers connect separate networks such as a home network to the internet. Routers operate at the network layer of the OSI model and use IP addresses to determine where packets should be sent. Every router maintains a routing table that lists known networks and the best path to reach them. When a router receives a packet, it examines the destination IP address and consults its routing table to decide which interface to forward the packet through. Routers are essential devices that make the internet function because they direct traffic between the thousands of networks that make up the internet.
## Modem
A modem is a device that converts digital signals from a computer into a form that can be transmitted over an analog communication line such as a telephone line or cable television line, and converts received analog signals back into digital form. The word modem comes from modulator and demodulator. In a home internet setup, the modem connects to the internet service provider's network and the router connects to the modem to distribute the internet connection to devices in the home. Modern cable and fiber internet connections use modems that are quite different from the old dial-up telephone modems but serve the same fundamental purpose of connecting the home network to the provider's network.
## Access Point
A wireless access point is a device that allows wireless devices such as laptops and smartphones to connect to a wired network. The access point connects to a switch or router through an Ethernet cable and broadcasts a WiFi signal that wireless devices can connect to. In large buildings, multiple access points are installed to provide wireless coverage throughout the entire space. Access points operate at the data link layer and manage the wireless connections from multiple devices simultaneously.
## Firewall
A firewall is a security device that monitors and controls incoming and outgoing network traffic based on a set of security rules. Firewalls examine packets and decide whether to allow them to pass or to block them based on criteria such as the source and destination IP addresses, port numbers, and protocols being used. Firewalls can be implemented as hardware devices, software applications, or a combination of both. They form the primary line of defense between a trusted internal network and untrusted external networks such as the internet.
## Cables and Connectors
Physical cables are the actual transmission media in a wired network. Ethernet cables use RJ-45 connectors and come in different categories with different speed ratings. Fiber optic cables use specialized connectors such as LC or SC connectors and transmit data using light pulses. Coaxial cables use BNC or F-type connectors. The quality and category of cables used in a network affects the maximum speed and distance that can be achieved.
## Protocols
Protocols are not physical components but are essential software rules that enable all the hardware components to work together. Protocols define how data is formatted, transmitted, received, and acknowledged. Without standard protocols, devices from different manufacturers would be unable to communicate with each other. The most fundamental network protocols are TCP and IP, which together form the foundation of internet communication. Other important protocols include HTTP for web browsing, DNS for translating domain names to IP addresses, DHCP for automatically assigning IP addresses, and FTP for file transfer.Back to Subject