Routing Flashcards
routing decisions
layer 3 to layer 2 mapping
routers use arp cache to map ip to mac
make forwarding decisions based on its internal routing tables
routing table
table kept by router to determine which route entry is the best for the network
a route entry with the longest prefix is the most specific
ex: 10.1.1.0/24 is more specific than 10.0.0.0/8
learning routing information
directly connected routes: physical connection w/ cables
static routes: manually configured by admin
dynamic routing protocol: learned by exchanging info between routers
prevent routing loops
split horizon: prevents a learned route on one interface to be advertised back out the same interface
poison reverse: causes a learned route on one interface to be advertised back out the same interface at an extremely expensive cost
igp
interior gateway protocols
operate within an intranet
egp
exterior gateway protocols
operate between external networks
distance vector
uses hop count as a metric
sends full copy of routing table
slow convergence time
link state
uses cost (speed) or other factors as a metric
requires all routers know about the paths that other routers can reach
faster convergence
each router constructs its own relative shortest-path tree with itself at the root
rip
routing information protocol interior gateway protocol distance vector/ hop count (15, 16) oldest, easy, udp vslm
ospf
open shortest path first
interior gateway protocol
link state using cost (link speed)
vlsm
eigrp
enhanced interior gateway routing protocol
hybrid distance and link state
cisco only network
vslm
bgp
border gateway protocol external gateway protocol path vector using system hops instead of router hops backbone of internet slow convergence
ad
administrative distance
index of how to choose what routing protocol to use
the lower the ad, the more believable
from most to least believable
direct connection> static config> eigrp>ospf>rip>external eigrp> unknown
pat
port address translations
variation of address translation but uses port numbers instead of private ip addresses
common in small networks
dnat
dynamic network address translation
ip addresses automatically assigned from a pool
many to many translations