Originally published September 10, 2019. Restored to the blog in October 2026; the text is unchanged from the original.
Routers and Switches form the foundation of your connectivity to the Internet. Routers connect networks, while switches manage the individual connections of each device in your network. Routers and switches have similar but distinct responsibilities that keep your network humming along.
If you want your network connect to the internet and the world of information it offers, you need a router to open the door. A router acts as a virtual highway, moving data from the internet back into the networks it connects.It also stores information about the network that can be queried about the devices stored in its inner tables. There are multi-function routers that can provide switching and security functions as well. These multi-function routers with routing, switching, and security functionality makes it easy to recover quickly from an outage. Although it’s possible to have a single router perform all three functions, we recommend having separate devices perform separate primary functions. This allows users to access internal applications via switches if a router fails.
Switches connect PCs, laptops, printers, and more within a certain location and ensure fast, healthy performance of network devices. Router can act as a switch in an emergency performing routing functions, if needed.
There are two types of switches, managed and unmanaged. Managed switches allow network administrators the most control over device connections. In map of all your network devices, the switch and all the devices it connects will be distinct on the map. Managed switches have an interface where users can go in and update settings, such as shut down or enabling ports, and even tuning the speed of devices to the speed of the switch that’s connecting to achieve optimal performance.
When a core router or switch fails at work, nobody’s happy. Complaints will pour in to IT. Work is stalled. IT scrambles. It may very well feel like the sun will never shine again.
Connectivity failures happen and when they do knowing what the problem is can be helpful when talking to your IT department. If a user is unable to connect with any external applications the problem is most likely a router issue. However, if internal applications are unavailable then the problem is related to the switch.
Routers and switches can be the key cogs to deploying robust network architecture. We recommend that you purchase quality devices and utilize their full capabilities, and then monitor them carefully for any signs of failure that will help keep your door to the outside world open. By implementing optimally-tuned routers and switches your business can enjoy
Securing your router against attacks is known as hardening your Router. It includes enabling secure, tough-to-crack passwords that are encrypted when configuring it, to shutting down of unnecessary ports and services. A router that has few vulnerabilities is harder for attackers to exploit.
Disable unused router interfaces—that’s right, find ANY interface that is not in use and make sure you issue the shutdown command
Disable unused services—these typically include:
Disable management protocols that you are not using—these typically include:
Disable features that are techniques used for redirecting your traffic:
Disable features that are techniques for probes and scans in reconnaissance attacks:
Ensure security of terminal connections:
Disable gratuitous ARP and proxy ARP
Disable IP-directed broadcasts
Disable all unused ports and place them in an unused VLAN.
Set all user ports to non trunking mode by disabling DTP. (It is not a bad idea to set all ports by default to access mode and then reconfigure the trunking ports as needed.)
Switch(config-if)#switchport nonegotiate
For backbone switch-to-switch connections, explicitly configure trunking and disable DTP.
Switch(config-if)#switchport mode (access|trunk|dynamic auto dynamic desirable)
Do not use VLAN 1 as the switch management VLAN.
Switch(config-if)#switchport trunk native vlan vlan-id
The information and content in this document is provided for informational purposes only and is provided “as is” with no warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-infringement. We are not liable for any damages, including any consequential damages, of any kind that may result from the use of this document. The information is obtained from publicly available sources. Though reasonable effort has been made to ensure the accuracy of the data provided, we make no claim, promise or guarantee about the completeness, accuracy, recency or adequacy of information and is not responsible for misprints, out-of-date information, or errors. We make no warranty, express or implied, and assumes no legal liability or responsibility for the accuracy or completeness of any information contained in this document.
If you believe there are any factual errors in this document, please contact us and we will review your concerns as soon as practical.
© 2019 Craig Peterson. All Rights Reserved.
Join the owners who get Craig Peterson's Second Opinion Weekly Mail.