Routing Fundamentals Flashcards
In routing, what are the packet forwarding mechanisms
Process switching
Fast switching
Cisco Express Forwarding (CEF)
What is process switching
Legacy, rarely used
Packets are forwarded to control plane where CPU matches destination address with entry in routing table
Slow.
(think of this as solving a problem by doing math long hand even if it is an identical problem)
What is fast switching
Common
Uses cache to store next hop information
If it is not there, it is process switched
(think of this as solving a math problem long hand and remembering the answer for subsequent problems)
What is CEF
Most recent
CEF builds a Forward information Base (FIB) and adjacency table
Table entries are not packet triggered like fast switching but change triggered when something changes in the network topology
(think of this as solving every possible problem ahead of time in a spreadsheet)
How does a router forward a frame
De-encapsulates layer 2 frame header and trailer to inspect layer 3 packet
Examines IP address to find best path
If path found, encapsulates the L3 packet into new L2 frame and forwards it to correct exit interface
How does RIP determine best path
Hop count
How does OSPF determine best path
Ciscos cost based on cumulative BW from source to destination
How does EIGRP determine best path
BW
Delay
Load
Reliability
What happens when a router has two or more paths to destination with equal cost metrics
Forwards packet using both paths equally
How do you configure a default static route
Router (config)# ip route 0.0.0.0 0.0.0.0 (ip add | exit int)
What is a floating static route
Used to provide a backup path to the primate static or dynamic route in the event of a failutre
Configure with higher AD
What is the administrative distance
If multiple routes exist on same network, the route uses the one with the lowest AD
How is floating static route configure
Same as static route but number on the end for AD
What is a distance vector protocol
Does not have knowledge of entire path to destination
Uses routers as ‘sign posts’ along path to destination
What is a link state protocol
Has complete view of topology or network
Like having a map