Routing fundamentals

In the previous chapters, we discussed switches. Routers and switches are both required to forward information. Switches work in layer 2 even if there are some layer 3 switches. Routers operate in layer 3, which is the Network Layer:

In order to exchange information, routers use IP addresses. They are maintaining  a routing table. When it comes to routing, we have two different categories:

  • Static routing: In static routing, all the routes are set manually by the network administrator. It is a good decision for small networks where we have fewer unnecessary routing updates, but it will be a problem when a link goes down. ...

Get Advanced Infrastructure Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.