diff options
Diffstat (limited to 'src/org/class_notes.html')
-rw-r--r-- | src/org/class_notes.html | 420 |
1 files changed, 420 insertions, 0 deletions
diff --git a/src/org/class_notes.html b/src/org/class_notes.html new file mode 100644 index 0000000..4f7a736 --- /dev/null +++ b/src/org/class_notes.html @@ -0,0 +1,420 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<!-- 2024-04-19 Fri 19:58 --> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<title>Class notes</title> +<meta name="author" content="Crystal" /> +<meta name="generator" content="Org Mode" /> +<style> + #content { max-width: 60em; margin: auto; } + .title { text-align: center; + margin-bottom: .2em; } + .subtitle { text-align: center; + font-size: medium; + font-weight: bold; + margin-top:0; } + .todo { font-family: monospace; color: red; } + .done { font-family: monospace; color: green; } + .priority { font-family: monospace; color: orange; } + .tag { background-color: #eee; font-family: monospace; + padding: 2px; font-size: 80%; font-weight: normal; } + .timestamp { color: #bebebe; } + .timestamp-kwd { color: #5f9ea0; } + .org-right { margin-left: auto; margin-right: 0px; text-align: right; } + .org-left { margin-left: 0px; margin-right: auto; text-align: left; } + .org-center { margin-left: auto; margin-right: auto; text-align: center; } + .underline { text-decoration: underline; } + #postamble p, #preamble p { font-size: 90%; margin: .2em; } + p.verse { margin-left: 3%; } + pre { + border: 1px solid #e6e6e6; + border-radius: 3px; + background-color: #f2f2f2; + padding: 8pt; + font-family: monospace; + overflow: auto; + margin: 1.2em; + } + pre.src { + position: relative; + overflow: auto; + } + pre.src:before { + display: none; + position: absolute; + top: -8px; + right: 12px; + padding: 3px; + color: #555; + background-color: #f2f2f299; + } + pre.src:hover:before { display: inline; margin-top: 14px;} + /* Languages per Org manual */ + pre.src-asymptote:before { content: 'Asymptote'; } + pre.src-awk:before { content: 'Awk'; } + pre.src-authinfo::before { content: 'Authinfo'; } + pre.src-C:before { content: 'C'; } + /* pre.src-C++ doesn't work in CSS */ + pre.src-clojure:before { content: 'Clojure'; } + pre.src-css:before { content: 'CSS'; } + pre.src-D:before { content: 'D'; } + pre.src-ditaa:before { content: 'ditaa'; } + pre.src-dot:before { content: 'Graphviz'; } + pre.src-calc:before { content: 'Emacs Calc'; } + pre.src-emacs-lisp:before { content: 'Emacs Lisp'; } + pre.src-fortran:before { content: 'Fortran'; } + pre.src-gnuplot:before { content: 'gnuplot'; } + pre.src-haskell:before { content: 'Haskell'; } + pre.src-hledger:before { content: 'hledger'; } + pre.src-java:before { content: 'Java'; } + pre.src-js:before { content: 'Javascript'; } + pre.src-latex:before { content: 'LaTeX'; } + pre.src-ledger:before { content: 'Ledger'; } + pre.src-lisp:before { content: 'Lisp'; } + pre.src-lilypond:before { content: 'Lilypond'; } + pre.src-lua:before { content: 'Lua'; } + pre.src-matlab:before { content: 'MATLAB'; } + pre.src-mscgen:before { content: 'Mscgen'; } + pre.src-ocaml:before { content: 'Objective Caml'; } + pre.src-octave:before { content: 'Octave'; } + pre.src-org:before { content: 'Org mode'; } + pre.src-oz:before { content: 'OZ'; } + pre.src-plantuml:before { content: 'Plantuml'; } + pre.src-processing:before { content: 'Processing.js'; } + pre.src-python:before { content: 'Python'; } + pre.src-R:before { content: 'R'; } + pre.src-ruby:before { content: 'Ruby'; } + pre.src-sass:before { content: 'Sass'; } + pre.src-scheme:before { content: 'Scheme'; } + pre.src-screen:before { content: 'Gnu Screen'; } + pre.src-sed:before { content: 'Sed'; } + pre.src-sh:before { content: 'shell'; } + pre.src-sql:before { content: 'SQL'; } + pre.src-sqlite:before { content: 'SQLite'; } + /* additional languages in org.el's org-babel-load-languages alist */ + pre.src-forth:before { content: 'Forth'; } + pre.src-io:before { content: 'IO'; } + pre.src-J:before { content: 'J'; } + pre.src-makefile:before { content: 'Makefile'; } + pre.src-maxima:before { content: 'Maxima'; } + pre.src-perl:before { content: 'Perl'; } + pre.src-picolisp:before { content: 'Pico Lisp'; } + pre.src-scala:before { content: 'Scala'; } + pre.src-shell:before { content: 'Shell Script'; } + pre.src-ebnf2ps:before { content: 'ebfn2ps'; } + /* additional language identifiers per "defun org-babel-execute" + in ob-*.el */ + pre.src-cpp:before { content: 'C++'; } + pre.src-abc:before { content: 'ABC'; } + pre.src-coq:before { content: 'Coq'; } + pre.src-groovy:before { content: 'Groovy'; } + /* additional language identifiers from org-babel-shell-names in + ob-shell.el: ob-shell is the only babel language using a lambda to put + the execution function name together. */ + pre.src-bash:before { content: 'bash'; } + pre.src-csh:before { content: 'csh'; } + pre.src-ash:before { content: 'ash'; } + pre.src-dash:before { content: 'dash'; } + pre.src-ksh:before { content: 'ksh'; } + pre.src-mksh:before { content: 'mksh'; } + pre.src-posh:before { content: 'posh'; } + /* Additional Emacs modes also supported by the LaTeX listings package */ + pre.src-ada:before { content: 'Ada'; } + pre.src-asm:before { content: 'Assembler'; } + pre.src-caml:before { content: 'Caml'; } + pre.src-delphi:before { content: 'Delphi'; } + pre.src-html:before { content: 'HTML'; } + pre.src-idl:before { content: 'IDL'; } + pre.src-mercury:before { content: 'Mercury'; } + pre.src-metapost:before { content: 'MetaPost'; } + pre.src-modula-2:before { content: 'Modula-2'; } + pre.src-pascal:before { content: 'Pascal'; } + pre.src-ps:before { content: 'PostScript'; } + pre.src-prolog:before { content: 'Prolog'; } + pre.src-simula:before { content: 'Simula'; } + pre.src-tcl:before { content: 'tcl'; } + pre.src-tex:before { content: 'TeX'; } + pre.src-plain-tex:before { content: 'Plain TeX'; } + pre.src-verilog:before { content: 'Verilog'; } + pre.src-vhdl:before { content: 'VHDL'; } + pre.src-xml:before { content: 'XML'; } + pre.src-nxml:before { content: 'XML'; } + /* add a generic configuration mode; LaTeX export needs an additional + (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */ + pre.src-conf:before { content: 'Configuration File'; } + + table { border-collapse:collapse; } + caption.t-above { caption-side: top; } + caption.t-bottom { caption-side: bottom; } + td, th { vertical-align:top; } + th.org-right { text-align: center; } + th.org-left { text-align: center; } + th.org-center { text-align: center; } + td.org-right { text-align: right; } + td.org-left { text-align: left; } + td.org-center { text-align: center; } + dt { font-weight: bold; } + .footpara { display: inline; } + .footdef { margin-bottom: 1em; } + .figure { padding: 1em; } + .figure p { text-align: center; } + .equation-container { + display: table; + text-align: center; + width: 100%; + } + .equation { + vertical-align: middle; + } + .equation-label { + display: table-cell; + text-align: right; + vertical-align: middle; + } + .inlinetask { + padding: 10px; + border: 2px solid gray; + margin: 10px; + background: #ffffcc; + } + #org-div-home-and-up + { text-align: right; font-size: 70%; white-space: nowrap; } + textarea { overflow-x: auto; } + .linenr { font-size: smaller } + .code-highlighted { background-color: #ffff00; } + .org-info-js_info-navigation { border-style: none; } + #org-info-js_console-label + { font-size: 10px; font-weight: bold; white-space: nowrap; } + .org-info-js_search-highlight + { background-color: #ffff00; color: #000000; font-weight: bold; } + .org-svg { } +</style> +</head> +<body> +<div id="content" class="content"> +<h1 class="title">Class notes</h1> +<div id="table-of-contents" role="doc-toc"> +<h2>Table of Contents</h2> +<div id="text-table-of-contents" role="doc-toc"> +<ul> +<li><a href="#org740344c">1. class 1 <i>sun sep 17 13:04:43 2023</i></a> +<ul> +<li><a href="#orgdeedad1">1.1. Les Reseaux locaux (LAN)</a></li> +<li><a href="#org4046b4b">1.2. MAC Address :</a></li> +<li><a href="#orgc7732e1">1.3. RJ-45 connecteurs</a></li> +<li><a href="#org0f55269">1.4. IPV4 classes :</a></li> +<li><a href="#org4127e6b">1.5. Adresses privées:</a></li> +<li><a href="#orge90d8a0">1.6. 500 hosts :</a></li> +<li><a href="#org67a8bc7">1.7. 150 hosts :</a></li> +<li><a href="#orgea65848">1.8. 60 hosts :</a></li> +<li><a href="#org9afb58b">1.9. 30 hosts:</a></li> +<li><a href="#orge54390c">1.10. 20</a></li> +<li><a href="#orgd72daa2">1.11. 15</a></li> +</ul> +</li> +<li><a href="#orgc3dfb36">2. Class 2Sun <i>Sep 24 09:09:28 2023</i></a> +<ul> +<li><a href="#org7607698">2.1. CCTV (finally)</a></li> +</ul> +</li> +</ul> +</div> +</div> + + +<div id="outline-container-org740344c" class="outline-2"> +<h2 id="org740344c"><span class="section-number-2">1.</span> class 1 <i>sun sep 17 13:04:43 2023</i></h2> +<div class="outline-text-2" id="text-1"> +</div> +<div id="outline-container-orgdeedad1" class="outline-3"> +<h3 id="orgdeedad1"><span class="section-number-3">1.1.</span> Les Reseaux locaux (LAN)</h3> +<div class="outline-text-3" id="text-1-1"> +<p> +Cable 10 mbps ou moins = Ethernet +Cable 100 mbps = Fast Ethernet +Cable 1000 mbps ou plus = Giga Ethernet +</p> +</div> +</div> + +<div id="outline-container-org4046b4b" class="outline-3"> +<h3 id="org4046b4b"><span class="section-number-3">1.2.</span> MAC Address :</h3> +<div class="outline-text-3" id="text-1-2"> +<p> +First three Bytes : vendor +Last three Bytes : Unique ID +(In Hexadecimal) +</p> + +<p> +TODO: CSMA/ CA CD +</p> +</div> +</div> + +<div id="outline-container-orgc7732e1" class="outline-3"> +<h3 id="orgc7732e1"><span class="section-number-3">1.3.</span> RJ-45 connecteurs</h3> +<div class="outline-text-3" id="text-1-3"> +</div> +<ol class="org-ol"> +<li><a id="org4039adc"></a>Straight<br /></li> +<li><a id="orgea66000"></a>Crossover (croisé)<br /></li> +<li><a id="orgfd2e4fe"></a>Rollover (console)<br /></li> +</ol> +</div> + +<div id="outline-container-org0f55269" class="outline-3"> +<h3 id="org0f55269"><span class="section-number-3">1.4.</span> IPV4 classes :</h3> +<div class="outline-text-3" id="text-1-4"> +<ul class="org-ul"> +<li>Classe A : 0 - 127 /8 +<ul class="org-ul"> +<li>0.0.0.0/0 : route par default</li> +<li>127.0.0.0/8 : bouclage</li> +</ul></li> +<li>Classe B : 128 - 191 /16 +<ul class="org-ul"> +<li>169.254.0.0/16 : APIPA</li> +</ul></li> +<li>Classe C : 192 - 223 /24</li> +<li>Classe D : 224 - 239 +<ul class="org-ul"> +<li>Multicast</li> +</ul></li> +<li>Classe E : 240 - 255</li> +</ul> +</div> +</div> + +<div id="outline-container-org4127e6b" class="outline-3"> +<h3 id="org4127e6b"><span class="section-number-3">1.5.</span> Adresses privées:</h3> +<div class="outline-text-3" id="text-1-5"> +<ul class="org-ul"> +<li>Classe A : 10.0.0.0 - 10.255.255.255 /8</li> +<li>Classe B : 172.16.0.0 - 172.31.255.255 /12</li> +<li>Classe C : 192.168.0.0 - 192.168.255.255 /16</li> +</ul> + + +<p> +8 7 6 5 4 3 2 1 +128 64 32 16 8 4 2 1 +256 128 64 32 16 8 4 2 +/24 /25 /26 /27 /28 /29 /30 /31 +</p> + +<p> +500 +150 +60 +30 +20 +15 +</p> +</div> +</div> +<div id="outline-container-orge90d8a0" class="outline-3"> +<h3 id="orge90d8a0"><span class="section-number-3">1.6.</span> 500 hosts :</h3> +<div class="outline-text-3" id="text-1-6"> +<p> +Addresse: 10.0.0.0 /23 +</p> + +<p> +500 - 256 = 244 +</p> + +<p> +First IP : 10.0.0.1 /23 +Last IP : 10.0.1.254 /23 +@B IP : 10.0.1.255 /23 +Mask : 255.255.254.0 +</p> +</div> +</div> + +<div id="outline-container-org67a8bc7" class="outline-3"> +<h3 id="org67a8bc7"><span class="section-number-3">1.7.</span> 150 hosts :</h3> +<div class="outline-text-3" id="text-1-7"> +<p> +Addresse: 10.0.2.0 /24 +First IP: 10.0.2.1 /24 +Last IP: 10.0.2.254 /24 +@B IP: 10.0.2.255 /24 +Mask: 255.255.255.0 +</p> +</div> +</div> + +<div id="outline-container-orgea65848" class="outline-3"> +<h3 id="orgea65848"><span class="section-number-3">1.8.</span> 60 hosts :</h3> +<div class="outline-text-3" id="text-1-8"> +<p> +Addresse: 10.0.3.0 /26 +First IP: 10.0.3.1 /26 +Last IP: 10.0.3.63 /26 +@B IP: 10.0.3.64 /26 +Mask: 255.255.255.191 +</p> +</div> +</div> + +<div id="outline-container-org9afb58b" class="outline-3"> +<h3 id="org9afb58b"><span class="section-number-3">1.9.</span> 30 hosts:</h3> +<div class="outline-text-3" id="text-1-9"> +<p> +Addresse: 10.0.3.63/8 +First IP: 10.0.3.64/8 +Last IP: 10.0.3.96/8 +@B IP: 10.0.3.97/8 +Mask: 255.255.255.158/11 +</p> +</div> +</div> + +<div id="outline-container-orge54390c" class="outline-3"> +<h3 id="orge54390c"><span class="section-number-3">1.10.</span> 20</h3> +<div class="outline-text-3" id="text-1-10"> +<p> +Addresse: 10.0.3.97/8 +First IP: 10.0.3.98/8 +Last IP: 10.0.3.128/8 +@B IP: 10.0.3.129/8 +Mask: 255.255.255.126/11 +</p> +</div> +</div> +<div id="outline-container-orgd72daa2" class="outline-3"> +<h3 id="orgd72daa2"><span class="section-number-3">1.11.</span> 15</h3> +<div class="outline-text-3" id="text-1-11"> +<p> +Addresse: 10.0.3.129/8 +First IP: 10.0.3.130/8 +Last IP: 10.0.3.144/8 +@B IP: 10.0.3.145/8 +Mask: 255.255.255.110/12 +</p> +</div> +</div> +</div> + +<div id="outline-container-orgc3dfb36" class="outline-2"> +<h2 id="orgc3dfb36"><span class="section-number-2">2.</span> Class 2Sun <i>Sep 24 09:09:28 2023</i></h2> +<div class="outline-text-2" id="text-2"> +</div> +<div id="outline-container-org7607698" class="outline-3"> +<h3 id="org7607698"><span class="section-number-3">2.1.</span> CCTV (finally)</h3> +</div> +</div> +</div> +<div id="postamble" class="status"> +<p class="author">Author: Crystal</p> +<p class="date">Created: 2024-04-19 Fri 19:58</p> +<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p> +</div> +</body> +</html> |