Forwards traffic between subnets, between an internal and external network, or between two external network
Router
Each subnet or external network is going to be its own broadcast domain
Each subnet or external network is going to be its own broadcast domain
In the real world, you can use a layer 3 switch or multilayer switches also perform routing functions
In the real world, you can use a layer 3 switch or multilayer switches also perform routing functions
Exam tip
if you’re using a multilayer switch , it is functioning as a router
Switch
Layer 2 Switch
Multilayer Switch layer 3
Router
A: From Layer 2 (frames) to Layer 3 (packets).
A: From Layer 3 (packets) back to Layer 2 (frames).
A: PC1 sends data to its router → router repackages it as a packet → sends to Router 2 → Router 2 sends it as a frame to PC2.
A: Moving packets from one network to another using IP addresses.
Helps determine which route entry is the best fit for the network
Routing Table
A route entry with the longest prefix is the most specific network
A route entry with the longest prefix is the most specific network
Learned by physical connection between routers
Directly Connected Route
Manually configured by an administrator
Static Route
Default Static Route
(0.0.0.0/0)
“If you don’t know where to go, just go here.”
Learned by exchanging information between routers
Dynamic Route
Prevents a route learned on one interface from being advertised back out of that same interface
Split Horizon
Operates within an autonomous system
Interior Gateway Protocol (IGP)
Operates between autonomous systems
Exterior Gateway Protocol (EGP)
Sends full copy of routing table to its directly-connected neighbors at regular intervals
Distance Vector
Time it takes for routers to update their routing tables in response to a topology change
Convergence
Prevents updates for a specific period of time and speeds up convergence
Hold-down Timer
Number of routers from the source router through which data must pass to reach the destination network
Hop Count
Requires all routers to know about the paths that all other routers can reach in the network | faster convergence time and use cost or other factors as a metric
Link State
A distance vector protocol that uses hop count (maximum hops of 15; 16 is infinite)
Routing Information Protocol (RIP)
Link state protocol that uses cost | cost is based on link speed between routers
Open Shortest Path First (OSPF)