SECTION 8 : ROUTING Flashcards
What is a router ?
Forwards traffic between subnets, between an internal and external network. Each subnet or external network is going to be its own broadcast domain. Keep in mind that a multilayer switches also perform routing functions.
Explain the action of the router when receiving a data frame from a switch
It packages up the frame to make an IP packet that will be sent to the other router of another network.
What is a routing table ?
Helps determine which route entry is the best fit for the network. Juste like a switch has its MAC address table (ARP packet).
A route entry with the longest prefix is the most specific network. (The one with the most important number of octets being specified). For instance 10.1.1.0/24 is more specific than 10.0.0.0/8. Every link in a routing table does have a cost associated with it.
What is an ARP cache ?
To map an IP address to a given MAC address.
What is a directly connected Route ?
Learned by physical connection between routers. If three routers are physically connected (direct cabling) zigzag lines are frequently used.
What is static route ?
Manually configured by an administrator. There is always one default static route —> 0.0.0.0/0. It’s like a default gateway.,
What is dynamic routing ?
Learned by exchanging information between routers. When R1 and R2 becomes connected they share their routing table. It’s done automatically using dynamic routing protocol. When you connect to the internet the ISP is the default route.
What are the three different types of route ?
- directly connected
- static
- dynamic
How does the router know which is best ?
The dynamic routing protocol negotiates using bdwth, number of hops and so on.
What are the techniques to prevent network loops ?
- split horizon
- poison reverse
What is split horizon ?
Prevents a route learned on one interface from being advertised back out of that same interface. Similar to STP of layer 2.
What is poison reverse ?
Causes a route received on one interface to be advertised back out of that same interface with a metric considered to be infinite. The cost is so high so that it’s never used. The number of hop will be very very high.
What are the two types of Dynamic Routing protocols ?
- internal : interior gateway protocol operates with an autonomous system
- external : operates between autonomous systems - exterior Gateway Protocol
What is the router advertisement method
It’s a feature of every routing protocol. Every protocol will look at routing differently using :
- distance vector (number of hops)
- link state (bdwth available)
- hybrid
We have to think about that when we select the protocol.
What is distance vector ?
Sends full copy of routing table to its directly-connected neighbors at regular intervals. Number of routers you connect. Slow convergence (time it takes for routers to update their routing tables in response to a topology change). When you add a router to a network, it takes time for the other routers to know the new router is here. Once everybody knows it’s called a converged network.
How to speed-up convergence time ?
We use a hold-down timer. It prevents updates for a specific period of time and speeds up convergence. When we deal with distance vector we use hop-count. Number of routers from the source router through which data must pass to reach the destination network.
What does link state require ?
It requires all routers to know about the paths that all other routers can reach in the network.