From 926c6e862a4f7d07fd202fbe7d52089c68c553e8 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 18 Jul 2023 00:16:06 +0200 Subject: [PATCH] Table is bettr --- en/chap02.tex | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/en/chap02.tex b/en/chap02.tex index 9166255..f41e0ef 100644 --- a/en/chap02.tex +++ b/en/chap02.tex @@ -229,17 +229,28 @@ The third level describes details of the respective router/network and all the incident objects. There is always the distance from us (i.e. the router we asked for the dump), or the word \texttt{unreachable} if it is not reachable. -There is also a level-3 line for each incident host and network. For routers and -networks, this line is the same as on level-2, but routers may also be incident -to extra-area networks (\texttt{xnetwork}), external networks -(\texttt{external}), stub networks (\texttt{stubnet}) and extra-area routers -(\texttt{xrouter}). In the backbone area, routers may also have virtual links -to other routers (\texttt{vlink}). These networks are referenced by their IP -address in both -versions of OSPF, routers again by router IDs. - -These incidencies of routers have also a metric, after the word -\texttt{metric}, or, in case of Type 2 external cost, \texttt{metric2}. +There is also a level-3 line for each incident host and network. Overview of +the \uv{tags} (the first words) and parameters is provided by +table~\ref{tab:ospf-incidences}. Note that networks can only be incident to +routers, while routers may be incident to anything. The incidences of routers +have also a metric, after the word \texttt{metric}, or, in case of Type 2 +external cost, \texttt{metric2}. + +\begin{table}[h] + \centering + \begin{tabular}{lcc}\hline + Incidence type & tag & parameter \\\hline + Transit network & \texttt{network} & Same as on level-2 \\ + Router & \texttt{router} & Router ID \\ + Extra-area router & \texttt{xrouter} & Router ID \\ + Extra-area network & \texttt{xnetwork} & IP address (CIDR) \\ + External network & \texttt{external} & IP address (CIDR) \\ + Stub network & \texttt{stubnet} & IP address (CIDR) \\ + Virtual link & \texttt{vlink} & Peer router ID \\\hline + \end{tabular} + \caption{Level-3 lines describing incidences} + \label{tab:ospf-incidences} +\end{table} For networks, additional details are also provided on level-3. For OSPFv2, the designated router ID is given in the \texttt{dr} directive, similarly, OSPFv3