07 - Routing Flashcards
Router
- Forwards packets based on IP
- works at network layer
Switch that works at more than one layer
MLS
- Multi-layer Switch
Layer 3 Switch
Handles IP traffic as well (routing)
Routing Table
Tells the router exactly where to send packets based on IP
Columns of a routing table
Destination LAN IP - defined network ID
Subnet Mask - network ID
Gateway - IP for next hop router
Interface - LAN or WAN
What does 0 mean on routing tables
Anything - wildcard
Routing table default route
Tells the router what to do with every incoming packet unless another line in the tables gives a route
View routing table windows CLI
route print
or
netstat -r
View routing table Linux & Mac CLI
netstat -r
routing table metric
defines “cost” of using a particular route
- lower values are better
SNAT
Static NAT
-
DNAT
Dynamic NAT
-
hop
Each time a packet goes through a router
Most common criteria for routing metrics
hop count -
bandwidth -
delay -
cost -
MTU
Maximum Transmission Unit
- The largest frame a particular technology can handle