mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-12-23 20:57:53 +00:00
Code blocks ip4 and ip6 included
This commit is contained in:
parent
8873696e2e
commit
a783234203
|
@ -135,4 +135,12 @@ The winning one was \rfc{3596} with the idea of doing \textit{quad}-A records an
|
|||
|
||||
The idea is fx. \texttt{2001:db8:ef::2} is noted in ip6.arpa as \texttt{2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.f.e.0.0.8.b.d.0.1.0.0.2.ip6.arpa}. {\small Note the used of '.' between \textit{each} \textit{hexadecimal} character used, and that \textit{all zeroes} has been included. ip6.arpa does not allow any characters to be omitted from the original full-length \gls{ip6} address.}\footnote{Found description \href{https://stackoverflow.com/q/6619682}{here} on stackoverflow.com/q/6619682.}
|
||||
|
||||
\section[IPv4]{Internet Protocol v4}
|
||||
\subsection{Addresses}
|
||||
|
||||
\plaintextinput{ipaddressblocks6}
|
||||
|
||||
\section[IPv4]{Internet Protocol v4}
|
||||
|
||||
\subsection{Addresses}
|
||||
|
||||
\plaintextinput{ipaddressblocks}
|
|
@ -20,16 +20,3 @@ Address Block Present Use Reference
|
|||
240.0.0.0/4 Reserved for Future Use RFC 1112, Section 4
|
||||
255.255.255.255/32 Limited Broadcast RFC 0919, Section 7
|
||||
RFC 0922, Section 7
|
||||
::1/128 Loopback Address RFC 4291
|
||||
::/128 Unspecified Address RFC 4291
|
||||
64:ff9b::/96 IPv4-IPv6 Translat. RFC 6052
|
||||
::ffff:0:0/96 IPv4-mapped Address RFC 4291
|
||||
100::/64 Discard-Only Address Block RFC 6666
|
||||
2001::/23 IETF Protocol Assignments RFC 2928
|
||||
2001::/32 TEREDO RFC 4380
|
||||
2001:2::/48 Benchmarking RFC 5180
|
||||
2001:db8::/32 Documentation RFC 3849
|
||||
2001:10::/28 ORCHID RFC 4843
|
||||
2002::/16 [2] 6to4 RFC 3056
|
||||
fc00::/7 Unique-Local RFC 4193
|
||||
fe80::/10 Linked-Scoped Unicast RFC 4291
|
||||
|
|
15
code/ipaddressblocks6.txt
Normal file
15
code/ipaddressblocks6.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
Address Block Present Use Reference
|
||||
--------------------------------------------------------------------
|
||||
::1/128 Loopback Address RFC 4291
|
||||
::/128 Unspecified Address RFC 4291
|
||||
64:ff9b::/96 IPv4-IPv6 Translat. RFC 6052
|
||||
::ffff:0:0/96 IPv4-mapped Address RFC 4291
|
||||
100::/64 Discard-Only Address Block RFC 6666
|
||||
2001::/23 IETF Protocol Assignments RFC 2928
|
||||
2001::/32 TEREDO RFC 4380
|
||||
2001:2::/48 Benchmarking RFC 5180
|
||||
2001:db8::/32 Documentation RFC 3849
|
||||
2001:10::/28 ORCHID RFC 4843
|
||||
2002::/16 [2] 6to4 RFC 3056
|
||||
fc00::/7 Unique-Local RFC 4193
|
||||
fe80::/10 Linked-Scoped Unicast RFC 4291
|
|
@ -95,6 +95,7 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA
|
|||
\lstnewenvironment{txt}{\lstset{style=plaintxt}}{}
|
||||
|
||||
|
||||
|
||||
% Usage:
|
||||
% Enviroment @var cisco
|
||||
\lstnewenvironment{cisco}{\lstset{language=cisco}}{}
|
||||
|
@ -129,3 +130,8 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA
|
|||
|
||||
% Usage:
|
||||
\newcommand{\rfc}[1]{RFC #1\footnote{\href{https://tools.ietf.org/html/rfc#1}{tools.ietf.org/html/rfc#1}}}
|
||||
|
||||
|
||||
% Usage:
|
||||
% https://tex.stackexchange.com/a/75349
|
||||
\newcommand{\plaintextinput}[1]{\lstinputlisting[language={},style=plaintxt]{code/#1.txt}}
|
||||
|
|
Loading…
Reference in a new issue