A routing table has 5 columns:
Network Destination | Defines local network | |
Netmask | Defines local network | |
Gateway | IP address of the next hop router | 0.0.0.0 , etc. |
Interface | What port to send the packet through | WAN, LAN, IP Address, gig0/0, etc |
Metric | Route priority | Positive integers |
a “last resort” network path used by a router for forwarding all packets with destination addresses not listed in its routing table.
Routes with lower metrics will be used first.
Calculate the most efficient way to send an IP packet through one or more routers. The cost functions vary, but can be based on things like number of hops, latency, MTU, bandwidth, etc. In the end, these protocols aim to set the Metrics in a router’s routing table.
Calculates the cost to get from a router to a particular network ID.
The eventual result is every router in the WAN will recieve every other routers route table, possibly several times, depending on how many The router can then update it’s own route table to reach other routers if there is a route with an overall lower metric.
Eventually, routers in a WAN will reach steady state. They will, however, continue to send their routing tables, even though nothing has changed. When the network topology changes and certain routes become unavailable, or new, lower cost/metric routes become available, this will be reflected in the entire network.
Distance vector works for relatively few routers in a WAN, but not for the entire internet.
Upon startup router sends “hello packets” Adjacent routers form a neighborship Link State Advertisement (LSA) is used to flood the router network When flooding is complete each router chooses its own best routes
A Hybrid routing protocol that is the backbone of the global internet.
Notes on Computers
AWS · Bash · C · C++ · Cyber Security · Git · LaTeX · Linux · Networking · Python · Raspberry Pi · Tools · Vim
Notes on Math & Physics
Information Theory · Linear Algebra · Solid State Physics
Copyright 2021 · Eric D. Weise