Compare commits

...

16 Commits

Author SHA1 Message Date
ch 907e7016c8 Merge branch 'changeset-em3emah' into 'main'
Changeset em3emah

See merge request netravnen/NetworkLabNotes!30
2023-10-18 12:59:00 +00:00
ch 20c4b26fba Dir: Rename img/8021X -> img/8021x and update file links 2023-10-18 14:57:45 +02:00
ch b24d7c7151 Packages: Load xcolor before tikzsymbols pkg 2023-10-18 14:56:47 +02:00
ch 2b2efb1a7c Packages: Load glossaries-extra 2023-10-18 14:56:32 +02:00
ch f3917baa5f Packages: Remove dup array pkg 2023-10-18 14:56:18 +02:00
ch d6c4e0f68d Remove end-of-line whitespaces 2023-10-18 14:55:51 +02:00
ch 6ff12941d2 Tex: Add Tex header to chapter and root-dir .tex files 2023-10-18 14:54:50 +02:00
ch 64302cad2c Merge branch 'git-precommit-hooks' into 'main'
hook: Add pre-commit.com config to repo

See merge request netravnen/NetworkLabNotes!29
2023-10-18 09:01:56 +00:00
ch 65a89551b4 hook: Add pre-commit.com config to repo 2023-10-18 11:00:39 +02:00
ch bb23b79407 Merge branch 'package-list-sort' into 'main'
Package list sort

See merge request netravnen/NetworkLabNotes!27
2023-10-18 08:58:49 +00:00
ch c36a5bec8e packages: sort asc 2023-10-18 10:58:28 +02:00
ch a239d34b07 structure.tex: Remove trailing whitespaces 2023-10-18 10:58:10 +02:00
ch 97696127fd Merge branch 'gitignore-venv' into 'main'
gitignore: add .venv

See merge request netravnen/NetworkLabNotes!28
2023-10-18 08:56:25 +00:00
ch 84a198601c gitignore: add .venv 2023-10-18 10:55:39 +02:00
ch 324f57eef7 Merge branch 'acronym-mbh' into 'main'
acronym: add mobile backhaul

See merge request netravnen/NetworkLabNotes!26
2023-10-18 08:04:40 +00:00
netravnen 81f7312f1e acronym: add mobile backhaul 2023-10-18 10:03:31 +02:00
20 changed files with 148 additions and 58 deletions

3
.gitignore vendored
View File

@ -11,4 +11,5 @@
latexmkrc
/main.*
/*.log
.vscode
.vscode
.venv

13
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
#
# To skip hooks on single commit, use --no-verify
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = main.tex
\newacronym{adsl}{ADSL}{Asymmetric Digital Subscriber Line}
\newacronym{aodv}{AODV}{Adhoc On-Demand Distance Vector Routing}
\newacronym{ap}{AP}{Access Point}
@ -99,6 +104,7 @@
\newacronym{lan}{LAN}{Local Area Network}
\newacronym{lldp}{LLDP}{Link Layer Discovery Protocol}
\newacronym{mac}{MAC}{Media Access Control address}
\newacronym{mbh}{MBH}{Mobile Backhaul}
\newacronym{mec}{MEC}{Multichannel Ether-channel}
\newacronym{med}{MED}{Multi-Exit Discriminator}
\newacronym{metdst}{MET-DST}{Middle European Time Daylight Saving Time}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Base Configuration}
\section{Cisco Lab}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter[DHCP]{Dynamic Host Control Protocol}
\section[DHCP Process]{Dynamic Host Control Protocol Process}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter[Internet]{The Internet {\footnotesize "Post cold-war modern times"}}
The internet is a fundamental communication technology for today's modern society. The thing that started as the \Gls{arpanet}\cite{wiki:ARPANET} back in the late nineteen sixties has evolved to become the core of today's globalization on Earth.

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter[IP]{Internet Protocol}
\section[IPv6]{Internet Protocol v6}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{L2 to L3}
\section{Vlan-to-vlan routing}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Layer 2}
\section{Switch Network}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Layer 3}
\section{Routed Network}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Linux}
\section{Kernel Upgrades}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Campus Network}
\section{Discover Nodes}
@ -254,9 +259,9 @@ aaa authentication attempts login 1
aaa authentication login default group TACACS local-case
aaa authentication login console local-case
aaa authentication enable default group TACACS enable
aaa authorization exec default group TACACS local
aaa authorization commands 0 default group TACACS local
aaa authorization commands 15 default group TACACS local
aaa authorization exec default group TACACS local
aaa authorization commands 0 default group TACACS local
aaa authorization commands 15 default group TACACS local
aaa accounting exec default
action-type start-stop
group tacacs+
@ -303,7 +308,7 @@ Cisco switches allow by default only the following 3 protos until the client is
\item The \textbf{authentication server}
\end{itemize}
\fig{8021X/portauth}{portauth}{802.1X Port Auth}
\fig{8021x/portauth}{portauth}{802.1X Port Auth}
802.1X can be enabled on a Cisco switch globally by \cliline{dot1x system-auth-control} and \textit{then} enabled on the switch port{\footnotesize (s)} by \cliline{aaa authentication dot1x}.
@ -492,10 +497,10 @@ Go all the way and do consider if Supervisor Redundancy is a necessary requireme
\subsection[VSS]{Virtual Switch Stacking}
Activating switch stacking means you get a single control plane for all
switches in a \gls{vss} stack. The stack master switch gets to have the active
control plane. With help of \gls{sso} \& \gls{nsf} data + switch fabric is kept
in sync between stack members. This way no communication is lost when failures
Activating switch stacking means you get a single control plane for all
switches in a \gls{vss} stack. The stack master switch gets to have the active
control plane. With help of \gls{sso} \& \gls{nsf} data + switch fabric is kept
in sync between stack members. This way no communication is lost when failures
\textbf{do} happen at some point.
\fig{vss/vss2}{vss2}{How the access layer sees a \gls{vss}}
@ -586,7 +591,7 @@ Remember use of \textbf{pre-emption} when configuring the \gls{hsrp} routers wit
\subsubsection[Blncd]{Load Sharing}
When configuring
When configuring
\newpage

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter[NTP]{Network Time Protocol}
\gls{ntp} is the source of all evil and \gls{sla}. A network wide source of time configuration for all network nodes, servers, clients etc. is necessary.

View File

@ -1 +1,6 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{VoIP}

View File

@ -1 +1,6 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Wireless}

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = main.tex
\DTMsavenow{now}
\date{{\footnotesize Last release \theversion\\%

View File

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

Before

Width:  |  Height:  |  Size: 211 KiB

After

Width:  |  Height:  |  Size: 211 KiB

View File

@ -1,3 +1,8 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = main.tex
% Declare Document Class
\documentclass[a4paper,12pt,twoside,twocolumn,landscape]{book}
\include{structure} % Load structure cfg for document

View File

@ -1,51 +1,51 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = main.tex
% Latex Packages
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{geometry}
\usepackage{listings}
\usepackage{color} % makes custom color codes available.
\usepackage[usenames,dvipsnames,svgnames]{xcolor} % makes custom color codes available.
\usepackage{graphicx}
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib} % used with layout for bibliography section.
\usepackage{float}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{wrapfig}
\usepackage{array}
\usepackage{fancybox} % styling of boxes.
\usepackage{varwidth}
\usepackage{enumitem} % makes available changes to lists.
\usepackage{titlepic}
\usepackage[nottoc]{tocbibind}
\usepackage{url} % cmd \url.
\usepackage[showisoZ]{datetime2} % more options for time formatting.
\usepackage{transparent}
\usepackage{soul}
\usepackage{caption}
\usepackage{tikzsymbols} % http://ctan.math.utah.edu/ctan/tex-archive/graphics/pgf/contrib/tikzsymbols/tikzsymbols.pdf
\usepackage{textcomp}
\usepackage{parskip}
\usepackage{fourier}
\usepackage{array}
\usepackage{makecell}
\usepackage{inconsolata}
\usepackage{blindtext}
\usepackage{expdlist}
\usepackage{epigraph} % used to style quotes
\usepackage{titling} % makes available \thetitle \theauthor \thedate
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{chngcntr}
\usepackage[toc]{multitoc}
\usepackage{dblfnote} % https://tex.stackexchange.com/a/8180
\usepackage[unicode=false,
colorlinks=true,
linkcolor=darkgray,
citecolor=darkgray,
filecolor=darkgray,
urlcolor=darkgray]{hyperref} % https://en.wikibooks.org/wiki/LaTeX/Hyperlinks
\usepackage{amsmath,amssymb} % math things.
\usepackage{array}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{caption}
\usepackage{chngcntr}
\usepackage{color} % makes custom color codes available.
\usepackage[showisoZ]{datetime2} % more options for time formatting.
\usepackage{dblfnote} % https://tex.stackexchange.com/a/8180
\usepackage{enumitem} % makes available changes to lists.
\usepackage{epigraph} % used to style quotes
\usepackage{expdlist}
\usepackage{fancybox} % styling of boxes.
\usepackage{fancyhdr}
\usepackage{float}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{geometry}
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{glossaries-extra}
\usepackage{graphicx}
\usepackage[unicode=false,colorlinks=true,linkcolor=darkgray,citecolor=darkgray,filecolor=darkgray,urlcolor=darkgray]{hyperref} % https://en.wikibooks.org/wiki/LaTeX/Hyperlinks
\usepackage{inconsolata}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\usepackage{listings}
\usepackage{lmodern}
\usepackage{makecell}
\usepackage[toc]{multitoc}
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib} % used with layout for bibliography section.
\usepackage{parskip}
\usepackage{soul}
\usepackage{textcomp}
\usepackage[usenames,dvipsnames,svgnames]{xcolor} % makes custom color codes available. MUST for some reason be above tikzsymbols.
\usepackage{tikzsymbols} % http://ctan.math.utah.edu/ctan/tex-archive/graphics/pgf/contrib/tikzsymbols/tikzsymbols.pdf
\usepackage{titlepic}
\usepackage{titling} % makes available \thetitle \theauthor \thedate
\usepackage[nottoc]{tocbibind}
\usepackage{transparent}
\usepackage{url} % cmd \url.
\usepackage{varwidth}
\usepackage{wrapfig}
\renewcommand*{\multicolumntoc}{3} % https://tex.stackexchange.com/a/6455
@ -83,7 +83,7 @@
% You are not expected to understand this.
\renewcommand*{\sectionmark}[1]{ \markright{\thesection\ ##1} }%
\renewcommand*{\chaptermark}[1]{ \markboth{\chaptername\ \thechapter: ##1}{} }%
% Increase the length of the header such that the folios
% Increase the length of the header such that the folios
% (typography jargon for page numbers) move into the margin
\fancyhfoffset[LE]{6mm}% slightly less than 0.25in
\fancyhfoffset[RO]{6mm}%
@ -183,7 +183,7 @@
captionpos=t,
showstringspaces=false,
breaklines=true,
breakatwhitespace=true,
breakatwhitespace=true,
}
@ -270,7 +270,7 @@
% https://tex.stackexchange.com/a/141975
\let\origfootnote\footnote % font size of footnotes; changes \footnotesize command only inside footnotes!
\renewcommand{\footnote}[1]{%
\renewcommand\footnotesize\scriptsize % here there is scriptsize in footnotes (example)
\renewcommand\footnotesize\scriptsize % here there is scriptsize in footnotes (example)
\origfootnote{#1}}