Routing Flashcards
(41 cards)
Router
- hardware or software that forwards packets based on their destination IP
- work at the network layer
MLS
Multilayer switch
- works at multiples layers of the OSI modem
how a router works
- packets come to router for handling
- strips off any layer 2 information
- drops ip packet into queue
- inspects each packets ip destination and sends the packet out the correct port
routing table
- tells the router where to send packets
- keeps track of destination ip’s, subnet masks, gateways, and interfaces
routing table destination LAN IP
a defined network id. every id directly connected to one of the routers ports is always listed here
routing table gateway
the ip address for the next hop router (where the packets go)
- if the network id is not directly connected to the router, packets go to gateway
- if no gateway needed, will say 0.0.0.0 or On-link
routing table interface
tells the router which of its ports to use
zero in a routing table
means anything
default route in routing table
tells the router exactly what to do with eveyr incoming packet unless another line in the routing table gives another route
view routing table windows CLI
“route print” or “netstat -r”
view routing table in Linux or Mac OS?
netstat -r
metric
relative value that defines the “cost” of using a route
- router will always use the route with the lowest metric
NAT
network address translation
- replaces the source ip address of a computer with the source ip address from the outside router interface on outgoing packets
SNAT
Static NAT
- maps a single routable (not private) IP address to a single machine
DNAT
Dynamic NAT
- many computers can share a pool of routable IP addresses that number fewer than the computers
dynamic routing protocols
routers ability to update their routes dynamically
hop
each time a packet goes through a router
common criteria for metrics
hop count - number of routers packet passes through
bandwidth -
delay - latency
cost -
MTU - Maximum Transmission Unit - largest frame route can handle
distance vector
routing protocols that calculate the total cost to get to a particular network id and compares that cost to all the other routes, then chooses the route with lowest cost
convergence
the updating of the routing tablesfor all the routers has completed
also called steady state
RIP
Routing Information Protocol
- maximum hop count of 15
- sends out update every 30 seconds
- could not use VLSM
- no authentication
RIPv2
Routing Information Protocol v2
- added authentication
- distance vector
- IGP
- supports VLSM and discontiguous subents
Autonomous System
one or more networks that are governed by a single dynamic routing protocol within that AS
- does not use IP addressses,
- uses Autonomous System Number (ASN) assigned by IANA (32 bit)
- communicate using BGP
BGP
Border Gateway Protocol
- hybrid routing protocol
- advertise information passed to them from different AS edge routers
- will ignore bad routes
- policies for limiting which and how other routers may access an ISP
- route aggregation (simplies routing tabls into manageable levels)
- path vector
- used on internet, connects AS’s