Computer Networking
This page provides introduction to Computer Networking.
Overview
A Computer Network is digital telecommunications network which allows nodes to communicate. Here is how computer network looks like:
Switches
For e.g. Catalyst , Catalyst .
- Switches are used to forward traffic within a Local Area Network (LAN).
- Switches have many network interfaces/ports for the end hosts to connect to (usually +).
- Provides connectivity to hosts within the same Local Area Network (LAN).
- Do not provides connectivity between the LANs/over the internet.
- It uses source MAC address field to populate it's MAC address table. It associates the MAC address with the interface on which the frame was received. This allows switch to learn how to reach other devices on the network.
Routers
For e.g. ISR , ISR or ISR .
- Routers are used to provide connectivity between Local Area Network (LAN) and therefore used to send data over the internet.
- Routers have fewer network interfaces than switches.
- Routers provides basic security features.
Firewall
For e.g. ASA-X, Firepower .
- Firewalls are specialty network security devices that control network traffic entering and existing your network.
- Firewalls can be placed outside of your router or inside of your network.
- Firewalls must be configured with security rules to determine which traffic should be allowed and which should be denied.
There are two types of firewalls
- Network Firewalls: It is hardware device that filter traffic between networks.
- Host based Firewalls: It is software applications that filter traffic entering and existing a host machine.
Ethernet
Ethernet is a widely used technology for networking, providing reliable, fast, and efficient data communication between devices in a local area network (LAN). It defines the hardware (cables, connectors) and protocols for communication in wired networks.
Ethernet uses RJ- as an interface. It is -pin modular connector with positions and contacts (PC). Below table shows pins on which each device receives and transmits the data:
Device | Transmit Pins | Recieve Pins |
---|---|---|
Router | and | and |
Firewall | and | and |
PC | and | and |
Switch | and | and |
Copper cables using ethernet standard are called Unshielded Twisted Pair (UTP) cables. It has pairs of cables twisted together, which makes wires in total. Ethernet and Fast Ethernet uses pairs or wires. Gigabit Ethernet and Gig Ethernet uses all pairs of UTP cables.
Below are ethernet standards for copper cables:
Speed | Common Name | IEEE Standard | Informal Name | Maximum Length |
---|---|---|---|---|
Mbps | Ethernet | i | BASE-T | m |
Mbps | Fast Ethernet | u | BASE-T | m |
Gbps | Gigabit Ethernet | ab | BASE-T | m |
Gbps | Gig Ethernet | an | GBASE-T | m |
byte = bits
The speed of a connection is measured in bits per second, not bytes, using units like Kbps, Mbps, Gbps, etc. In contrast, data on a hard drive is measured in bytes per second.
Copper UTP wiring can transmit data over distances of up to 100 meters. For larger networks, fiber optic connections are preferred. Unlike copper wiring, which uses electrical signals, fiber optic cables transmit data as light through glass
Copper UTP cables use separate wire pairs within the cable for transmitting and receiving data. In contrast, fiber optic cables rely on separate cables for these functions.
Below are ethernet standards for fibre optics cables:
Speed | IEEE Standard | Informal Name | Maximum Length | Cable Type |
---|---|---|---|---|
Gbps | z | BASE-LX | m - km | Multimode Or Single Mode |
Gbps | ae | GBASE-SR | m | Multimode |
Gbps | ae | GBASE-LR | km | Single Mode |
Gbps | ae | GBASE-ER | km | Single Mode |