Network and Devices
Network and Devices
Switch:
Network switches take advantage of a MAC address table to learn and remember what
devices are connected to which port.
Typical switches sit at Layer 2 of the OSI model, and do not care about IP addresses. They
only care about source and destination MAC addresses. But you can buy Layer 3 switches
which include some functionality at the Layer 3 level.
Managed vs Unmanaged:
You will encounter two types of switches.
Unmanaged switches are plug-n-play. You cannot figure them in any way. You cannot run
commands or access a web interface.
They are made to be simple.
Managed switches give you complete control over the switch. This can either be through a
terminal (CLI) by way of executing commands or it could be a web interface (GUI) which you
access using a web browser.
Managed switches are usually more expensive than unmanaged switches.
Ports:
Network switches come in a variety of different sizes. You can buy a switch as small as 3
ports, or as big as 48 ports.
You will often find two different types of ports on the front of a switch. They are Ethernet
and SFP.
Switch ports also come as either full-duplex or half-duplex (Legacy), or with the ability to
switch between the two automatically.
You can configure each port to your needs, or let it run using default options.
When buying a switch, think about how many ports you need.
Uplinks:
Used to connect a switch to other switches. Usually come in the form of an SFP+ port on
modern switches. Faster than the rest of the ports and designed to handle the traffic.
Routing table:
Static routing:
You can manually configure a router with all the possible route data could take through it.
Static routing is only useful for smaller networks where the list of all possible routes is quite
small.
With larger networks, it gets harder and harder to maintain.
Dynamic routing:
Dynamic routing protocols are what we use mostly today.
Devices using dynamic routing automatically discover the devices it is connected to, and
based on certain metrics, determines the best path between two networks.