Routing Flashcards
configure router subinterface
- i.e. interface f-/0.10
- encapsulation dot1q 10
- ip and mask
configure static route
ip route network-address mask {ip | exit interface}
default route
static routed used w/ bits matching
configured as 0.0.0.0 0.0.0.0
configure RIP
#router rip #network *ip address*
RIP troubleshooting commands
show ip route
show ip protocols
show ip rip
switch router to RIPv2
#router rip #version 2
enable VLSM for RIPv2
no auto-summary
EIGRP
- distance vector
- classless
- cisco proprietary
- RTP
- bounded updates
- diffusing update algorithm (DUAL)
- establishing adjacencies
- neighbor and topology table
EIGRP TLV types (type/length/value)
0x0001 EIGRP parameters
0x0102 IP internal routes
0x0103 IP external routes
Opcode in EIGRP header
specifies EIGRP packet type
AS # in EIGRP packet header
specifies antonymous system # since multiple EIGRP instances can be run
5 EIGRP packet-types
- hello
- update
- acknowledgement
- query
- reply
configure EIGRP summary route
enter interface config mode
ip summary-address eigrp as-# network# mask
command to include static route in routing updates
redistribute static
command to modify bandwidth metric on EIGRP interface
bandwidth speed in kilobits
3 tables useful for troubleshooting EIGRP
- routing table
- neighbor table
- topology table
sucessor
neighboring router used for packet forwarding and is the least-cost route to the destination network
feasible distance
lowest calculated metric to destination network
feasibility
met when neighbors reported distance to a network is less than the local routers FD to the same network
OSPF
Open Shortest Path First
- link state protocol
- open standard
5 OSPF packet types
-hello
-DBD (database description)
-LSR (link-state request)
-LSU (link-state update)
LSAck (link state acknowledgement)
OSPF hello packets
- discover OSPF neighbors & establish adjacencies
- advertise parameters on which 2 routers must agree to become neighbors
- elect the designated router & backup designated router on multiaccess networks
matching interface values required for OSPF adjacency
- hello interval
- dead interval
- network type
designated router
- responsible for updating all other OSPF routers on a multi-access network
- router w/ highest OSPF interface priority is chosen
- 2nd highest is backup designated router
link state routing process
- each router learns about its own links
- each router uses hello packets to establish adjacencies
- each router builds a link-state packet
- each router floods the LSP to all neighbors
- each router uses the database to construct a complete map of the topology, SPF determines the best paths
command to enable OSPF
#router ospf process-id #network address wildcard mask area area-id
OSPF area
group of routers that share link-state information
OSPF metric
cost
10 to the 8th/bandwidth in bps
modify OSPF bandwidth
use bandwidth command to modify bandwidth value
use ip ospf cost command
change router OSPF priority to control DR & BDR selection
ip ospf priority {0-255}
basic routing troubleshooting
- check routing tables for convergence using show ip route
- ip routes are missing investigate protocol operation using show ip protocols
- check for missing neighbors using show ip (ospf or eigrp) neighbors
- show run config
troubleshooting VLSM
- pay attention to see if design really uses VLSM, check for classless routing protocol
- check for overlapping subnets
- outward symptoms include not sending packets out of local subent
- use traceroute
- do the math on subnets to be sure they don’t overlap
troubleshoot RIP
- incorrect network statements
- dis-contiguous networks
EIGRP and OSPF troubleshooting commands
show ip eigrp interfaces
show ip ospf interface brief
show ip protocols
configure DHCP server on cisco router
1) use ip dhcp excluded-address [low-address (high-address)] to identify excluded addresses
2) create DHCP pool using ip dhcp pool pool-name command
3) configure ip addressing parameters
distance vector routing protocols
RIP(1&2) IGRP, EIGRP
link state routing protocols
OSPF, IS-IS
path vector routing protocols
BGP, EGP
IGP & EGP
interior gateway protocols used for intra AS routing
exterior gateway protocols route between ASs
what is a distance vector protocol?
- use distance & direction
- don’t know topology
Works best with
- flat, simple networks
- administrators don’t understand link state protocols
- specific types of networks (hub & spoke) are being implemented
- worst-case convergence times are not a concern
what are link-state routing protocols
- have complete topology
- only send updates when topology changes
works best
- hierarchal networks
- large networks
- knowledgeable administrators
- fast convergence is crucial
how does routing decide between multiple paths to same destination?
metric
-metric can viewed with show ip route command
administrative distance
- defines preference of a routing source
- all routes are prioritized by AD regardless of protocol, static routes, etc.
- lower value = higher priority
- can be 0 to 255
verify w/ show ip protocols command
default AD of directly connected & static routes
0 and 1 respectively
default EIGRP AD
90