om
on
si
rm
is
Su re
n dis
M tr
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
WS-3990
no
td
up
lic
at
or
Copyright 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and
decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of
Sun and its licensors, if any.
fr
om
Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.
on
Sun, Sun Microsystems, the Sun logo, JumpStart, OpenBoot, Solaris, Solstice DiskSuite, Sun Blade, Sun BluePrints, Sun Enterprise, Sun Fire,
Sun Quad FastEthernet, Sun StorEdge, Sun Trunking, and Ultra are trademarks or registered trademarks of Sun Microsystems, Inc. in the
U.S. and other countries.
si
All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and
other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.
rm
is
UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd.
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
The OPEN LOOK and Sun Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges
the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry.
Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Suns licensees who
implement OPEN LOOK GUIs and otherwise comply with Suns written license agreements.
U.S. Government approval might be required when exporting the product.
RESTRICTED RIGHTS: Use, duplication, or disclosure by the U.S. Government is subject to restrictions of FAR 52.227-14(g)(2)(6/87) and
FAR 52.227-19(6/87), or DFAR 252.227-7015 (b)(6/95) and DFAR 227.7202-3(a).
DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS, AND
WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
INVALID.
no
td
up
lic
at
or
Please
Recycle
Copyright 2003 Sun Microsystems Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits rservs.
Ce produit ou document est protg par un copyright et distribu avec des licences qui en restreignent lutilisation, la copie, la distribution,
et la dcompilation. Aucune partie de ce produit ou document ne peut tre reproduite sous aucune forme, par quelque moyen que ce soit,
sans lautorisation pralable et crite de Sun et de ses bailleurs de licence, sil y en a.
fr
om
Le logiciel dtenu par des tiers, et qui comprend la technologie relative aux polices de caractres, est protg par un copyright et licenci
par des fournisseurs de Sun.
on
Sun, Sun Microsystems, the Sun logo, JumpStart, OpenBoot, Solaris, Solstice DiskSuite, Sun Blade, Sun BluePrints, Sun Enterprise, Sun Fire,
Sun Quad FastEthernet, Sun StorEdge, Sun Trunking, et Ultra sont des marques de fabrique ou des marques dposes de Sun
Microsystems, Inc. aux Etats-Unis et dans dautres pays.
rm
is
si
Toutes les marques SPARC sont utilises sous licence sont des marques de fabrique ou des marques dposes de SPARC International, Inc.
aux Etats-Unis et dans dautres pays. Les produits portant les marques SPARC sont bass sur une architecture dveloppe par Sun
Microsystems, Inc.
UNIX est une marques dpose aux Etats-Unis et dans dautres pays et licencie exclusivement par X/Open Company, Ltd.
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Linterfaces dutilisation graphique OPEN LOOK et Sun a t dveloppe par Sun Microsystems, Inc. pour ses utilisateurs et licencis.
Sun reconnat les efforts de pionniers de Xerox pour larecherche et le dveloppement du concept des interfaces dutilisation visuelle ou
graphique pour lindustrie de linformatique. Sun dtient une licence non exclusive de Xerox sur linterface dutilisation graphique Xerox,
cette licence couvrant galement les licencis de Sun qui mettent en place linterface dutilisation graphique OPEN LOOK et qui en outre
se conforment aux licences crites de Sun.
Laccord du gouvernement amricain est requis avant lexportation du produit.
no
td
up
lic
at
or
Please
Recycle
fr
om
Objectives
rm
is
si
on
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
The following course map shows how this module fits into the current
instructional goal.
ConfiguringtheNetworkInterfaceLayer
Introducing
LANsand
Their
Components
Describing
Ethernet
Interfaces
Describing
ARPand
RARP
or
Introducingthe
TCP/IP
Model
Course Map
no
td
up
lic
at
Figure 1-1
1-1
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision A.1
fr
om
si
on
Network Protocols
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
Functions of Protocols
lic
at
or
no
td
up
1-2
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
si
on
fr
om
Model = structure
Layer = functions
Protocol = rules
or
lic
at
Simplifies troubleshooting
no
td
up
1-3
fr
om
Table 1-1 shows that the TCP/IP model is a four-layered structure resting
on a common hardware platform. The TCP/IP model was developed by
the Department of Defense (DOD) in 1979. It has standards that are
defined and described in Request for Comment (RFC) documents.
Application
Internet
lic
at
or
Network
Interface
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Transport
si
Description
rm
is
TCP/IP Layer
on
no
td
up
RFCs are a frame of reference for describing the protocol architecture and
functions specific to the TCP/IP protocol stack. For a complete listing of
RFCs, visit http://www.ietf.org/rfc.html.
1-4
Detecting errors
Framing packets
si
on
fr
om
Figure 1-2 shows the Network Interface layer. The primary functions of
this layer are:
rm
is
TCP/IPLayers
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
ApplicationLayer
TransportLayer
InternetLayer
Packet
dataunit
NetworkInterfaceLayer
HardwareLayer
Figure 1-2
Preamble
Destination
Address
Source
Address
Type
Data
CRC
no
td
up
lic
at
or
Figure 1-3
Structure of a Frame
1-5
fr
om
si
on
Internet Layer
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
Routing data
TCP/IPLayers
ApplicationLayer
TransportLayer
Datagram
lic
at
or
InternetLayer
no
td
up
Figure 1-4
1-6
NetworkInterfaceLayer
HardwareLayer
Using a routing table, the Internet layer determines the next directly
accessible node in route to the packets destination. This node is either the
destination itself or the most immediate gateway to the destination. The
Internet layer uses the Internet Protocol (IP) and Internet Control Message
Protocol (ICMP). The IP is responsible for fragmenting and routing data,
while ICMP assists routing, and performs error detection and other
network management tasks. IP encapsulates data into datagrams, which
in turn are encapsulated inside Network Interface layer PDUs.
Transport Layer
fr
om
si
on
TCP/IPLayers
TransportLayer
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Segment
or
datagram
rm
is
ApplicationLayer
InternetLayer
NetworkInterfaceLayer
HardwareLayer
Figure 1-5
Sequencing
lic
at
or
Flow control
no
td
up
1-7
on
si
fr
om
rm
is
Application Layer
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
The top layer of TCP/IP is the Application layer. Figure 1-6 shows the
location of this layer.
TCP/IPLayers
Stream
or
message
ApplicationLayer
TransportLayer
InternetLayer
lic
at
or
NetworkInterfaceLayer
no
td
up
Figure 1-6
HardwareLayer
1-8
The Application layer includes all the processes that use Transport layer
protocols to deliver data to the Internet layer. There are many application
protocols, and new protocols are frequently added.
Some common TCP/IP applications include:
Telnet Protocol
on
fr
om
rm
is
si
Presenting data If end users specify how they want their data
presented to them, the Application layer makes sure that it reaches
the end users in this format. A common syntax ensures compatibility
between various end-user applications and machines. The
Application layer also provides translations between locally
represented data and data used for transfer between end systems.
no
td
up
lic
at
or
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
1-9
fr
om
si
on
Peer-to-Peer Communication
SourceSystem
ApplicationX
DestinationSystem
ApplicationY
TransportLayer
UserData
Messageor
Stream
A-PDU
Segmentor
Datagram
or
TH
InternetLayer
IH
lic
at
T-PDU
td
up
NH
no
HardwareLayer
I-PDU
Datagram
TH
IH
NT Frame NH
UserData
Application
Layer
A-PDU
TransportLayer
InternetLayer
T-PDU
I-PDU
Signal
NT
Network
InterfaceLayer
HardwareLayer
CommunicationPath
PhysicalTransmissionMedium
Peer-to-Peer Communication
Decapsulation
Encapsulation
Application
Layer
Network
InterfaceLayer
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
Each layer on the sender encapsulates the data and adds header
information about the corresponding protocol layer. The header
information helps the receiving host decapsulate the data and direct the
message to the appropriate application. Figure 1-7 shows how header (H)
and trailer (T) information is added or removed as the PDUs traverse each
layer.
Figure 1-7
1-10
Headers and trailers are added before the data is passed down to the
next successive layer
fr
om
Headers and trailers are removed before the data is passed up to the
next layer
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
TCP/IP Protocols
rm
is
si
on
Description
1055
SLIP
1661
PPP
no
td
up
lic
at
or
RFC
1-11
Description
826
ARP
903
RARP
791, 950,
919, 922
IP
792
ICMP
2401,
2406,
2402,
2407,
IPSecrelated
RFCs
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
si
on
fr
om
RFC
2408
no
td
up
lic
at
or
ISAKMP
1-12
Description
793
TCP
768
UDP
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
si
on
fr
om
RFC
854, 855
Telnet
1258, 1280
Remote login
2131
DHCP
td
up
D
no
DNS
FTP
lic
at
959
Description
or
1034, 1035
Protocol
1-13
Description
2821
SMTP
1157
SNMP
1939
POP3
2060
IMAP4
1945, 2068
HTTP
None
SSH
SCP
rm
is
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
or
e
lic
at
no
td
up
None
si
on
fr
om
RFC
1-14
fr
om
Tasks
si
List the layers of the TCP/IP network model by their name and
function.
rm
is
1.
on
Name:_______________________________________________________
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Function: ____________________________________________________
Name:_______________________________________________________
Function: ____________________________________________________
Name:_______________________________________________________
Function: ____________________________________________________
Name:_______________________________________________________
Function: ____________________________________________________
In your own words, define the term peer-to-peer.
or
2.
lic
at
_____________________________________________________________
_____________________________________________________________
no
td
up
3.
1-15
ARP
b.
IP
c.
TCIP
d.
ICMP
on
b.
c.
d.
Headers and trailers are added before the data is passed down
to the next successive layer.
rm
is
si
a.
e
lic
at
td
up
no
o
D
1-16
fr
om
a.
or
5.
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
4.
Exercise Summary
Exercise Summary
fr
om
Experiences
rm
is
si
on
Manage the discussion based on the time allowed for this module, which was provided in the About This
Course module. If you do not have time to spend on discussion, highlight just the key concepts students
should have learned from the lab exercise.
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Ask students what their overall experiences with this exercise have been. Go over any trouble spots or
especially confusing areas at this time.
Interpretations
Ask students to interpret what they observed during any aspect of this exercise.
Conclusions
Have students articulate any conclusions they reached as a result of this exercise experience.
Applications
no
td
up
lic
at
or
Explore with students how they might apply what they learned in this exercise to situations at their workplace.
1-17
Exercise Solutions
Exercise Solutions
List the layers of the TCP/IP network model by their name and
function.
fr
om
1.
Name: Application
rm
is
Name: Transport
si
on
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
Function: Manages the delivery of data across the physical network. This
layer provides error detection and packet framing.
2.
td
up
lic
at
or
no
4.
1-18
5.
ARP
d.
ICMP
d.
Headers and trailers are added before the data is passed down to the
next successive layer.
no
td
up
lic
at
or
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
si
on
fr
om
Exercise Solutions
1-19
no
td
up
lic
at
or
Su re
n di
M str
ic ib
ro u
sy t e
st w
em i t h
s, o u
In t p
c. e
rm
is
si
on
fr
om
Exercise Solutions
1-20