-
router
- ”A node that is connected to two or more networks is commonly called a router or gateway” (Tanenbaum, 2011)
- “The general name for a machine that makes a connection between two or more networks and provides the necessary translation, both in terms of hardware and software, is a gateway” (Peterson, 2020)
-
routing protocol
- routing algorithm
- ”The algorithm used to make a routing decision for a particular datagram, based on current routing information” (Stallings, 2013)
- routing algorithm
-
static routing (or non-adaptive routing)
-
dynamic routing (or adaptive routing)
- “An adaptive routing technique in which routing tables react to network fluctuations when calculating the best path between networks.” (West, 2021)
-
routing domain
- intra-AS (or intradomain) routing (or interior gateway protocol (IGP) (or interior routing protocol))
- (using OSPF, IS-IS and RIP)
- inter-AS (or interdomain) routing (or exterior gateway protocol (Not to be confused with the specific protocol Exterior Gateway Protocol (EGP)))
- (using BGP)
- intra-AS (or intradomain) routing (or interior gateway protocol (IGP) (or interior routing protocol))
-
control plane
-
data plane (or forwarding plane)
-
network topology
-
packet forwarding
-
hot-potato routing
-
cold-potato routing
-
autonomous systems (AS)
- “A group of networks and routers under the authority of a single administration.” (Forouzan, 2012)
- autonomous system number (ASN)
- formats:
- 16-bit
- 32-bit
- formats:
- types:
- stub
- multihomed
- transit
- IXP
-
Internet service provider (ISP)
- Tier 1, Tier 2 and Tier 3
-
network service provider (NSP)
-
network access point (NAP)
-
backbone network (or core network)
- (e.g. the Internet backbone)
-
regional ISP (or national ISP)
-
backbone ISP
-
point of presence (POP)
-
customer premises equipment (CPE)
-
“Backbones and provider networks are also called Internet Service Providers (ISPs). The backbones are often referred to as international ISPs; the provider networks are often referred to as national or regional ISPs.” (Forouzan, 2012)
-
internet exchange point (IX or IXP)
-
peering
-
forwarding table (or forwarding information base (FIB) or MAC (address) table, or CAM table)
- Prefix/Length
- MAC address
- interface
-
routing table (or routing information base (RIB))
- network identifier (Prefix/Length)
- next hop (or gateway)
- metric
-
routing loop
-
address aggregation (or address summarization or route summarization or route aggregation)
-
anycast
Distance-vector routing
-
The distance vector of a node is a vector that contains the cost from node to each of the other nodes in the network.
-
Initially:
- for each non-neighboring nodes and , we set .
- the routing table of node contains an entry for each of destination node :
- cost
-
for each node :
- for each neighbor of :
- node receives from node its distance vector
- for each destination node :
- if :
- set
- set
- if :
- for each neighbor of :
-
implementation: routing information protocol (RIP)
-
Count to Infinity
- Split horizon
Link-state routing
- Link-state routing protocol
- (flooding)
- initially, each node generates an LSP describing its local link state.
- at every node X, upon receiving an LSP from node Y:
- if no LSP originated by Y is stored → store the LSP.
- if an LSP from Y exists and the received LSP has a higher SEQNO → replace the stored LSP.
- if the received LSP is accepted → forward it to all neighbors of X except the one from which it was received.
- (route calculation) once a node has received the most recent LSP from every node, it runs Dijkstra’s algorithm to compute the shortest paths to all destinations.
- (flooding)
- link-state advertisement (LSA)
- a link state packet (LSP) of a node, contains:
- node identifier (originator ID)
- sequence number (SEQNO)
- time-to-live (TTL)
- cost (weight) of each adjacent link
- a node generates a new LSP periodically or upon a local topology change (e.g., a link or neighbor failure, detected via “Hello” packets).
- link-state database (LSDB)
- each node maintains an LSDB containing the most recent LSAs from all other nodes in the routing domain.
- examples:
- Open Shortest Path First (OSPF)
- Intermediate System to Intermediate System (IS-IS)
Path-vector routing
- path-vector routing
Border gateway protocol (BGP)
-
border gateway protocol (BGP)
- BGP is path-vector routing protocol
-
Internal BGP (iBGP or Interior Border Gateway Protocol)
- used for all routers in an AS
-
External BGP (eBGP or Exterior Border Gateway Protocol)
- used for border routers in an AS
-
A border router is a router responsible for forwarding packets between different ASs.
- A “BGP speaker” router is a router within an AS that runs the BGP protocol to communicate with BGP speakers in other Autonomous Systems. Every AS participating in BGP must have at least one BGP speaker. A border router is often also a BGP speaker, but this is not a strict requirement.
-
Edge Router
-
OPEN -
UPDATE -
KEEPALIVE -
NOTIFICATION
References
- Tanenbaum, Andrew S. (2011). Computer networks. Pearson Prentice Hall.
- Peterson, Larry L. (2020). Computer Networks. Elsevier Science & Technology.
- Stallings, W. (2013). Data and Computer Communications.
- West, Jill (2021). Data Communication and Computer Networks. Course Technology.
- Forouzan, B. A. (2012). Data Communications and networking. McGraw-Hill Education.