%% $Header: /cvsroot/lcdp/lpic/general-linux-2/slides/gl2.112.1.slides.tex,v 1.1 2003/09/10 01:40:47 geoffr Exp $ \input{gl2.slide-header.tex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %----10->|-----20->|-----30->|-----40->|-----50->|-----60->|-----70->|-----80-> \begin{slide} %================================================================ \begin{center} \LARGE \textsf{-- General Linux 2 -- \\ Fundamentals of TCP/IP} \LARGE \textsf{[4] } \\[2mm] \large \textsf{(Linux Professional Institute Certification)}\\[1mm] \normalsize\end{center} \footnote{Copyright \copyright\ 2003 Geoffrey Robertson. Permission is granted to make and distribute verbatim copies or modified versions of this document provided that this copyright notice and this permission notice are preserved on all copies under the terms of the GNU General Public License as published by the Free Software Foundation---either version 2 of the License or (at your option) any later version.} \scriptsize \begin{verbatim} .~. /V\ by: geoffrey robertson // \\ geoffrey@zip.com.au @._.@ \end{verbatim} \tiny \begin{verbatim} $Id: gl2.112.1.slides.tex,v 1.1 2003/09/10 01:40:47 geoffr Exp $ \end{verbatim} \normalsize \vfill \end{slide} %----------------------------------------------------------- %----10->|-----20->|-----30->|-----40->|-----50->|-----60->|-----70->|-----80-> %============================================================================== %============================================================================== \begin{slide} %ghr \slideheading{(2.2) Networking Fundamentals [14]} \begin{description} \item[1.112.1] {\bf \underline{Fundamentals of TCP/IP [4]}} \item[1.112.3] TCP/IP configuration and troubleshooting [7] \item[1.112.4] Configure Linux as a PPP client [3] \end{description} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== %============================================================================== \begin{slide} %ghr \slideheading{Fundamentals of TCP/IP [4]} \slidesubheading{Objective} Candidates should demonstrate a proper understanding of network fundamentals. This objective includes the understanding of IP-addresses, network masks and what they mean (i.e. determine a network and broadcast address for a host based on its subnet mask in "dotted quad" or abbreviated notation or determine the network address, broadcast address and netmask when given an IP-address and number of bits). It also covers the understanding of the network classes and classless subnets (CIDR) and the reserved addresses for private network use. It includes the understanding of the function and application of a default route. It also includes the understanding of basic internet protocols (IP, ICMP, TCP, UDP) and the more common TCP and UDP ports (20, 21, 23, 25, 53, 80, 110, 119, 139, 143, 161). \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide} %ghr \Slideheading{Fundamentals of TCP/IP [4]} \slidesubheading{Key files, terms, and utilities} \begin{alltt} /etc/services ftp telnet host ping dig traceroute whois \end{alltt} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide} %ghr \Slideheading{Fundamentals of TCP/IP [4]} \slidesubheading{Resources of interest} TCP/IP Illustrated, Volume 1 \\ The Protocols\\ \texttt{by W. Richard Stevens}\\ \textsf{Addison Wesley} LPIC 1 Certification Bible\\ \textit{Angie Nash and Jason Nash}\\ \textsf{Hungry Minds} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP addressing} This objective includes the understanding of IP-addresses, network masks and what they mean (i.e. determine a network and broadcast address for a host based on its subnet mask in "dotted quad" or abbreviated notation or determine the network address, broadcast address and netmask when given an IP-address and number of bits). \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP Address Classes (Classic)} {\small \overlay{1} \slidesubheading{Class A - 255.0.0.0} \begin{alltt} \underline{0}0000000.00000000.00000000.00000000 - 0.0.0.0 \underline{0}1111111.11111111.11111111.11111111 - 127.255.255.255 \end{alltt} \overlay{2} \slidesubheading{Class B - 255.255.0.0} \begin{alltt} \underline{10}000000.00000000.00000000.00000000 - 128.0.0.0 \underline{10}111111.11111111.11111111.11111111 - 191.255.255.255 \end{alltt} \overlay{3} \slidesubheading{Class C - 255.255.255.0} \begin{alltt} \underline{110}00000.00000000.00000000.00000000 - 192.0.0.0 \underline{110}11111.11111111.11111111.11111111 - 223.255.255.255 \end{alltt} } \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP Address - Loopback} Reserved Space 127.0.0.0 --- 127.255.255.255 127.0.0.1 localhost \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP Address - Private Networks} There are IP ranges set aside for privite address spaces. These should not be made visible on the internet. \slidesubheading{Class A} \begin{alltt} 10.0.0.0 --- 10.255.255.255 \end{alltt} \slidesubheading{Class B} \begin{alltt} 172.16.0.0 --- 172.32.255.255 \end{alltt} \slidesubheading{Class C} \begin{alltt} 192.168.0.0 --- 192.168.255.255 \end{alltt} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP Address - Subneting} \begin{alltt} Network: 192.168.192.0 Subnet: 255.255.255.224 \end{alltt} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{IP Address - Default Route} \begin{alltt} # route add default gw 192.168.1.1 \end{alltt} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{DoD Layer Model} \begin{description} \item[Application] ftp, telnet, mail, http protocols \item[Transport] TCP , UDP protocols \item[Network] IP, ICMP, IGMP protocols \item[Link] Ethernet, Token Ring, FDDI \end{description} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{Basic Internet Protocols} \begin{description} \item[IP] \item[ICMP] \item[TCP] \item[UDP] \end{description} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{Ports and Port Numbers} \slidesubheading{Listing the Ports} \begin{alltt} $ less /etc/services ftp 21/tcp ftp 21/udp fsp fspd ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp # SSH Remote Login Protocol telnet 23/tcp telnet 23/udp # 24 - private mail system smtp 25/tcp mail smtp 25/udp mail time 37/tcp timserver \end{alltt} \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{Ports and Port Numbers} {\small \begin{description} \item[FTP] 20, 21 \item[Telnet] 23 \item[SSH] 22 \item[smtp] 25 \item[DNS] 53 \item[http] 80 \item[pop3] 110 \item[nntp] 119 \item[netbios] 137, 138, 139 \item[imap2] 143 \item[snmp] 161 \end{description} } \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{}%ghr \slideheading{Port Number vRanges} \slidesubheading{1-255} Original reserved ports (till 1992) (256-1023 UNIX) \hrulefill \slidesubheading{1-1023} Well Known or Famous Port Numbers - Reserved \slidesubheading{1024-65535} Unprivileged \vfill \end{slide} %----------------------------------------------------------- %============================================================================== \begin{slide}{} %ghr \heading{The End} \Slidecontents \vfill \end{slide} %----------------------------------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %============================================================================== %============================================================================== \begin{slide}{} \slideheading{} \vfill \end{slide} %----------------------------------------------------------- ============================================================================= \begin{slide}{} \end{slide} %------------------------------------------------------------------ %============================================================================== \begin{slide}{} %ghr \Slidecontents \vfill \end{slide} %-----------------------------------------------------------