ASK_Lab9_AdamSalwowski.tex 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. % Created 2021-12-15 Wed 21:58
  2. % Intended LaTeX compiler: pdflatex
  3. \documentclass[11pt]{article}
  4. \usepackage[utf8]{inputenc}
  5. \usepackage[T1]{fontenc}
  6. \usepackage{graphicx}
  7. \usepackage{grffile}
  8. \usepackage{longtable}
  9. \usepackage{wrapfig}
  10. \usepackage{rotating}
  11. \usepackage[normalem]{ulem}
  12. \usepackage{amsmath}
  13. \usepackage{textcomp}
  14. \usepackage{amssymb}
  15. \usepackage{capt-of}
  16. \usepackage{hyperref}
  17. \usepackage{tabularx}
  18. \usepackage{minted}
  19. \usepackage[top=100pt,bottom=100pt,left=70pt,right=70pt]{geometry}
  20. \usepackage{color}
  21. \definecolor{blue}{rgb}{0,0.5,1}
  22. \hypersetup{colorlinks=true, linkcolor=blue, urlcolor=blue, citecolor=blue}
  23. \usepackage{placeins}
  24. \author{Adam Salwowski}
  25. \date{\today}
  26. \title{Sprawozdanie z Administracji Systemów Komputerowych nr. 8}
  27. \hypersetup{
  28. pdfauthor={Adam Salwowski},
  29. pdftitle={Sprawozdanie z Administracji Systemów Komputerowych nr. 8},
  30. pdfkeywords={},
  31. pdfsubject={},
  32. pdfcreator={Emacs 27.1 (Org mode 9.3)},
  33. pdflang={English}}
  34. \begin{document}
  35. \maketitle
  36. \tableofcontents
  37. \section{Wstęp}
  38. \label{sec:org08ba968}
  39. Część zadań wykonałem w na komputerze, na zajęciach. Resztę wykonałem w na maszynie wirtualnej z systemem operacyjnym \texttt{Windows Embedded 8.1 Industry Pro Build 9600}. Wersja używanego oprogramowania: \texttt{Cisco Packet Tracer 8.0}. Do połączenia niektórych obrazów użyłem narzędzi z pakietu \texttt{imagemagick}.
  40. \section{Zadanie 1}
  41. \label{sec:org9660abe}
  42. \begin{figure}[htbp]
  43. \centering
  44. \includegraphics[width=.9\linewidth]{./images/zad1_1_2.png}
  45. \caption{Tworzenie i łączenie komponentów}
  46. \end{figure}
  47. \FloatBarrier
  48. Wybieram opcję zaznaczoną na czerwoną.
  49. \begin{figure}[htbp]
  50. \centering
  51. \includegraphics[width=.9\linewidth]{./images/zad1_3_display.png}
  52. \caption[\texttt{Desktop}]{Karta \texttt{Desktop}}
  53. \end{figure}
  54. \begin{figure}[htbp]
  55. \centering
  56. \includegraphics[width=.9\linewidth]{./images/zad1_3.png}
  57. \caption[\texttt{IP}]{Ustawione adresy \texttt{IP}}
  58. \end{figure}
  59. \begin{figure}[htbp]
  60. \centering
  61. \includegraphics[width=.9\linewidth]{./images/zad1_4.png}
  62. \caption{Pingowanie adresu laptopa}
  63. \end{figure}
  64. \FloatBarrier
  65. Sygnał powrócił. Wszystko w porządku.
  66. \section{Zadanie 2}
  67. \label{sec:org460f960}
  68. Konfiguracja była domyślnie ustawiona jako \texttt{auto} więc nic nie zmieniałem.
  69. \begin{figure}[htbp]
  70. \centering
  71. \includegraphics[width=.9\linewidth]{./images/zad2_1_2.png}
  72. \caption{Łączenie komponentów oraz konfiguracja}
  73. \end{figure}
  74. \begin{figure}[htbp]
  75. \centering
  76. \includegraphics[width=.9\linewidth]{./images/zad2_3.png}
  77. \caption{Pingowanie adresu laptopa}
  78. \end{figure}
  79. \FloatBarrier
  80. Sygnał echo request powrócił więc wszystko jest w porządku.
  81. \section{Zadanie 3}
  82. \label{sec:orgf8e3aac}
  83. \begin{figure}[htbp]
  84. \centering
  85. \includegraphics[width=.9\linewidth]{./images/zad3_1.png}
  86. \caption{Zbudowany schemat}
  87. \end{figure}
  88. \begin{figure}[htbp]
  89. \centering
  90. \includegraphics[width=.9\linewidth]{./images/display_console.png}
  91. \caption[\texttt{Terminal}]{Wybieram opcję \texttt{Terminal}}
  92. \end{figure}
  93. \begin{figure}[htbp]
  94. \centering
  95. \includegraphics[width=.9\linewidth]{./images/zad3_3.png}
  96. \caption[\emph{OK}]{Klikam \emph{OK}}
  97. \end{figure}
  98. \begin{figure}[htbp]
  99. \centering
  100. \includegraphics[width=.9\linewidth]{./images/zad3_4.png}
  101. \caption{Wpisuję polecenia}
  102. \end{figure}
  103. \begin{figure}[htbp]
  104. \centering
  105. \includegraphics[width=.9\linewidth]{./images/zad3_5.png}
  106. \caption{Ustawiam hasło}
  107. \end{figure}
  108. \FloatBarrier
  109. \section{Zadanie 4}
  110. \label{sec:orgb61aa4d}
  111. \subsection{Budowa struktury}
  112. \label{sec:org855eba4}
  113. Zmieniam nazwę komponentu \texttt{PC0} na \texttt{PC2}, oraz \texttt{Router0} na \texttt{Baza A} w celu łatwiejszej identyfikacji z treścią polecenia.
  114. \begin{figure}[htbp]
  115. \centering
  116. \includegraphics[width=.9\linewidth]{./images/zad4_1.png}
  117. \caption{Zbudowana struktura}
  118. \end{figure}
  119. \FloatBarrier
  120. \subsection{Konfiguracja interfejsów}
  121. \label{sec:org76c4fe9}
  122. \begin{itemize}
  123. \item FastEthernet 0/0
  124. Sieć 10.0.0.0/30
  125. Należy wpisać poprzez terminal poniższe komendy, by ustawić statyczny adres \texttt{IP} interfejsu \texttt{FastEthernet 0/1}:
  126. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  127. enable
  128. configure terminal
  129. interface fastethernet 0/0
  130. ip address 10.0.0.1 255.255.255.252
  131. \end{minted}
  132. lub można skorzystać z \texttt{GUI}
  133. \item Konfiguracja interfejsu FastEthernet 0/1
  134. Sieć 192.168.0.192/26
  135. Należy wpisać poprzez terminal poniższe komendy, by ustawić statyczny adres \texttt{IP} interfejsu \texttt{FastEthernet 0/1}:
  136. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  137. enable
  138. configure terminal
  139. interface fastethernet 0/1
  140. ip address 192.168.0.193 255.255.255.192
  141. \end{minted}
  142. lub można skorzystać z \texttt{GUI}
  143. \begin{figure}[htbp]
  144. \centering
  145. \includegraphics[width=.9\linewidth]{./images/zad4_2.png}
  146. \caption{Skonfigurowane interfejsy}
  147. \end{figure}
  148. \FloatBarrier
  149. \end{itemize}
  150. \subsection{Pingowanie}
  151. \label{sec:org9b3035d}
  152. \begin{figure}[htbp]
  153. \centering
  154. \includegraphics[width=.9\linewidth]{./images/zad4_3.png}
  155. \caption{Ping}
  156. \end{figure}
  157. \FloatBarrier
  158. Udało się pomyśnie przesłać sygnału ICMP pomiędzy hostami \texttt{PC1} a \texttt{PC0}
  159. \section{Zadanie 5}
  160. \label{sec:org2f8790e}
  161. \begin{figure}[htbp]
  162. \centering
  163. \includegraphics[width=.9\linewidth]{./images/zad5_1.png}
  164. \caption{Zbudowana struktura sieci komputerowej}
  165. \end{figure}
  166. \FloatBarrier
  167. \subsection{Konfiguracja haseł}
  168. \label{sec:orgc076f2a}
  169. \begin{enumerate}
  170. \item Dla routera
  171. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  172. enable
  173. configure terminal
  174. line aux 0
  175. password bazapass
  176. login
  177. \end{minted}
  178. \item Dla konsoli
  179. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  180. enable
  181. configure terminal
  182. line console 0
  183. password konsolapass
  184. login
  185. \end{minted}
  186. \item Na połączenia Telnet
  187. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  188. enable
  189. configure terminal
  190. line vty 0 15
  191. password telnetpass
  192. login
  193. \end{minted}
  194. \end{enumerate}
  195. \subsection{Konfiguracja interfejsów}
  196. \label{sec:orgd07432b}
  197. \begin{enumerate}
  198. \item Dla fastethernet 0/0
  199. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  200. enable
  201. configure terminal
  202. interface fastethernet 0/0
  203. ip address 10.0.0.1 255.255.255.252
  204. \end{minted}
  205. \item Dla fastethernet 0/1
  206. \begin{minted}[frame=lines,linenos=true,breaklines=true,breakanywhere=true]{text}
  207. enable
  208. configure terminal
  209. interface fastethernet 0/1
  210. ip address 192.168.0.254 255.255.255.192
  211. \end{minted}
  212. \end{enumerate}
  213. \subsection{Konfiguracja routingu}
  214. \label{sec:orga9bcff6}
  215. \begin{figure}[htbp]
  216. \centering
  217. \includegraphics[width=.9\linewidth]{./images/zad5_3.png}
  218. \caption{Ustawienia Routingu}
  219. \end{figure}
  220. \FloatBarrier
  221. \subsection{Ping}
  222. \label{sec:org201423f}
  223. Nie udało mi się nawiązać połączenia pomiędzy komponentami
  224. \end{document}