1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-26 19:27:57 +00:00

Compare commits

..

115 commits

Author SHA1 Message Date
ch e524a3b348 Layer 3: Add initial section for ISIS 2024-10-07 17:36:02 +02:00
ch 26aa1f7edb cheatsheets/packetlife.net: Add Wireshark_Display_Filters.pdf 2024-10-07 17:32:03 +02:00
ch 3d7d656147 cheatsheets/packetlife.net: Add VOIP_Basics.pdf 2024-10-07 17:32:03 +02:00
ch 1219c61655 cheatsheets/packetlife.net: Add VLANs.pdf 2024-10-07 17:32:03 +02:00
ch 3f2cda16b0 cheatsheets/packetlife.net: Add tcpdump.pdf 2024-10-07 17:32:03 +02:00
ch 9c6301093a cheatsheets/packetlife.net: Add Spanning_Tree.pdf 2024-10-07 17:32:02 +02:00
ch a6bab97ae6 cheatsheets/packetlife.net: Add scapy.pdf 2024-10-07 17:32:02 +02:00
ch c0322fc9e8 cheatsheets/packetlife.net: Add RIP.pdf 2024-10-07 17:32:02 +02:00
ch 730b4b503b cheatsheets/packetlife.net: Add QoS.pdf 2024-10-07 17:32:01 +02:00
ch 2eee0d1e6b cheatsheets/packetlife.net: Add PPP.pdf 2024-10-07 17:32:01 +02:00
ch 2cae4c7f76 cheatsheets/packetlife.net: Add physical_terminations.pdf 2024-10-07 17:32:01 +02:00
ch 8984994b56 cheatsheets/packetlife.net: Add OSPF.pdf 2024-10-07 17:32:00 +02:00
ch 80e7aaba5c cheatsheets/packetlife.net: Add NAT.pdf 2024-10-07 17:32:00 +02:00
ch e6cae74279 cheatsheets/packetlife.net: Add MediaWiki.pdf 2024-10-07 17:32:00 +02:00
ch 8bd630292f cheatsheets/packetlife.net: Add Markdown.pdf 2024-10-07 17:31:59 +02:00
ch 7d0d2c81cd cheatsheets/packetlife.net: Add IS-IS.pdf 2024-10-07 17:31:59 +02:00
ch 40dd70308b cheatsheets/packetlife.net: Add IPv6.pdf 2024-10-07 17:31:59 +02:00
ch 7101bfa2d9 cheatsheets/packetlife.net: Add IPv4_Subnetting.pdf 2024-10-07 17:31:58 +02:00
ch eacd9a3bd9 cheatsheets/packetlife.net: Add IPv4_Multicast.pdf 2024-10-07 17:31:58 +02:00
ch b882a2c784 cheatsheets/packetlife.net: Add IPsec.pdf 2024-10-07 17:31:58 +02:00
ch d73ba3dd1e cheatsheets/packetlife.net: Add IOS_Zone-Based_Firewall.pdf 2024-10-07 17:31:58 +02:00
ch 462052272e cheatsheets/packetlife.net: Add IOS_IPv4_Access_Lists.pdf 2024-10-07 17:31:57 +02:00
ch 07163dc7a0 cheatsheets/packetlife.net: Add IOS_Interior_Routing_Protocols.pdf 2024-10-07 17:31:57 +02:00
ch 1079801674 cheatsheets/packetlife.net: Add IEEE_802.1X.pdf 2024-10-07 17:31:57 +02:00
ch 3935e04427 cheatsheets/packetlife.net: Add IEEE_802.11_WLAN.pdf 2024-10-07 17:31:56 +02:00
ch 4eac2b34c1 cheatsheets/packetlife.net: Add Frame_Mode_MPLS.pdf 2024-10-07 17:31:56 +02:00
ch da6045ba52 cheatsheets/packetlife.net: Add First_Hop_Redundancy.pdf 2024-10-07 17:31:56 +02:00
ch d2650d75c3 cheatsheets/packetlife.net: Add EIGRP.pdf 2024-10-07 17:31:55 +02:00
ch 421e2dfe36 cheatsheets/packetlife.net: Add common_ports.pdf 2024-10-07 17:31:55 +02:00
ch 94ee243679 cheatsheets/packetlife.net: Add Cisco_IOS_Versions.pdf 2024-10-07 17:31:55 +02:00
ch ec96705e53 cheatsheets/packetlife.net: Add BGP.pdf 2024-10-07 17:31:48 +02:00
ch 208ec230e7 Structure: Add macro baseconvertpractice 2024-10-07 17:14:11 +02:00
ch f3656191b1 Structure: Resolve issue with Glosseries pacakges 2024-10-07 17:13:24 +02:00
ch 44c19a888f Acronym: Add OSPF2 2024-10-07 17:12:46 +02:00
ch d047e79d63 Merge branch 'linux' into 'main'
Add chapter PiHole: whitelist example, Update Linux: code

See merge request netravnen/NetworkLabNotes!33
2024-09-01 20:04:46 +00:00
netravnen 0a97581157 Add chapter PiHole: whitelist example, Update Linux: code 2024-09-01 22:00:24 +02:00
ch 4d4185f46a Merge branch 'acronyms' into 'main'
Acronyms: OLSR, HSLS

See merge request netravnen/NetworkLabNotes!31
2023-11-08 08:54:10 +00:00
ch 4ed60899fa Acronyms: OLSR, HSLS 2023-11-08 09:53:18 +01:00
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
netravnen 8d2e3f4bbe Update .gitignore 2019-09-12 21:47:54 +02:00
netravnen 5da31ef1c1 Merge branch 'hotfix/name'
* hotfix/name:
  Update name!
2019-08-12 13:21:59 +02:00
netravnen 124b8b0733 Update name! 2019-08-12 13:21:25 +02:00
netravnen 793bcc9c3b Merge branch 'hotfix/mailmap'
* hotfix/mailmap:
  mailmap: fix @-address
2019-02-18 10:27:43 +01:00
netravnen 15a6535c10 mailmap: fix @-address 2019-02-18 10:26:43 +01:00
netravnen 9add76589d Gitignore 2018-07-02 03:15:59 +02:00
netravnen 3b2344d295 Merge branch 'master' into 19-l3-static-routing 2018-02-18 18:01:31 +01:00
netravnen 14738370fb Added line to ensure commits showed as single author when using git shortlog 2018-02-18 17:57:32 +01:00
netravnen b12514b896 Remove cisco from title
Because notes are becoming increasely vendor agnostric
2018-02-18 17:55:23 +01:00
netravnen daf2d5c2bc Change fingerprint to gpg 2018-02-18 17:53:42 +01:00
netravnen 5978579917 Move definition of strings
from frontpage.tex file to main.tex file
2018-02-18 17:51:54 +01:00
netravnen ebf1809b27 citation fix symbol to standard hyphen 2018-02-18 17:51:22 +01:00
netravnen 6d53fb1cc5 Merge branch '24-l3-babel' 2018-02-18 17:08:07 +01:00
netravnen 5f497d8065 new accr hmac 2018-02-18 17:07:37 +01:00
netravnen 8c7f0cba6c babel initial description 2018-02-18 17:05:07 +01:00
netravnen 82379cea67 new accr dsdv 2018-02-18 16:46:31 +01:00
netravnen cee97b1240 new accr aodv 2018-02-18 16:46:17 +01:00
netravnen 4d07e287f4 babel section initial commit 2018-02-18 15:01:48 +01:00
netravnen 16a61d4ad8 Update README.md
Added mirror-2 and changed task lists to use correct lowercase x for
completed tasks.
2018-02-18 13:58:29 +00:00
netravnen 6624af09c9 Update README.md 2018-02-18 13:50:43 +00:00
netravnen 610976b439 Update README.md 2018-02-18 13:49:58 +00:00
netravnen 6c0c9e1d65 Update LICENSE.md
Updated year information
2018-02-18 12:01:23 +00:00
netravnen 4436d66d5a reformat eigrp section 2018-02-18 03:13:11 +01:00
netravnen 37ebac1ba2 Fix changelog formatting 2018-02-18 02:39:45 +01:00
netravnen d6f5ada350 Fixed version number on frontpage 2018-02-18 02:38:10 +01:00
netravnen d30652cb06 Bumped to 0.4.0 2018-02-18 02:33:24 +01:00
netravnen d6bfbe84f7 Update mailmap 2018-02-18 02:28:37 +01:00
netravnen d2aa4d122e Merge branch '17-l3-eigrp' 2018-02-18 02:08:36 +01:00
netravnen 67abdbed7f Minimal description of eigrp route updates filtering 2018-02-18 02:06:50 +01:00
netravnen 89c7d3208c Fix forgotten citation 2018-02-18 01:54:33 +01:00
netravnen 707e48ceed New accronym frr 2018-02-18 01:53:28 +01:00
netravnen 6dd21ac51c Non-Cisco Implementations 2018-02-18 00:23:02 +01:00
netravnen e0dcb68710 Fix title level 2018-02-18 00:04:04 +01:00
netravnen ea98dd650e Merge branch 'PULL_REQUEST_TEMPLATE'
* PULL_REQUEST_TEMPLATE:
  Create PULL_REQUEST_TEMPLATE.md
2017-11-27 06:55:27 +01:00
netravnen 6e283309a7
Create PULL_REQUEST_TEMPLATE.md 2017-11-27 06:46:43 +01:00
netravnen 85ad7f068c Updated CHANGELOG with forgotten release point 0.3.4 2017-11-27 06:36:35 +01:00
netravnen f5524f168b Merge branch 'hidden-release-links' into 'master'
Add hidden release links in changerlog.md

See merge request netravnen/CiscoLabNotes!20
2017-11-26 23:05:12 +00:00
netravnen 1d2b301dd2 Add hidden release links in changerlog.md
* in preparation for future releases.
2017-11-27 00:02:25 +01:00
netravnen a7f9674f8e Changed margin size
Margin 1.5 down to 1.25 cm
Columsep 1.5 down to 1.25 cm
Lendth between textarea and footnotes 2 down to 1.25 cm
2017-11-26 12:16:24 +01:00
netravnen f575cc8ad3 Fix wrong bracket type 2017-11-26 12:08:59 +01:00
netravnen a957716310 Remove non-used '\' 2017-11-26 11:17:04 +01:00
netravnen aed8aba89d Eigrp defaults: changed to use of acronyms inline 2017-10-21 17:11:52 +02:00
netravnen f3b2937d02 New acronym: ipx 2017-10-21 16:36:10 +02:00
netravnen ba19ce7b4c eigrp defaults 2017-10-21 16:32:47 +02:00
netravnen b74d40a943 EIGRP Updates Exchanges added 2017-10-21 16:14:07 +02:00
netravnen 4c7f53df64 New acronym: rtp 2017-10-21 16:13:35 +02:00
netravnen aab11423d6 New acronym: p2p 2017-10-21 16:13:23 +02:00
netravnen bc9792de68 New acronym: sia - stuck in active 2017-10-21 13:53:28 +02:00
netravnen 5107cc02cc eigrp medium network topology 2017-10-21 13:51:49 +02:00
netravnen e81361f0b4 eigrp stuck in active 2017-10-21 13:39:28 +02:00
netravnen 4ad7e145e2 Eigrp stub routing 2017-10-21 13:14:13 +02:00
netravnen 6772cfa4df How Eigrp works 2017-10-21 13:14:04 +02:00
netravnen e19869381e Some LaTeX package comments 2017-09-18 22:39:24 +02:00
netravnen 57f8a3f821 Math behind EIGRP 2017-09-18 22:39:13 +02:00
netravnen d0d3ce8386 Basic EIGRP content 2017-09-18 21:27:32 +02:00
netravnen e5b45b68fa Acronym VLSM 2017-09-18 21:27:13 +02:00
netravnen d43b947082 Acronym DUAL 2017-09-18 21:27:01 +02:00
netravnen adbc9fa838 Fix wrongly generated citing info and table width 2017-09-18 21:26:44 +02:00
netravnen 8709ed652c Pointers for AD for cisco devices 2017-09-18 20:16:02 +02:00
netravnen 03a5d8887f New Table: Routing Protocols Default Administrative Distance 2017-09-18 20:13:31 +02:00
netravnen 6607e0d48e Chapter Layer 3: Insert column breaks 2017-09-18 20:07:52 +02:00
63 changed files with 688 additions and 118 deletions

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
*.gz
*.aux
*.ist
*.acn
*.bbl
*.blg
*.lof
*.synctex(busy)
*.toc
*.out
latexmkrc
/main.*
/*.log
.vscode
.venv

View file

@ -1,4 +1,5 @@
Christoffer <netravnen@gmail.com> <anonymous@overleaf.com>
Christoffer <netravnen@gmail.com> <unknown@example.com>
Christoffer <netravnen@gmail.com> <netravnen@users.noreply.github.com>
Christoffer <netravnen@gmail.com> <zbcchhan11@zbc.dk>
Chriztoffer <chriztoffer@netravnen.de> <anonymous@overleaf.com>
Chriztoffer <chriztoffer@netravnen.de> <unknown@example.com>
Chriztoffer <chriztoffer@netravnen.de> <netravnen@users.noreply.github.com>
Chriztoffer <chriztoffer@netravnen.de> <zbcchhan11@zbc.dk>
Chriztoffer <chriztoffer@netravnen.de> <netravnen@gmail.com>

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

@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
- See commit changelog
## [0.4.0] - 2018-02-18
### Added
- EIGRP chapter
## [0.3.4] - 2017-09-17
### Fix
- Cannot remember what was fixed
## [0.3.3] - 2017-09-15
### Fix
- Table 2: Spanning Tree standards
@ -55,7 +63,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Initial version
- Section: Spanning Tree
[Unreleased]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.3...HEAD
[1.0.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.19.0...v1.0.0
[0.19.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.18.0...v0.19.0
[0.18.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.17.0...v0.18.0
[0.17.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.16.0...v0.17.0
[0.16.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.15.0...v0.16.0
[0.15.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.14.0...v0.15.0
[0.14.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.13.0...v0.14.0
[0.13.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.12.0...v0.13.0
[0.12.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.11.0...v0.12.0
[0.11.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.10.0...v0.11.0
[0.10.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.9.0...v0.10.0
[0.9.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.8.0...v0.9.0
[0.8.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.7.0...v0.8.0
[0.7.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.6.0...v0.7.0
[0.6.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.5.0...v0.6.0
[0.5.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.4.0...v0.5.0
[Unreleased]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.4.0...HEAD
[0.4.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.4...v0.4.0
[0.3.4]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.3...v0.3.4
[0.3.3]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.2...v0.3.3
[0.3.2]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.1...v0.3.2
[0.3.1]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.0...v0.3.1

View file

@ -1,6 +1,6 @@
BSD 3-Clause License
Copyright (c) 2017, Netravnen
Copyright (c) 2017-2018, Netravnen
All rights reserved.
Redistribution and use in source and binary forms, with or without

8
PULL_REQUEST_TEMPLATE.md Normal file
View file

@ -0,0 +1,8 @@
# Merge request
Describe in sub-points to the listed main points:
- New ?
- Changed ?
- Removed ?
Make sure to have read the [contribution guide](CONTRIBUTING.md) in advance

View file

@ -1,7 +1,9 @@
URLs: [Development repository][gitlab], [mirror][github], [mirror][git.data.coop]
# Subjects tryied covered
## Switching
- [X] Spanning Tree
- [x] Spanning Tree
- [ ] SDM Templates
- [ ] PoE
- [ ] LACP
@ -10,9 +12,9 @@
- [ ] vPC (cisco proprietary)
## Routing
- [X] BGP
- [x] BGP
- [ ] ISIS
- [ ] EIGRP (cisco proprietary)
- [x] EIGRP (cisco proprietary)
- [ ] OSPF
- [ ] RIP
- [ ] InterVLAN Routing
@ -59,19 +61,20 @@
- [ ] StackWise
## AAA
- [X] TACACS+ (cisco proprietary)
- [X] RADIUS
- [x] TACACS+ (cisco proprietary)
- [x] RADIUS
## Example configuration snippets
- [ ] SSH
- [X] CDP (cisco proprietary)
- [X] DHCP
- [X] HSRP (cisco proprietary)
- [X] Hardware clock
- [X] LLDP
- [X] NTP
- [X] OSPFv2
- [X] VTY
- [x] CDP (cisco proprietary)
- [x] DHCP
- [x] HSRP (cisco proprietary)
- [x] Hardware clock
- [x] LLDP
- [x] NTP
- [x] OSPFv2
- [x] VTY
[repo-origin]: https://gitlab.com/netravnen/CiscoLabNotes
[repo-mirror]: https://github.com/netravnen/CiscoLabNotes
[gitlab]: https://gitlab.com/NETRAVNEN/NetworkLabNotes
[github]: https://github.com/NETRAVNEN/NetworkLabNotes
[git.data.coop]: https://git.data.coop/NETRAVNEN/NetworkLabNotes/settings

View file

@ -1,4 +1,10 @@
% !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}
\newacronym{arin}{ARIN}{American Registry for Internet Numbers}
\newacronym{arp}{ARP}{Address Resolution Protocol}
@ -31,6 +37,8 @@
\newacronym{dns}{DNS}{Domain Name System}
\newacronym{dns6}{DNSv6}{Domain Name System version 6}
\newacronym{dr}{DR}{Danmarks Radio}
\newacronym{dual}{DUAL}{Diffusing Update Algorithm}
\newacronym{dsdv}{DSDV}{Destination-Sequenced Distance Vector}
\newacronym{dsl}{DSL}{Digital Subscriber Line}
\newacronym{dst}{dst}{destination}
\newacronym{dwdm}{DWDM}{}
@ -46,6 +54,7 @@
\newacronym{fhrp}{FHRP}{First Hop Redundancy Protocol}
\newacronym{fib}{FIB}{Forward Information Base}
\newacronym{fix}{FIX}{Federal Internet Exchange}
\newacronym{frr}{FRR}{Free Range Routing daemon}
\newacronym{fsm}{FSM}{Finite State Machine}
\newacronym{ftp}{FTP}{File Transfer Protocol}
\newacronym{ftps}{FTPS}{File Transfer Protocol Secure}
@ -58,6 +67,8 @@
\newacronym{gprs}{GPRS}{General Packet Radio Service}
\newacronym{gsm}{GSM}{Global System for Mobile communications}
\newacronym{ha}{HA}{High Availability}
\newacronym{hsls}{HSLS}{Hazy-Sighted Link State Protocol}
\newacronym{hmac}{HMAC}{Hashed Message Authentication Code}
\newacronym{hsrp}{HSRP}{Hot-Standby Routing Protocol}
\newacronym{http}{HTTP}{Hypertext Transfer Protocol}
\newacronym{https}{HTTPS}{Hyper Text Transfer Protocol Secure}
@ -78,6 +89,7 @@
\newacronym{ip6}{IPv6}{Internet Protocol version 6}
\newacronym{ipv4}{IPv4}{Internet Protocol version 4}
\newacronym{ipv6}{IPv6}{Internet Protocol version 6}
\newacronym{ipx}{IPX}{Internetwork Packet Exchange}
\newacronym{irc}{IRC}{Internet Relay Chat}
\newacronym{irtf}{IRTF}{Internet Research Task Force}
\newacronym{isis}{IS-IS}{Intermediate System to Intermediate System}
@ -93,6 +105,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}
@ -111,10 +124,13 @@
\newacronym{nsf}{NSF}{Non-stop Forwarding}
\newacronym{nss}{NSS}{National Security Strategy}
\newacronym{ntp}{NTP}{Network Time Protocol}
\newacronym{olsr}{OLSR}{Optimised Link State Routing}
\newacronym{osi}{OSI}{Open Systems Interconnection}
\newacronym{ospf}{OSPF}{Open Shortest Path First}
\newacronym{ospf2}{OSPF}{Open Shortest Path First}
\newacronym{ospf3}{OSPFv3}{Open Shortest Path First v3}
\newacronym{ospfv3}{OSPFv3}{Open Shortest Path First v3}
\newacronym{p2p}{P-2-P}{Point-to-Point}
\newacronym{pagp}{PAgP}{Port Aggregation Protocol}
\newacronym{poe}{PoE}{Power over Ethernet}
\newacronym{poe+}{PoE+}{Power over Ethernet Plus}
@ -140,9 +156,11 @@
\newacronym{rpvst}{RPVST}{Per Vlan Rapid Spanning Tree}
\newacronym{rpvst+}{RPVST+}{Per Vlan Rapid Spanning Tree Plus}
\newacronym{rsvp}{RSVP}{Resource Reservation Protocol}
\newacronym{rtp}{RTP}{Reliable Transport Protocol}
\newacronym{sdm}{SDM}{Security Device Manager}
\newacronym{sdsl}{SDSL}{Symmetric Digital Subscriber Line}
\newacronym{sftp}{SFTP}{Secure Shell File Transfer Protocol}
\newacronym{sia}{SIA}{Stuck in Active}
\newacronym{sla}{SLA}{Service Level Agreement}
\newacronym{slaac}{SLAAC}{Stateless Address Autoconfiguration}
\newacronym{smtp}{SMTP}{Simpe Mail Transfer Protocol}
@ -170,6 +188,7 @@
\newacronym{ula}{ULA}{Unique Local Address}
\newacronym{utc}{UTC}{Coordinated Universal Time}
\newacronym{vlan}{VLAN}{Virtual Local Area Network}
\newacronym{vlsm}{VLSM}{Variable-Length Subnet Masking}
\newacronym{vpn}{VPN}{Virtual Private Network}
\newacronym{vrf}{VRF}{Virtual Routing and Forwarding}
\newacronym{vrrp}{VRRP}{Virtual Router Redundancy Protocol}

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,10 +1,231 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Layer 3}
\section{Routed Network}
\subsection{Administrative Distance}
\begin{table}[]
\centering
\resizebox{\columnwidth}{!}{%
\begin{tabular}{|l|l|}
\hline
\textbf{Routing Protocol} & \textbf{Administrative distance} \\ \hline
Directly connected interface & 0 \\ \hline
Static route out an interface & 1 \\ \hline
Static route to next-hop address & 1 \\ \hline
DMNR - Dynamic Mobile Network Routing & 3 \\ \hline
EIGRP summary route & 5 \\ \hline
External BGP & 20 \\ \hline
Internal EIGRP & 90 \\ \hline
IGRP & 100 \\ \hline
OSPF & 110 \\ \hline
IS-IS & 115 \\ \hline
Routing Information Protocol (RIP) & 120 \\ \hline
Exterior Gateway Protocol (EGP) & 140 \\ \hline
On Demand Routing (ODR) & 160 \\ \hline
External EIGRP & 170 \\ \hline
Internal BGP & 200 \\ \hline
Next Hop Resolution Protocol (NHRP) & 250 \\ \hline
Floating Static Route (ex. DHCP-learned) & 254 \\ \hline
Unknown (Others) & 255 \\ \hline
\end{tabular}%
}
\caption{Cisco default administrative distances}
\label{cisco-default-administrative-distances}
\end{table}
Always remember the following points for Cisco devices:\cite{wiki:Administrative_distance}
\begin{itemize}
\item An administrative distance of 255 will cause the router to remove the route from the routing table and not use it.
\item Since IOS 12.2, the administrative distance of a static route with an exit interface is 1. Prior to the release of 12.2 it was in fact 0.
\item Only the interface itself has an administrative distance of 0, since a route cannot have a distance of less than 1.
\item Directly connected routes have an administrative distance of 0.
\end{itemize}
\newpage
\section{OSPF}
\newpage
\section{IS-IS}
\gls{isis} is the ISO standardized routing protocol. Designed for use by intermediate systems.
\gls{isis} compared to other routing protocols standardized in the \gls{ietf}.
\begin{itemize}
\item Everything is \gls{tlv} based. Making the protocol very extensible by standardizing new \gls{tlv} values.
\item The participating nodes communicates with its neighbors on \gls{l2}. Thereby not \textit{requiring} \gls{l3} addresses on the link. And instead uses the \gls{mac} to target the neighbor node.
\item The connection is done on per-interface. Similar to \gls{ospf3}. Instead of the global approach in \gls{ospf2}.
\begin{itemize}
\item The per-interface is the result of deciding the area is handled per-interface. Instead of at the per-node level.
\item The border between areas is at the node level. Instead of the interface level in \gls{ospf2}.
\end{itemize}
\item Uses its own ethertype of 0x22F4\cite{IEEE802N51:online}.
\begin{itemize}
\item \rfc{6325}.
\end{itemize}
\item Commun
\end{itemize}
\newpage
\section{EIGRP}
\gls{eigrp} is Cisco's enhanced edition if \gls{igrp}. Dating back to 1993 and a
leg for Cisco over other vendors back in the early days of the Internet. (..
hmm. And remember Cisco's implementation of \gls{ospf} was known to be unstable
until the early 2000's.)
The change to \gls{eigrp} from \gls{igrp} was due to the support of classless
routing. (\gls{igrp} only supported classful routing of class A (/8), B (/16),
and C (/24) networks.)
Cisco converted \gls{eigrp} to an open standard back in 2013 with
\rfc{7868}.\cite{wiki:Enhanced_Interior_Gateway_Routing_Protocol}
\gls{eigrp} adds support for \gls{vlsm} and the \gls{dual} with improved routing
capabilities in comparison to \gls{igrp}. Overall \gls{eigrp} provides better
capabilities compared to it's predecessor.
\subsection[Math]{The Math behind}
\fig{math/eigrp-dual-long}{eigrp-dual-long}{\glspl{eigrp} \gls{dual} full
formula}
By default $K_2$, and $K_4$ is set to zero. (The are user customizable!) And
$K_5$ is set to 0.
In effect the resulting shorter formula is this:
\fig{math/eigrp-dual-short}{eigrp-dual-short}{\glspl{eigrp} \gls{dual} short
formula}
\subsection{How it actually works}
\gls{eigrp} does it routing on a \texttt{next-hop} basis. Meaning it only stores
information about a given routes next turn. And \textbf{not} about the
destination itself. (Like \gls{ospf} does)
\subsubsection{Defaults}
\gls{eigrp} runs on Cisco equipment with values of:
\begin{itemize}
\item \itemhead[]{Administrative Distance (Defaults)}
\begin{itemize}
\item Internal: 90
\item External: 180
\item Summary: 5
\end{itemize}
\item \itemhead[]{Timers}
\begin{itemize}
\item Hello: 5s / 60s \footnote{The larger timer value applies at speeds <= T1 circuit bandwidth (a.k.a. lower-than-equal-to 1.544 Mbps)}
\item Hold: 15s / 180s
\end{itemize}
\item \itemhead[]{Supported Protocols}
\begin{itemize}
\item \gls{ip}
\item \gls{ipx}
\item AppleTalk
\end{itemize}
\item \itemhead[]{Other}
\begin{itemize}
\item Type: Distance Vector
\item Algorithm: \gls{dual}
\item Transport: \gls{ip}/88
\item Authentication: MD5
\item Multicast \gls{ipv4}: 224.0.0.10
\item Multicast \gls{ipv6}: <!-- some number -->
\end{itemize}
\end{itemize}
\subsubsection{Tables}
\gls{eigrp} contains three tables for storing route information.
\begin{enumerate}
\item \itemhead[]{Neighbor Table}
\begin{itemize}
\item \textit{Lists \textbf{all} directly connected neighbors}
\item Next-Hop Router(s)
\item Interface(s)
\end{itemize}
\item \itemhead[]{Topology Table}
\begin{itemize}
\item \textit{Lists \textbf{all} learned from \textbf{all} \gls{eigrp} neighbors}
\item Destination
\item Metric
\end{itemize}
\item \itemhead[]{Global Routing Table}
\begin{itemize}
\item \textit{Best routes from \gls{eigrp} topology tabel will be copied to the routing table}
\end{itemize}
\end{enumerate}
\subsection{Stub Routing}
\gls{eigrp} features some different ways to configure routers for specific routing scenarios. \texttt{Stub} routing is one of them.
Stub routing effectively prevents the given stub site/router to be used for transit traffic.
If a router is configured as a \texttt{Stud Router}. It only carries information about \tsq{it}s locally connected routes and a default route back to the transit routers. \tsq{It}s also omitted from being queried about networks is does not advertise. {\small (I.e. The Routes Query Process)}s
\subsection{Updates Exchange}
\begin{enumerate}
\item Routers always exchange full topology table information when neighbor-ship is established.
\item Now refresh of data will be done. Unless topology updates occur.
\item If the topology changes. A partial update about the specific prefix is sent to neighbors.\footnote{Changes includes metric components, link statuses, change in announced topology information.}
\item If a neighbor-ship fail. Then a new adjacency is formed with a full topology exchange is done.
\end{enumerate}
Always remember \gls{eigrp} does split-horizon by default on all active links when exchanging topology updates.
Split-horizon is the \textit{famous} rule about not sending topology updates back to the router who sent the topology update in the first place.
\gls{eigrp} uses \gls{rtp} to send topology updates and confirmation receipts.
On \gls{p2p} interfaces. \gls{eigrp} simply send and ACK back to the sender.
On multi-access interface/segments. \gls{eigrp} sends updates to 224.0.0.10 and receivers reply with a unicast ACK message to the sender.
\subsection[SIA]{Stuck-in-Active}
\gls{eigrp} is known and feared for it being \texttt{Stuck-in-Active} mode when exchanging route updates between routers. The Stuck-in-Active state could cause problems on low end network gear with a low amount of resources available for the routing process. Which in cases could cause the network device to use all available resources when querying neighbor devices for updates.
\fig{eigrp/stuck-in-active}{stuck-in-active}{EIGRP Stuck in Active}
End result is neighbor ships between \gls{eigrp} routers is terminated and re-established again with a fresh set of route updates going out.
Imagine a large \gls{eigrp} topology (3-digit number of routers) in a single domain and beginning with 1 neighbor-ship gets re-established. And then again and again and again. Can result in quickly several routers going Stuck-in-Active because \gls{eigrp} queries are not getting answered within a short time-frame when all routers needs to query \tsq{it}s own neighbors and their neighbors and their neighbors and so forth. Until their are no more neighbors to be queried up and down the hierarchical network topology.
\fig{network/routing}{network-topology}{Medium sized network topology}
\subsection{Non-Cisco Implementations}
This is always a particular point of discussion around \gls{eigrp}. Cisco has released \textit{some} information on how \gls{eigrp} works.
Not \textit{all} information.
And only as \textit{informational} RFCs.
This ensures Cisco \textit{still} has control of the development of the protocol.
Because they have retained ownership by only publishing informational RFCs.
This has been a hindrance for the adoption of \gls{eigrp} in other vendors than Cisco them-self.
Known adoptions of EIGRP includes:
\begin{itemize}
\item \gls{frr} targeted release 4\cite{Frr30-4047:online}
\item Quagga has known works for trying to implement \gls{eigrp}. Still not officially implemented, thou.
\end{itemize}
\subsection{Filtering}
\gls{eigrp} routing updates can of course be filtered in- and outgoing direction on Cisco boxes by using prefix-lists and applying the prefix lists under the \texttt{router eigrp x} process.
\newpage
\section{RIP}
rip is the old routing protocol still existing using nukber-of-hops as the metric to calculate which route to take to the intended destination. This approach can work fine but has a nukber of weaknesses.
@ -13,10 +234,58 @@ rip is the old routing protocol still existing using nukber-of-hops as the metri
3. Has no concept of load sharing traffic between links if the same amount of hops is present amongst the best paths available.
4. Limited to a miximum of 16 hops between source and destination.
\newpage
\subsection{RIPng}
The version of rip supporting ipv6. different to the standard rip in the ng version is using different multicast addresses to communicate on.
\newpage
\section{Babel}
Babel is built on the principles of 1) \gls{dsdv}, 2) \gls{aodv}, and 3)
\gls{eigrp} protocols.
Made for hybrid networks\footnote{network contains wired and wireless links}
and can account for a high level of instability on wireless links.
Babel has been reported to be running stable in unstable wireless networks with
a level of reliability and fast convergence.
\begin{itemize}
\item Loop-avoidance protocol,
\item Uses distributed Bellman-Ford algorithm,
\item \rfc{6126} in 45 pages, \textit{(28 are normative)}
\begin{enumerate}
\item Updates by \rfc{7298} {\scriptsize (The Babel extension
mechanism)}, and
\item \rfc{7557} {\scriptsize (Babel \gls{hmac} Cryptographic
Authentication)}.
\end{enumerate}
\item Highly extensible protocol,\cite{BabelDoe86:online}
\item Supports \gls{ip4} and \gls{ip6}.
\end{itemize}
Babel on \underline{wired} networks uses by default hop-count. Can be
configured to include several values when computing the metrics.
On \underline{wireless} networks Babel should be configured to take into
account factors such as link latency, packet loss, hop-count, and radio
diversity.
\subsection{Protocol support}
Currently the following projects include support for Babel:
\cite{Babel-al30:online}
\begin{itemize}
\item Bird {\footnotesize \url{http://bird.network.cz/}}
\item FRR {\footnotesize \url{https://frrouting.org/}}
\item Pybabel {\footnotesize \url{https://github.com/fingon/pybabel/}}
\item Sbabeld {\footnotesize \url{http://github.com/jech/sbabeld/}}
\end{itemize}
\newpage
\section{Static}
\newpage
@ -61,26 +330,26 @@ Route-maps is used to target a select set of routes and either modify/add/remove
\begin{enumerate}[label={\alph*)}]
\item \Gls{bgp} communities,
\item \Gls{ip} prefix,
\item \Gls{bgp} as-path,
\item \Gls{bgp} as-path,
\end{enumerate}
\end{itemize}
An simple example of using route-maps is
\begin{cisco}
ip prefix-list 1 permit 172.16.0.0/16
ip prefix-list 2 permit 192.168.1.0/24
ip prefix-list 1 permit 172.16.0.0/16
ip prefix-list 2 permit 192.168.1.0/24
!
route-map RED permit 10
match ip address prefix-list 1
route-map RED permit 10
match ip address prefix-list 1
set ip next hop 10.1.1.1
continue 20 ! Continues to apply rules normally only
! applied to prefix-list 2. To apply to
! prefix-list 1, too.
! Any attributes set in '20' will
! override any set during '10'.
route-map RED permit 20
match ip address prefix-list 2
route-map RED permit 20
match ip address prefix-list 2
set ip next hop 10.2.2.2 ! Last rule overrides previous rules from
! previous '10' rule-set.
\end{cisco}

View file

@ -1,34 +1,75 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{Linux}
\section{Kernel Upgrades}
LIST KERNELS ON /boot PARTITION
\begin{txt}
# LIST KERNELS ON /boot PARTITION
dpkg --list | grep linux-image
dpkg --list | grep linux-headers
dpkg --list | grep linux-image
dpkg --list | grep linux-headers
\end{txt}
\begin{txt}
# REMOVE SELECTED KERNEL VERSIONS FROM BOOT PARTITION
sudo apt-get purge linux-image-4.4.0-{75,78,79}
sudo apt-get purge linux-image-extra-4.4.0-{75,78,79}
sudo apt-get purge linux-headers-4.4.0-{75,78,79}
or
sudo apt autoremove [-f]
\end{txt}
REMOVE SELECTED KERNEL VERSIONS FROM BOOT PARTITION
\begin{txt}
# My one-liner to remove old kernels (this also frees up disk space)
# https://askubuntu.com/a/254585
dpkg --list | grep linux-image | awk '{ print \$2 }' | sort -V | sed -n '/'`uname -r`'/q;p' | xargs sudo apt-get -y purge
sudo apt-get purge linux-image-4.4.0-{75,78,79}
sudo apt-get purge linux-image-extra-4.4.0-{75,78,79}
sudo apt-get purge linux-headers-4.4.0-{75,78,79}
\end{txt}
\begin{txt}
# Remember to update grub2 configuration
sudo update-grub2
\end{txt}
or alternatively
\begin{txt}
sudo apt autoremove [-f]
\end{txt}
My one-liner to remove old kernels (this also frees up disk space). https://askubuntu.com/a/254585
\begin{txt}
dpkg --list | grep linux-image | awk '{ print \$2 }' | sort -V | sed -n '/'`uname -r`'/q;p' | xargs sudo apt-get -y purge
\end{txt}
Remember to update grub2 configuration
\begin{txt}
sudo update-grub2
\end{txt}
\newpage
\subsection{Proxmox}
\subsubsection{Proxmox Migrations}
Move a LXC containers storage volumes to a different storage backend, both the boot disk, and additional disks. 1400 is here the example Container ID. And ''tank'' the target storage backend. We need to stop the container before we are allowed to migrate the storage volumes of the container. We start the container back up after finishing migrating the storage volumes.
\begin{txt}
sudo pct stop 1400 && \
sudo pct move-volume 1400 rootfs tank --delete && \
sudo pct move-volume 1400 mp0 tank --delete && \
sudo pct start 1400
\end{txt}
Using Remote Migrate to migrate an LXC container to a different Proxmox Node in another Proxmox Cluster. This is an offline migration, where we turn off the Container when migration. And restarting it with the new bridge setting afterwards. If the IPs have changed. This needs to be updated manually.
\begin{txt}
sudo pct remote-migrate \
$(
sudo pct list |
grep <LOOK FOR A SPECIFIC HOSTNAME> |
grep --perl-regex --only-matching '^\d+'
) \
<TARGET CONTAINER/VM ID> \
'apitoken=PVEAPIToken=<USER>@<METHOD>!<TOKEN NAME>=<TOKEN KEY>,host=<TARGET HOSTNAME OR IP>' \
--delete 1 \
--online 0 \
--restart 1 \
--target-bridge <TARGET BRIDGE NAME> \
--target-storage <TARGET STORAGE NAME>
\end{txt}

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.

26
chapter/pihole.tex Normal file
View file

@ -0,0 +1,26 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = ../main.tex
\chapter{PiHole}
\section{Whitelisting}
\subsection{Zoom Video Conferencing}
\begin{txt}
COMMENT='Zoom Video Conferencing';
pihole -w --comment "${COMMENT}" zoom.us --noreload && \
pihole -w --comment "${COMMENT}" app.zoom.us --noreload && \
pihole -w --comment "${COMMENT}" xmpp.zoom.us --noreload && \
pihole --white-regex --comment "${COMMENT}" '^zoom([\d\w]+)\.(cloud|\w{3})\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^\w{2}\d{1,4}\w{2}\d{1,4}\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^us\d{1,4}web\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^\w{1,4}\d{1,4}\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^\w{2}\d{1,4}\w{1,4}static\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '\.cloud\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^\w+(\d{1,2})?\.\w{2}\.zoom\.us$' --noreload && \
pihole --white-regex --comment "${COMMENT}" '^\w{2}\d{1,3}images\.zoom\.us$'
\end{txt}

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}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,12 +1,10 @@
% !TeX TS-program =
% !TeX spellcheck = en_DK
% !TeX encoding = UTF-8
% !TeX root = main.tex
\DTMsavenow{now}
\title{Networking with switches and routers, automation and IPv4/6}
\def\thesubject{My Notes going along with learning Cisco Networking}
\author{"Netravnen (Gmail) (netravnen@gmail.com)" <netravnen@gmail.com>\\
Fingerprint: C8B3 82A8 A1CD CDB7 71FE B24C C654 948F DA86 BECD}
\def\theversion{v0.3.3}
\date{{\footnotesize Last release \theversion\\%
\texttt{\color{Gray}Generated \utccurrenttime}}}

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
img/network/routing.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View file

@ -1,8 +1,25 @@
% !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
\include{acronyms} % Load acronym list
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Define constants to ensure attribution of work %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\theversion{v0.4.0}
\title{Networking with switches and routers, automation and IPv4/6}
\def\thesubject{My Notes going along with learning Networking}
\author{"Chriztoffer Hansen" <chriztoffer@netravnen.de>\\
GPG: 18DD 23C5 5029 3098 DE07 052A 9DCF 2CA0 08EB D2E8}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% BEGIN DOCUMENT %
@ -35,6 +52,7 @@
\include{chapter/voip}
\include{chapter/baseconf}
\include{chapter/linux}
\include{chapter/pihole}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
@ -69,7 +87,7 @@
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliography{references-books,references-websites,references-wikipedia}
\bibliography{references-books,references-websites,references-wikipedia,references-videos}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %

9
references-videos.bib Normal file
View file

@ -0,0 +1,9 @@
@misc{BabelDoe86:online,
author = {Juliusz Chroboczek},
title = {Babel Doesn't Care + Slides - BattleMeshV8 - YouTube},
howpublished =
{\url{https://www.youtube.com/watch?v=1zMDLVln3XM&t=10s&ab_channel=AdjyLeak}},
month = {August},
year = {2015},
note = {(Accessed on 02/18/2018)}
}

View file

@ -39,4 +39,31 @@
month = "September",
year = "2011",
note = "[Online; accessed on 24-June-2017]"
}
}
@misc{Frr30-4047:online,
author = {Donald Sharp},
title = {Frr 3.0 → 4.0 · FRRouting/frr Wiki},
howpublished = {\url{https://github.com/FRRouting/frr/wiki/Frr-3.0-%E2%86%92-4.0}},
month = {February},
year = {2018},
note = {(Accessed on 02/18/2018)}
}
@misc{Babel-al30:online,
author = {Juliusz Chroboczek},
title = {Babel — a loop-avoiding distance-vector routing protocol},
howpublished = {\url{https://www.irif.fr/~jch/software/babel/}},
month = {},
year = {},
note = {(Accessed on 02/18/2018)}
}
@misc{IEEE802N51:online,
author = {},
title = {IEEE 802 Numbers - https://www.iana.org/},
howpublished = {\url{https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1}},
month = {},
year = {},
note = {(Accessed on 10/01/2024)}
}

View file

@ -96,4 +96,20 @@
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Solicited-node\%20multicast\%20address&oldid=787116453}},
note = "[Online; accessed 19-July-2017]"
}
@misc{ wiki:Administrative_distance,
author = "Wikipedia",
title = "{Administrative distance} --- {W}ikipedia{,} The Free Encyclopedia",
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Administrative\%20distance&oldid=799742717}},
note = "[Online; accessed 18-September-2017]"
}
@misc{ wiki:Enhanced_Interior_Gateway_Routing_Protocol,
author = "Wikipedia",
title = "{Enhanced Interior Gateway Routing Protocol} --- {W}ikipedia{,} The Free Encyclopedia",
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Enhanced\%20Interior\%20Gateway\%20Routing\%20Protocol&oldid=800921738}},
note = "[Online; accessed 18-September-2017]"
}

View file

@ -1,52 +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}
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{graphicx}
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib}
\usepackage{float}
\usepackage{amsmath,amssymb} % math things.
\usepackage{array}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage{wrapfig}
\usepackage{array}
\usepackage{lipsum}
\usepackage{fancybox}
\usepackage{varwidth}
\usepackage{enumitem}
\usepackage{titlepic}
\usepackage[nottoc]{tocbibind}
\usepackage{url}
\usepackage[showisoZ]{datetime2}
\usepackage{transparent}
\usepackage{soul}
\usepackage{caption}
\usepackage{enumitem}
\usepackage{amssymb}
\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{caption}
\usepackage{chngcntr}
\usepackage[toc]{multitoc}
\usepackage{color} % makes custom color codes available.
\usepackage[showisoZ]{datetime2} % more options for time formatting.
\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{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,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
@ -84,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}%
@ -184,7 +183,7 @@
captionpos=t,
showstringspaces=false,
breaklines=true,
breakatwhitespace=true,
breakatwhitespace=true,
}
@ -271,10 +270,41 @@
% 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}}
% https://tex.stackexchange.com/a/146312
\newlist{mylist}{enumerate*}{1}
\setlist[mylist]{label={\alph*)},font={\color{red!25!black}\bfseries}}
% https://cscrunch.com/blog/corey-pennycuff/scripting-latex-create-base-conversion-worksheet
\def\colwidth{.42cm}
\newcommand{\baseconvertpractice}[2]{% number, # to not censor (1-3, or 0 for none)
\renewcommand\arraystretch{2}
\FPeval{\num}{#1}%
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}r|*{8}{>{\centering}p{\colwidth}|}|*{8}{>{\centering}p{\colwidth}|}@{}c@{}} \cline{2-17}%
Decimal & \multicolumn{16}{ r| }{\censorifnotequal{\num}{#2}{1}} &\\ \cline{2-17}%
Binary & \censorifnotequal{\getdigit{\num}{16}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{15}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{14}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{13}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{12}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{11}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{10}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{9}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{8}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{7}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{6}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{5}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{4}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{3}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{2}{2}}{#2}{2} &%
\censorifnotequal{\getdigit{\num}{1}{2}}{#2}{2} &\\ \cline{2-17}%
Hexadecimal & \multicolumn{4}{c|}{\censorifnotequal{\getdigit{\num}{4}{16}}{#2}{3}} &%
\multicolumn{4}{c||}{\censorifnotequal{\getdigit{\num}{3}{16}}{#2}{3}} &%
\multicolumn{4}{c|}{\censorifnotequal{\getdigit{\num}{2}{16}}{#2}{3}} &%
\multicolumn{4}{c|}{\censorifnotequal{\getdigit{\num}{1}{16}}{#2}{3}} &\\ \cline{2-17}%
\end{tabular*}%
}