Compare commits
4 Commits
c263827b09
...
39b43b9eb2
Author | SHA1 | Date |
---|---|---|
|
39b43b9eb2 | |
|
2b239ade25 | |
|
b2bd94f898 | |
|
454beca034 |
|
@ -96,3 +96,15 @@ sympy-plots-for-*.tex/
|
|||
# Aufgabenblatt
|
||||
sheets
|
||||
#!AA_*.pdf
|
||||
|
||||
# Lock files
|
||||
.~lock*
|
||||
*#
|
||||
|
||||
# Vim/Nano session files
|
||||
[._]*.s[a-w][a-z]
|
||||
[._]s[a-w][a-z]
|
||||
*.un~
|
||||
Session.vim
|
||||
.netrwhist
|
||||
*~
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
---
|
||||
title: Switching
|
||||
author: Carl Kittelberger
|
||||
|
||||
papersize: a4
|
||||
classoption: oneside
|
||||
mainfont: Arial
|
||||
sansfont: Arial
|
||||
|
||||
header-includes:
|
||||
- \usepackage{longtable}
|
||||
---
|
||||
|
||||
# Aufbau einer Ethernetnachricht
|
||||
|
||||

|
||||
|
||||
# Switching-Typen
|
||||
|
||||
## Cut-Through-Switch
|
||||
|
||||
Schaltet sofort nach Erhalt der Ziel-MAC durch.
|
||||
|
||||
### Vorteile
|
||||
|
||||
- super schnell, geringe Verzögerungszeit ("Latenz")
|
||||
- geringer Speicherbedarf (6 Bytes für Ziel-MAC)
|
||||
|
||||
## Nachteile
|
||||
|
||||
- defekte und abgebrochene Frames werden weitergeleitet
|
||||
|
||||
## Store-and-Forward-Switch
|
||||
|
||||
### Vorteile
|
||||
|
||||
- schickt nur komplette und geprüfte Frames
|
||||
|
||||
### Nachteile
|
||||
|
||||
- großer Speicherbedarf (gesamter Frame muss gepuffert werden, ~1500 Bytes)
|
||||
- große Latenzzeit
|
||||
|
||||
## Fragment-Free-Switch
|
||||
|
||||
Empfängt 64 Bytes und schaltet dann weiter.
|
||||
|
||||
### Vorteile
|
||||
|
||||
- ziemlich schnell, geringe Latenz
|
||||
- geringer Speicherbedarf
|
||||
- Großteil von defekten/abgebrochenen Frames wird **nicht** weitergeleitet
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: Spanning Tree Protocol (STP)
|
||||
author: Carl Kittelberger
|
||||
|
||||
papersize: a4
|
||||
classoption: oneside
|
||||
mainfont: Arial
|
||||
sansfont: Arial
|
||||
|
||||
header-includes:
|
||||
- \usepackage{longtable}
|
||||
---
|
||||
|
||||

|
||||
|
||||
*Schleife in der Verkabelung erzeugt Broadcaststurm!*
|
||||
|
||||
Ein Switch im Netz wird als **Root-Switch** festgelegt.
|
||||
Switches unterhalten sich über **BPDUs** (*Bridge Protocol Data Units*).
|
||||
Der Switch mit der höchsten Priorität wird der Root-Switch.
|
||||
|
||||
Jeder Switch bekomment eine Switch-Kennung:
|
||||
|
||||
{width=200px}
|
||||
|
||||
Jeder Switch aktiviert *eine* Leitung zum Root-Switch hin.
|
||||
|
||||
→ Netz wird auf einen logischen Baum reduziert
|
||||
→ **Spannbaum** (*Spanning Tree*)
|
||||
|
||||
→ Jedes Teilstück der Verbindung wird mit "Kosten" belegt.
|
||||
|
||||
→ Der Pfad von Switch zum Root-Switch mit den geringsten Gesamtkosten (**Root-Path-costs**) wird aktiviert.
|
||||
→ **Rootpath**. Der Port am Switch, der zum Root führt ist der **Rootport**.
|
31
Makefile
31
Makefile
|
@ -11,23 +11,37 @@ PANDOC_TEX_FLAGS = --template=template.tex
|
|||
PANDOC_TEX_DEPENDENCIES = template.tex
|
||||
SOFFICE = soffice
|
||||
SOFFICE_FLAGS = --headless
|
||||
INKSCAPE = inkscape
|
||||
INKSCAPE_FLAGS =
|
||||
|
||||
MARKDOWN_INPUTS = $(wildcard *.md)
|
||||
|
||||
.PHONY: all build clean clean-pdf clean-tex clean-odt clean-docx default
|
||||
ODG_INPUTS = $(wildcard img/*/*.odg)
|
||||
|
||||
.PHONY: all clean clean-pdf clean-tex clean-svg clean-png all-pdf all-tex all-svg all-png default
|
||||
|
||||
TEXINPUTS := .:./pkg/:$(TEXINPUTS)
|
||||
export TEXINPUTS
|
||||
|
||||
default: all
|
||||
|
||||
all: all-tex all-pdf
|
||||
all: all-tex all-svg all-png all-pdf
|
||||
|
||||
all-svg: $(addsuffix .svg,$(basename $(ODG_INPUTS)))
|
||||
|
||||
all-png: $(addsuffix .png,$(basename $(ODG_INPUTS)))
|
||||
|
||||
all-tex: $(addsuffix .tex,$(basename $(MARKDOWN_INPUTS)))
|
||||
|
||||
all-pdf: $(addsuffix .pdf,$(basename $(MARKDOWN_INPUTS)))
|
||||
|
||||
clean: clean-pdf clean-tex
|
||||
clean: clean-pdf clean-tex clean-svg clean-png
|
||||
|
||||
clean-svg:
|
||||
rm -f $(addsuffix .svg,$(basename $(ODG_INPUTS)))
|
||||
|
||||
clean-png:
|
||||
rm -f $(addsuffix .png,$(basename $(ODG_INPUTS)))
|
||||
|
||||
clean-tex:
|
||||
rm -f $(addsuffix .tex,$(basename $(MARKDOWN_INPUTS)))
|
||||
|
@ -42,7 +56,16 @@ clean-pdf:
|
|||
$(addsuffix .toc,$(basename $(MARKDOWN_INPUTS))) \
|
||||
missfont.log
|
||||
|
||||
%.pdf: %.tex $(PANDOC_TEX_DEPENDENCIES)
|
||||
%.svg: %.odg
|
||||
@echo $< "->" $@
|
||||
$(SOFFICE) $(SOFFICE_FLAGS) --draw --convert-to svg:draw_svg_Export \
|
||||
--outdir $(dir $<) $<
|
||||
|
||||
%.png: %.svg
|
||||
@echo $< "->" $@
|
||||
$(INKSCAPE) $(INKSCAPE_FLAGS) -D -z -e $@ -d 720 $<
|
||||
|
||||
%.pdf: %.tex all-svg $(PANDOC_TEX_DEPENDENCIES)
|
||||
@echo $< "->" $@
|
||||
$(LATEX) $(LATEX_FLAGS) $(LATEX_PDF_FLAGS) $< 1>/dev/null
|
||||
$(LATEX) $(LATEX_FLAGS) $(LATEX_PDF_FLAGS) $< 1>/dev/null
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# Images generated by LibreOffice Draw
|
||||
*.png
|
||||
*.svg
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
# Images generated by LibreOffice Draw
|
||||
*.png
|
||||
*.svg
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 141.732 141.732" height="141.732px" id="Livello_1" version="1.1" viewBox="0 0 141.732 141.732" width="141.732px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Livello_11"><path d="M92.015,63.895H3.68V4.124h88.335V63.895z M95.696,65.76L95.696,65.76V2.258c0-1.036-0.823-1.868-1.839-1.868H1.84 C0.824,0.391,0,1.223,0,2.258V65.76c0,1.033,0.825,1.867,1.84,1.867h34.967v11.208H22.084c-1.017,0-1.839,0.834-1.839,1.868 c0,1.031,0.824,1.868,1.839,1.868h0.001h51.528c1.017,0,1.841-0.837,1.841-1.868c0-1.034-0.825-1.868-1.841-1.868H58.89V67.627 h34.968C94.875,67.627,95.696,66.792,95.696,65.76 M138.915,29.489H109.86v-5.898h29.055V29.489z M138.915,17.695H109.86v-5.9 h29.055V17.695z M122.098,53.278c0-1.286,1.027-2.324,2.29-2.324c1.265,0,2.293,1.038,2.293,2.324c0,1.285-1.028,2.326-2.293,2.326 C123.126,55.604,122.098,54.562,122.098,53.278 M122.665,60.033c0-0.966,0.771-1.749,1.723-1.749c0.953,0,1.725,0.782,1.725,1.749 c0,0.968-0.772,1.754-1.725,1.754C123.436,61.786,122.665,61.001,122.665,60.033 M141.825,79.621V2.948 c0-1.628-1.302-2.949-2.908-2.949h-29.054c-1.604,0-2.905,1.324-2.905,2.949v76.672c0,1.63,1.301,2.949,2.905,2.949h29.054 C140.522,82.57,141.825,81.251,141.825,79.621"/></g><g id="Livello_1_1_"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue