Skip to content
Snippets Groups Projects
Commit 6936a411 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Vorbereitung 7.4.2025: Praxisaufgabe

parent 4c9e28b0
Branches
No related tags found
No related merge requests found
File added
% bs-20250407.pdf - Labor Notes on Driver Development, Real-Time, and Operating Systems
% Copyright (C) 2025 Peter Gerwinski
%
% This document is free software: you can redistribute it and/or
% modify it either under the terms of the Creative Commons
% Attribution-ShareAlike 3.0 License, or under the terms of the
% GNU General Public License as published by the Free Software
% Foundation, either version 3 of the License, or (at your option)
% any later version.
%
% This document is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this document. If not, see <http://www.gnu.org/licenses/>.
%
% You should have received a copy of the Creative Commons
% Attribution-ShareAlike 3.0 Unported License along with this
% document. If not, see <http://creativecommons.org/licenses/>.
% README: TCP/IP in der Praxis
\documentclass[a4paper]{article}
\usepackage{pgscript}
\pagestyle{empty}
\newcommand{\sep}{~$\cdot$~}
\newcommand{\mylicense}{CC BY-SA (Version 4.0) oder GNU GPL (Version 3 oder höher)}
\begin{document}
\hsbologos
\begin{center}
\Large\textbf{Praxisaufgabe: Aufbau eines grundlegenden TCP/IP-Netzwerks}
\par\medskip
\normalsize Treiberentwicklung, Echtzeit- und Betriebssysteme\sep
Sommersemester 2025\sep
Prof.~Dr.~Peter Gerwinski
\end{center}
Aufgabe: Vernetzen Sie Ihre Rechner mittels TCP/IP.
\begin{itemize}
\item
Stellen Sie eine geeignete Hardware-Infrastruktur her.\\
(Kabelgebundenes Netz, WLAN, Avian Carriers, \dots)
\item
Wählen Sie geeignete IP-Adressen und prüfen Sie mittels \lstinline[style=cmd]{ping}
die gegenseitige Erreichbarkeit.
\item
Stellen Sie mittels Netcat (\lstinline[style=cmd]{nc})
TCP-Verbindungen her (Ende-zu-Ende-Chat).
\item
Bieten Sie (z.\,B.\ mittels \lstinline[style=cmd]{nc -e})
in diesem Netz Dienste an und testen Sie diese.
\item
Untersuchen Sie den Netzwerkverkehr mittels tcpdump und/oder Wireshark.
\item
Testen Sie, wie sich externe Dienste (Webseiten, E-Mail)
mittels \lstinline[style=cmd]{nc} nutzen lassen.
\end{itemize}
\bigskip
\strut\hfill\emph{Viel Erfolg!}
\vfill
\begingroup
\small
\setlength{\leftskip}{3cm}
Stand: 6.\ April 2025
% Soweit nicht anders angegeben:\\
Copyright \copyright\ 2025\quad Peter Gerwinski\\
Lizenz: \mylicense
Sie können diese Praxisaufgabe einschließlich \LaTeX-Quelltext
%% und Beispielprogramme\\
herunterladen unter:\\
\url{https://gitlab.cvh-server.de/pgerwinski/nit}
\endgroup
\end{document}
../common/logo-hochschule-bochum-cvh-text-v3.pdf
\ No newline at end of file
../common/logo-hochschule-bochum-de-wide.pdf
\ No newline at end of file
../common/pgscript.sty
\ No newline at end of file
% pgscript.sty - LaTeX Settings for Lecture Notes % pgscript.sty - LaTeX Settings for Lecture Notes
% Copyright (C) 2012, 2015, 2017 Peter Gerwinski % Copyright (C) 2012, 2015, 2017, 2018 Peter Gerwinski
% %
% This document is free software: you can redistribute it and/or % This document is free software: you can redistribute it and/or
% modify it either under the terms of the Creative Commons % modify it either under the terms of the Creative Commons
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
\usepackage{ifluatex} \usepackage{ifluatex}
\usepackage{xcolor} \usepackage{xcolor}
\usepackage{enumerate} \usepackage{enumerate}
\usepackage{ifthen}
%% Repair kerning: Automatically insert "\kern{-0.15em}" between "//" % (in URLs). %% Repair kerning: Automatically insert "\kern{-0.15em}" between "//" % (in URLs).
%% PG20151206: This seems unnecessary here. Maybe due to \sf? %% PG20151206: This seems unnecessary here. Maybe due to \sf?
...@@ -72,6 +73,22 @@ ...@@ -72,6 +73,22 @@
\newenvironment{whiteout}{\definecolor{darkgreen}{rgb}{1.0,1.0,1.0}% \newenvironment{whiteout}{\definecolor{darkgreen}{rgb}{1.0,1.0,1.0}%
\definecolor{darkred}{rgb}{1.0,1.0,1.0}% \definecolor{darkred}{rgb}{1.0,1.0,1.0}%
\color{white}}{} \color{white}}{}
\newenvironment{hint}{%
\begin{quote}
\addtolength{\leftskip}{0.6cm}%
% \includegraphics[width=1cm]{Zeichen_101_-_Gefahrstelle,_StVO_1970.pdf}
\makebox(0,0)[r]{\includegraphics[width=1cm]{Zeichen_101_-_Gefahrstelle,_StVO_1970.pdf}\hspace*{0.5em}}%
% \hangindent 1.2cm
% \hangafter 2
\bfseries
% Foobar Foobar Foobar Foobar Foobar Foobar Foobar Foobar
% Foobar Foobar Foobar Foobar Foobar Foobar Foobar Foobar
% Foobar Foobar Foobar Foobar Foobar Foobar Foobar Foobar
% Foobar Foobar Foobar Foobar Foobar Foobar Foobar Foobar
\ignorespaces
}{%
\end{quote}
}
\urlstyle{sf} \urlstyle{sf}
\newcommand{\file}[1]{{\color{blendedblue}#1}} \newcommand{\file}[1]{{\color{blendedblue}#1}}
\newcommand{\textarrow}{{\boldmath $\longrightarrow$}} \newcommand{\textarrow}{{\boldmath $\longrightarrow$}}
...@@ -82,6 +99,9 @@ ...@@ -82,6 +99,9 @@
\newcommand{\exercise}[1]{\addtocounter{exercise}{1}\subsection*{Aufgabe \arabic{exercise}: #1}} \newcommand{\exercise}[1]{\addtocounter{exercise}{1}\subsection*{Aufgabe \arabic{exercise}: #1}}
\newcommand{\solution}{\subsubsection*{Lösung}} \newcommand{\solution}{\subsubsection*{Lösung}}
\newcounter{points}
\newcommand{\points}[1]{\ifthenelse{#1=1}{(1 Punkt)}{(#1 Punkte)}\addtocounter{points}{#1}}
\newcommand{\gitfile}[3]{\href{https://gitlab.cvh-server.de/pgerwinski/#1/raw/master/#2/#3}{\file{#3}}} \newcommand{\gitfile}[3]{\href{https://gitlab.cvh-server.de/pgerwinski/#1/raw/master/#2/#3}{\file{#3}}}
\usepackage{listings} \usepackage{listings}
...@@ -115,3 +135,8 @@ ...@@ -115,3 +135,8 @@
\setlength{\parindent}{0pt} \setlength{\parindent}{0pt}
\setlength{\parskip}{\medskipamount} \setlength{\parskip}{\medskipamount}
\setlength{\unitlength}{1cm} \setlength{\unitlength}{1cm}
\newcommand{\hsbologos}{%
\makebox(0,0)[tl]{\includegraphics[trim=0cm 0.08cm 0cm 0cm,scale=1.0]{logo-hochschule-bochum-cvh-text-v3.pdf}}\hfill
\makebox(0,0)[tr]{\includegraphics[trim=0cm 0cm 1.0cm 13.6cm,scale=0.4]{logo-hochschule-bochum-de-wide.pdf}}%
\par\bigskip\bigskip\bigskip}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment