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

Merge branch 'master' into 1-bgp-section

This commit is contained in:
netravnen 2017-08-19 11:02:10 +02:00
commit 092cb255ab
22 changed files with 304 additions and 36 deletions

View file

@ -1,3 +1,4 @@
chhan11 <zbcchhan11@zbc.dk> <netravnen@gmail.com> Christoffer <netravnen@gmail.com> <anonymous@overleaf.com>
chhan11 <zbcchhan11@zbc.dk> <anonymous@overleaf.com> Christoffer <netravnen@gmail.com> <unknown@example.com>
chhan11 <zbcchhan11@zbc.dk> <unknown@example.com> Christoffer <netravnen@gmail.com> <netravnen@users.noreply.github.com>
Christoffer <netravnen@gmail.com> <zbcchhan11@zbc.dk>

View file

@ -13,6 +13,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- GLBP - GLBP
- VRRP - VRRP
## [0.4.0] - 2017-xx-xx
### Added
- Section bout IPv6
## [0.3.1] - 2017-07-19
## Removed
- Removed suporvisor from frontpage
## [0.3.0] - 2017-06-06 ## [0.3.0] - 2017-06-06
### Added ### Added
- DORA sentence to DCHP section - DORA sentence to DCHP section
@ -49,7 +57,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Initial version - Initial version
- Section: Spanning Tree - Section: Spanning Tree
[Unreleased]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.0...HEAD [Unreleased]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.4.0...HEAD
[0.4.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.1...v0.4.0
[0.3.1]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.0...v0.3.1
[0.3.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.2...v0.3.0 [0.3.0]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.2...v0.3.0
[0.2.2]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.1...v0.2.2 [0.2.2]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.1...v0.2.2
[0.2.1]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.0...v0.2.1 [0.2.1]: https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.2.0...v0.2.1

View file

@ -1,6 +1,6 @@
[![GitHub tag](https://img.shields.io/github/tag/netravnen/CiscoLabNotes.svg)](https://gitlab.com/netravnen/CiscoLabNotes) [![GitHub tag](https://img.shields.io/github/tag/netravnen/CiscoLabNotes.svg)](https://gitlab.com/netravnen/CiscoLabNotes)
[![license](https://img.shields.io/github/license/netravnen/CiscoLabNotes.svg)](https://gitlab.com/netravnen/CiscoLabNotes/blob/master/LICENSE.md) [![license](https://img.shields.io/github/license/netravnen/CiscoLabNotes.svg)](https://gitlab.com/netravnen/CiscoLabNotes/blob/master/LICENSE.md)
[![GitHub commits](https://img.shields.io/github/commits-since/netravnen/CiscoLabNotes/v0.3.0.svg)](https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.3.0...HEAD) [![GitHub commits](https://img.shields.io/github/commits-since/netravnen/CiscoLabNotes/v0.4.0.svg)](https://gitlab.com/netravnen/CiscoLabNotes/compare/v0.4.0...HEAD)
# URLs # URLs
- [Gitlab][repo-origin] - [Gitlab][repo-origin]

View file

@ -23,10 +23,13 @@
\newacronym{cix}{CIX}{Commercial Internet Exchange} \newacronym{cix}{CIX}{Commercial Internet Exchange}
\newacronym{cph}{CPH}{Copenhagen} \newacronym{cph}{CPH}{Copenhagen}
\newacronym{cwdm}{CWDM}{} \newacronym{cwdm}{CWDM}{}
\newacronym{dad}{DAD}{Duplicate Address Detection}
\newacronym{db}{DB}{Database} \newacronym{db}{DB}{Database}
\newacronym{dhcp}{DHCP}{Dynamic Host Control Protocol} \newacronym{dhcp}{DHCP}{Dynamic Host Control Protocol}
\newacronym{dhcp6}{DHCPv6}{Dynamic Host Control Protocol version 6}
\newacronym{dknog}{DKNOG}{Danish Network Operators' Group} \newacronym{dknog}{DKNOG}{Danish Network Operators' Group}
\newacronym{dns}{DNS}{Domain Name System} \newacronym{dns}{DNS}{Domain Name System}
\newacronym{dns6}{DNSv6}{Domain Name System version 6}
\newacronym{dr}{DR}{Danmarks Radio} \newacronym{dr}{DR}{Danmarks Radio}
\newacronym{dsl}{DSL}{Digital Subscriber Line} \newacronym{dsl}{DSL}{Digital Subscriber Line}
\newacronym{dst}{dst}{destination} \newacronym{dst}{dst}{destination}
@ -62,6 +65,8 @@
\newacronym{iana}{IANA}{Internet Assigned Numbers Authority} \newacronym{iana}{IANA}{Internet Assigned Numbers Authority}
\newacronym{ibgp}{iBGP}{Internal Border Gateway Protocol} \newacronym{ibgp}{iBGP}{Internal Border Gateway Protocol}
\newacronym{icann}{ICANN}{Internet Corporation for Assigned Names and Numbers} \newacronym{icann}{ICANN}{Internet Corporation for Assigned Names and Numbers}
\newacronym{icmp}{ICMP}{Internet Control Message Protocoll}
\newacronym{icmp6}{ICMPv6}{Internet Control Message Protocol version 6}
\newacronym{ieee}{IEEE}{Institute of Electrical and Electronics Engineers} \newacronym{ieee}{IEEE}{Institute of Electrical and Electronics Engineers}
\newacronym{ietf}{IETF}{Internet Engineering Task Force} \newacronym{ietf}{IETF}{Internet Engineering Task Force}
\newacronym{igp}{IGP}{Interior Gateway Protocol} \newacronym{igp}{IGP}{Interior Gateway Protocol}
@ -69,10 +74,10 @@
\newacronym{imap}{IMAP}{Internet Message Access Protocol} \newacronym{imap}{IMAP}{Internet Message Access Protocol}
\newacronym{ios}{IOS}{Internetwork Operating System} \newacronym{ios}{IOS}{Internetwork Operating System}
\newacronym{ip}{IP}{Internet Protocol} \newacronym{ip}{IP}{Internet Protocol}
\newacronym{ip4}{IPv4}{Internet Protocol v4} \newacronym{ip4}{IPv4}{Internet Protocol version 4}
\newacronym{ip6}{IPv6}{Internet Protocol v6} \newacronym{ip6}{IPv6}{Internet Protocol version 6}
\newacronym{ipv4}{IPv4}{Internet Protocol v4} \newacronym{ipv4}{IPv4}{Internet Protocol version 4}
\newacronym{ipv6}{IPv6}{Internet Protocol v6} \newacronym{ipv6}{IPv6}{Internet Protocol version 6}
\newacronym{irc}{IRC}{Internet Relay Chat} \newacronym{irc}{IRC}{Internet Relay Chat}
\newacronym{irtf}{IRTF}{Internet Research Task Force} \newacronym{irtf}{IRTF}{Internet Research Task Force}
\newacronym{isis}{IS-IS}{Intermediate System to Intermediate System} \newacronym{isis}{IS-IS}{Intermediate System to Intermediate System}
@ -93,11 +98,13 @@
\newacronym{metdst}{MET-DST}{Middle European Time Daylight Saving Time} \newacronym{metdst}{MET-DST}{Middle European Time Daylight Saving Time}
\newacronym{mit}{MIT}{Massachusetts Institute of Technology} \newacronym{mit}{MIT}{Massachusetts Institute of Technology}
\newacronym{mhsrp}{MHSRP}{Multigroup Hot-Standby Routing Protocol} \newacronym{mhsrp}{MHSRP}{Multigroup Hot-Standby Routing Protocol}
\newacronym{mkc}{MKC}{Mikkel Kr\char"00F8ll}
\newacronym{mpls}{MPLS}{Multiprotocol Label Switching} \newacronym{mpls}{MPLS}{Multiprotocol Label Switching}
\newacronym{msg}{msg}{message} \newacronym{msg}{msg}{message}
\newacronym{mst}{MST}{Multiple Spanning Tree} \newacronym{mst}{MST}{Multiple Spanning Tree}
\newacronym{nac}{NAC}{Network Admission Control} \newacronym{nac}{NAC}{Network Admission Control}
\newacronym{nat}{NAT}{Network Address Translation}
\newacronym{nd}{ND}{Neighbor Discovery}
\newacronym{nic}{NIC}{Network Interface Card}
\newacronym{nlri}{NLRI}{Network Layer Reachability Information} \newacronym{nlri}{NLRI}{Network Layer Reachability Information}
\newacronym{nms}{NMS}{Network Management Software} \newacronym{nms}{NMS}{Network Management Software}
\newacronym{nsa}{NSA}{National Security Agency} \newacronym{nsa}{NSA}{National Security Agency}
@ -137,6 +144,7 @@
\newacronym{sdsl}{SDSL}{Symmetric Digital Subscriber Line} \newacronym{sdsl}{SDSL}{Symmetric Digital Subscriber Line}
\newacronym{sftp}{SFTP}{Secure Shell File Transfer Protocol} \newacronym{sftp}{SFTP}{Secure Shell File Transfer Protocol}
\newacronym{sla}{SLA}{Service Level Agreement} \newacronym{sla}{SLA}{Service Level Agreement}
\newacronym{slaac}{SLAAC}{Stateless Address Autoconfiguration}
\newacronym{smtp}{SMTP}{Simpe Mail Transfer Protocol} \newacronym{smtp}{SMTP}{Simpe Mail Transfer Protocol}
\newacronym{snmp}{SNMP}{Simple Network Management Protocol} \newacronym{snmp}{SNMP}{Simple Network Management Protocol}
\newacronym{sntp}{SNTP}{Secure Network Time Protocol} \newacronym{sntp}{SNTP}{Secure Network Time Protocol}
@ -159,6 +167,7 @@
\newacronym{ttl}{TTL}{Time-to-live} \newacronym{ttl}{TTL}{Time-to-live}
\newacronym{udld}{UDLD}{Unidirectional Link Detection} \newacronym{udld}{UDLD}{Unidirectional Link Detection}
\newacronym{udp}{UDP}{User Datagram Protocol} \newacronym{udp}{UDP}{User Datagram Protocol}
\newacronym{ula}{ULA}{Unique Local Address}
\newacronym{utc}{UTC}{Coordinated Universal Time} \newacronym{utc}{UTC}{Coordinated Universal Time}
\newacronym{vlan}{VLAN}{Virtual Local Area Network} \newacronym{vlan}{VLAN}{Virtual Local Area Network}
\newacronym{vpn}{VPN}{Virtual Private Network} \newacronym{vpn}{VPN}{Virtual Private Network}

146
chapter/ip.tex Normal file
View file

@ -0,0 +1,146 @@
\chapter[IP]{Internet Protocol}
\section[IPv6]{Internet Protocol v6}
\gls{ipv6} has recently been defined in an updated \rfc{8200} which obsoletes several of the older \gls{rfc} documents regarding \gls{ipv6}.
\gls{ipv6} came about in 1998 when the original \rfc{2460} was published. It aims to provide globally route-able addresses (i.e. no need for \gls{nat}) and provides a hierarchical way to allocate address prefixes in a way which makes it simple to do route aggregation.\footnote{This helps limits the size of the Internet's global routing table!}\cite{wiki:IPv6}
\wikicommons[An illustration of an example IPv6 address with leading zeros in the binary rendering]{ipv6_address_leading_zeros}
\subsection{IP to client}
Several ways to assign a client an address exists.
\begin{itemize}
\item Let the client handle it itself (i.e. \gls{dhcp} server present): \gls{slaac}.
\begin{itemize}
\item \gls{icmp6} router discovery messages is used to detect info 'bout the connected network segment.
\item Upon \textit{link up} client sends link-local solicitation multicast req. for network parameters,
\item router \textit{responds with} router adv. packet cont. \gls{ip} cfg parameters.
\end{itemize}
\item Let the \gls{dhcp} server assign \textit{partial} info to the client.
\item Let the \gls{dhcp} server assign \textit{every} info to the client.
\end{itemize}
\textbf{Privacy} is a large concern regarding \gls{ipv6} because of the globally unique address the client posses.
Implementation to do privacy regarding the host bits of an \gls{ip6} has been done to protect the clients (and users) from being tracked. Alas, if the \gls{isp} do static prefix assignments to end users. This privacy protection may be somewhat unusable. As the network prefix will always remain the same. Regardless of the host-bits being changed often.
Have 3 different forms:
\begin{enumerate}
\item \texttt{2001:0db8:0000:0000:0000:ff00:0042:8329},
\item \texttt{2001:db8:0:0:0:ff00:42:8329}, {\footnotesize (i.e. remove leading zeroes per group delimited by colon)}
\item \texttt{2001:db8::ff00:42:8329}. {\footnotesize (i.e. remove groups containing all zeroes in succession after each other) (only done \textit{once!}}
\end{enumerate}
\subsection{Packet Headers}\cite{IPv6Pack77:online}
\wikicommons{ipv6_header}
\begin{enumerate}
\item \textbf{Version} -- 1-byte field containing '6'.
\item \textbf{Traffic Class} -- 2-bytes hex notation for traffic class.
\item \textbf{Flow label} -- 5-bytes.
\item \textbf{Payload length} -- 4-bytes unsigned integer, which is the rest of the packet that follows the IPv6 header, in octets.
\item \textbf{Next header} -- 4-bytes selector. Identifies the type of header that immediately follows the IPv6 header. Uses the same values as the IPv4 protocol field.
\item \textbf{Hop limit} -- 32-bytes unsigned integer. Decremented by one by each node that forwards the packet. The packet is discarded if the hop limit is decremented to zero.
\item \textbf{Source address} -- 32-bytes.
\item \textbf{Destination address} -- 32-bytes. The intended recipient is not necessarily the recipient if an optional routing header is present.
\end{enumerate}
\subsection[EH]{Extension Headers}\cite{IPv6Pack77:online}
\begin{enumerate}
\item \textbf{Routing} -- Extended routing, such as IPv4 loose source route
\item \textbf{Fragmentation} -- Fragmentation and reassembly
\item \textbf{Authentication} -- Integrity and authentication, and security
\item \textbf{Encapsulating Security Payload} -- Confidentiality
\item \textbf{Hop-by-Hop options} -- Special options that require hop-by-hop processing
\item \textbf{Destination options} -- Optional information to be examined by the destination node
\end{enumerate}
\subsection{Address Types}
\subsubsection{Link-Local}
\begin{itemize}
\item Address assigned from the \texttt{fe80::/10} prefix.
\item Either derived with the EUI-64\footnote{The EUI-64 involves the MAC address and injecting fffe into the middle making it 64 bits and using this as host bits} method or randomly selected. Then assigned after \gls{dad} has been run on the network segment.
\item \itemhead[]{Unique Link Local}\cite{wiki:Unique_local_address}
\begin{itemize}
\item Defined as block \texttt{fc00::/7}. See \rfc{4193}.
\item \gls{ula} is \glspl{ip6} counter-part to \glspl{ip4} \rfc{1918} address space.
\item Only usable within a private network.
\item Divided into 2 /8 \gls{ip6} blocks.
\begin{enumerate}
\item \texttt{fc00::/8} -- Not \textit{yet} officially allocated/defined by the \gls{ietf}.
\item \texttt{fd00::/8} -- Defined as /48 prefixes. The last 40 bits is randomly generated and appended to the first 8 significant bits {\small (i.e. \texttt{0xFD} aka. \texttt{11111101})}.
\end{enumerate}
\end{itemize}
\item \itemhead[]{Solicited-node multicast address}\cite{wiki:Solicited-node_multicast_address}
\begin{itemize}
\item Consist of the prefix \texttt{ff02::1:ff00:0/104} for the first 104 bits.
\item The last 24 bits represents the target address within the prefix.
\item Solicited-node multicast address is segment only traffic. I.e. the traffic does not flow \textit{between} \gls{l3} \gls{ip} segments.
\item Used in combination with \gls{nd} to replace \glspl{ip4} \gls{arp} functionality.
\end{itemize}
\end{itemize}
\subsubsection{Global Addressing}
\begin{itemize}
\item Address types
\begin{itemize}
\item Unicast: Identifies each \gls{nic}.
\item Anycast: Identifies a group of \glspl{nic} belonging to the same group and providing the same services/content/applications. Nearest one to source is used.
\item Multicast: Used to deliver content to multiple \glspl{nic} at once. Traffic is a single flow from the source (i.e. not multiple unicast streams).
\item Broadcast: \textit{Not} implemented. Replaced by use of multicast groups.
\end{itemize}
\end{itemize}
\subsubsection{Multicast}
\begin{itemize}
\item Address format:\cite{IPv6Addr96:online}
\begin{enumerate}
\item \texttt{8-bits: 1111 1111} -- Identifies the address as multicast.
\item \texttt{4-bits: FLGS} -- Set of 4 flags.
\begin{enumerate}
\item \texttt{0}: Must be zero.
\item \texttt{0}: Must be zero.
\item \texttt{P}: Can be either '1' or '0'.
\begin{itemize}
\item \texttt{0} -- Multicast address that is \textit{not} assigned based on the network prefix.
\item \texttt{1} -- Multicast address that \textit{is} assigned based on the network prefix.
\end{itemize}
\item \texttt{T}: If the P-flag is '1'. T-flag must be '1', too.
\end{enumerate}
\item \texttt{4-bits: SCOP}
\item \texttt{8-bits: Reserved} -- Reserved value of zero.\footnote{Yet to make sense for me...}
\item \texttt{8-bits: Plen} -- Number of bits in the site prefix that identify the subnet, for a multicast address that is assigned based on a site prefix.
\item \texttt{64-bits: Network prefix}
\item \texttt{32-bits: Group ID} -- Identifier for the multicast group, either permanent or dynamic
\end{enumerate}
\end{itemize}
\subsubsection[Teredo]{Teredo addressing \& tunneling}
ip6 has a feature of being able to route by use of teredo tunnels over ip4 addresses. So that clients supporting ip6 on either end, but not the fabric in the middle. Can append the ip4 ip to a special ip6 prefix also called teredo tunneling run ip traffic across ip4.
\subsection{AAAA}
\gls{dns6} had 2 running proposals when first proposed, \rfc{2874} (1st), \rfc{3364} (later discussion), and \rfc{3363} thou deprecated this proposal to experimental status.
The winning one was \rfc{3596} with the idea of doing \textit{quad}-A records and hierarchically divided by \textit{nibble} {\small (i.e. 4 bits)}.
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.}
\subsection{Addresses}
\plaintextinput{ipaddressblocks6}
\section[IPv4]{Internet Protocol v4}
\subsection{Addresses}
\plaintextinput{ipaddressblocks}

View file

@ -17,6 +17,7 @@ Of course you can \textit{disable} \gls{vtp} altogether.
Key things to be aware of \textit{before} enabling \gls{vtp} in your environment is to make double sure of only having 1 \gls{vtp} domain. \textbf{If} 2 or more \gls{vtp} domains exists. Be triple sure to separate them! As to avoid having an \gls{vtp} server \gls{db} overridden with data from another \gls{vtp} domain. Key things to be aware of \textit{before} enabling \gls{vtp} in your environment is to make double sure of only having 1 \gls{vtp} domain. \textbf{If} 2 or more \gls{vtp} domains exists. Be triple sure to separate them! As to avoid having an \gls{vtp} server \gls{db} overridden with data from another \gls{vtp} domain.
The three \gls{vtp} modes \textit{operates} as follow The three \gls{vtp} modes \textit{operates} as follow
\begin{itemize} \begin{itemize}
\item Transparent \item Transparent
\begin{itemize} \begin{itemize}

View file

@ -30,11 +30,11 @@ Currently based upon \rfc{4271} with updates following in \rfc{6286} \rfc{6608},
\begin{itemize} \begin{itemize}
\item Routes can be aggregated between \glspl{as}. \item Routes can be aggregated between \glspl{as}.
\item Properties can be changed on the fly by mathing \item Properties can be changed on the fly by mathing
\begin{mylist} \begin{enumerate}[label={\alph*)}]
\item \gls{bgp} communities, \item \Gls{bgp} communities,
\item \gls{ip} prefix, \item \Gls{ip} prefix,
\item \gls{bgp} as-path, \item \Gls{bgp} as-path,
\end{mylist} \end{enumerate}
\end{itemize} \end{itemize}
\end{itemize} \end{itemize}
\item \itemhead{States} \item \itemhead{States}

34
chapter/linux.tex Normal file
View file

@ -0,0 +1,34 @@
\chapter{Linux}
\section{Kernel Upgrades}
\begin{txt}
# LIST KERNELS ON /boot PARTITION
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}
\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
\end{txt}
\begin{txt}
# Remember to update grub2 configuration
sudo update-grub2
\end{txt}

View file

@ -2,8 +2,9 @@ ntp logging
ntp authentication-key 1999 md5 1999 ntp authentication-key 1999 md5 1999
ntp authenticate ntp authenticate
ntp trusted-key 1999 ntp trusted-key 1999
ntp source Vlan199 ntp source lo0
ntp server 10.10.199.2 version 3 prefer source Vlan199 key 1999 ntp server 213.0.113.2 version 3 prefer source lo0 key 1999
ntp peer 213.0.113.1 version 3 prefer source lo0 key 1999
! !
key chain 1999 key chain 1999
key 1999 key 1999

View file

@ -1,4 +1,17 @@
ip ssh logging events ip ssh authentication-retries 3
ip ssh version 2
ip ssh dh min size 2048 ip ssh dh min size 2048
ip ssh dscp 56 ip ssh dscp 56
ip ssh logging events
ip ssh source-interface lo0
ip ssh time-out 10
ip ssh version 2
!
username cisco privilege 15 noescape user-maxlinks 1 secret 0 cisco
!
line vty 0 15
exec-timeout 60 0
password cisco
logging synchronous
login local
transport preferred none
transport input telnet ssh

View file

@ -20,16 +20,3 @@ Address Block Present Use Reference
240.0.0.0/4 Reserved for Future Use RFC 1112, Section 4 240.0.0.0/4 Reserved for Future Use RFC 1112, Section 4
255.255.255.255/32 Limited Broadcast RFC 0919, Section 7 255.255.255.255/32 Limited Broadcast RFC 0919, Section 7
RFC 0922, 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
View 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

View file

@ -95,6 +95,7 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA
\lstnewenvironment{txt}{\lstset{style=plaintxt}}{} \lstnewenvironment{txt}{\lstset{style=plaintxt}}{}
% Usage: % Usage:
% Enviroment @var cisco % Enviroment @var cisco
\lstnewenvironment{cisco}{\lstset{language=cisco}}{} \lstnewenvironment{cisco}{\lstset{language=cisco}}{}
@ -134,3 +135,8 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA
% Usage: \note{<text>} or \nb{<text>} % Usage: \note{<text>} or \nb{<text>}
\newcommand{\note}[1]{{\color{Mahogany!20!black}{\small(#1)}}} \newcommand{\note}[1]{{\color{Mahogany!20!black}{\small(#1)}}}
\newcommand{\nb}[1]{\note{#1}} \newcommand{\nb}[1]{\note{#1}}
% Usage:
% https://tex.stackexchange.com/a/75349
\newcommand{\plaintextinput}[1]{\lstinputlisting[language={},style=plaintxt]{code/#1.txt}}

View file

@ -1,13 +1,13 @@
\DTMsavenow{now} \DTMsavenow{now}
\title{r17dinh409} \title{Networking with switches and routers, automation and IPv4/6}
\def\thesubject{My Notes going along with learning Cisco Networking} \def\thesubject{My Notes going along with learning Cisco Networking}
\def\theinstitution{ZBC} \def\theinstitution{ZBC}
\author{chhan11 <zbcchhan11 at zbc.dk>} \author{chhan11 <zbcchhan11 at zbc.dk>}
\def\thesupervisor{Teacher Mikkel \textsc{Kr\char"00F8ll}} \def\thesupervisor{none}
\def\theversion{v0.3.0} \def\theversion{v0.4.0}
\date{{\footnotesize Last release \theversion\\% \date{{\footnotesize Last release \theversion\\%
\texttt{\color{Gray}Generated \utccurrenttime}}} \texttt{\color{Gray}Generated \utccurrenttime}}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
img/xkcd/refresh_types.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -23,6 +23,7 @@
% % % %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{chapter/ip}
\include{chapter/layer2} \include{chapter/layer2}
\include{chapter/l2tol3} \include{chapter/l2tol3}
\include{chapter/layer3} \include{chapter/layer3}
@ -33,6 +34,7 @@
\include{chapter/wireless} \include{chapter/wireless}
\include{chapter/voip} \include{chapter/voip}
\include{chapter/baseconf} \include{chapter/baseconf}
\include{chapter/linux}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % %

View file

@ -14,6 +14,24 @@
note = "[Online; accessed 17-June-2017]" note = "[Online; accessed 17-June-2017]"
} }
@misc{IPv6Pack77:online,
author = {Oracle},
title = {IPv6 Packet Header Format - System Administration Guide: IP Services},
howpublished = {\url{http://docs.oracle.com/cd/E23823_01/html/816-4554/ipv6-ref-2.html}},
month = {},
year = {2010},
note = {(Accessed on 07/23/2017)}
}
@misc{IPv6Addr96:online,
author = {Oracle},
title = {IPv6 Addressing Formats Beyond the Basics - System Administration Guide: IP Services},
howpublished = {\url{http://docs.oracle.com/cd/E23823_01/html/816-4554/ipv6-ref-77.html#ipv6-overview-201}},
month = {},
year = {2010},
note = {(Accessed on 07/23/2017)}
}
@misc{ Differen15:online, @misc{ Differen15:online,
author = {\url{http://www.differencebetween.com/author/root/}{Andrew}}, author = {\url{http://www.differencebetween.com/author/root/}{Andrew}},
title = "Difference Between EBGP and IBGP", title = "Difference Between EBGP and IBGP",

View file

@ -73,3 +73,27 @@
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Border\%20Gateway\%20Protocol&oldid=785954244}}, howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Border\%20Gateway\%20Protocol&oldid=785954244}},
note = "[Online; accessed 18-June-2017]" note = "[Online; accessed 18-June-2017]"
} }
@misc{ wiki:IPv6,
author = "Wikipedia",
title = "{IPv6} --- {W}ikipedia{,} The Free Encyclopedia",
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=IPv6&oldid=790986104}},
note = "[Online; accessed 18-July-2017]"
}
@misc{ wiki:Unique_local_address,
author = "Wikipedia",
title = "{Unique local address} --- {W}ikipedia{,} The Free Encyclopedia",
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Unique\%20local\%20address&oldid=791265343}},
note = "[Online; accessed 19-July-2017]"
}
@misc{ wiki:Solicited-node_multicast_address,
author = "Wikipedia",
title = "{Solicited-node multicast address} --- {W}ikipedia{,} The Free Encyclopedia",
year = "2017",
howpublished = {\url{http://en.wikipedia.org/w/index.php?title=Solicited-node\%20multicast\%20address&oldid=787116453}},
note = "[Online; accessed 19-July-2017]"
}

View file

@ -40,6 +40,7 @@
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option \usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{chngcntr} \usepackage{chngcntr}
\usepackage[toc]{multitoc} \usepackage[toc]{multitoc}
\usepackage{dblfnote} % https://tex.stackexchange.com/a/8180
\usepackage[unicode=false, \usepackage[unicode=false,
colorlinks=true, colorlinks=true,
linkcolor=darkgray, linkcolor=darkgray,