Tcp/Ip: How The TCP/IP Protocol Stack Maps To The OSI Model OSI Layers TCP/IP Protocols
Tcp/Ip: How The TCP/IP Protocol Stack Maps To The OSI Model OSI Layers TCP/IP Protocols
TCP/IP is actually a suite, or stack, of protocols that interconnect and work together to provide
for reliable and efficient data communications across an internetwork. The major protocols of the
TCP/IP suite are:
* These are networking technologies that function at the Data Link and Physical layers.
They aren't TCP/IP protocols or a part of the TCP/IP protocol stack.
FTP
FTP is a reliable, connection-oriented tool used to copy files from one computer to another over
a TCP/IP network, such as the Internet of an intranet.
Another flavor of FTP is Trivial File Transfer Protocol (TFTP), which is an unreliable (maining
delivery is not guaranteed) file trasfer protocol. Cisco reouters use TFTP to store and retrieve
configuration files from a TFTP server.
Telnet
Telnet is a terminal emulation protocol used on TCP/IP-based networks to remotely log into a
remote device to run a program or manipulate data. Telnet was originally developed for
ARPAnet and is an inherent part of the TCP/IP communications protocol. In the Cisco world,
Telnet is used to access and configure routers from remote locations.
Protocol Type
FTP Connection-oriented
IP Connectionless
IPX Connectionless
TCP Connection-oriented
UDP Connectionless
SPX Connection-oriented
At this point, the connection is successfully established and the applications can begin
transferring data.
Both TCP and UDP use port number to move information along to the application layer.
The registering body, IANA (Internet Assigned Numbers Authority), divides port numbers into
three groups:
Well-known ports - are the most commonly used TCP/IP ports. These ports are in the range
of 0 through 1023. These ports can be used only by system processes or privileged programs.
Well-known ports are TCP ports but are usually registered to UDP services as well.
Registered ports - are in the range of 1024 through 49151. Registered ports are used on most
systems by user programs to create and control logical connections between proprietary
programs.
Dynamic (private) ports - are in the range of 49152 through 65525. These ports are
unregistered and can be used dynamically for private connections.
Well-Known Ports
TCP is a connection-oriented reliable, delivery protocol that ensures that packets arrive at their
destination error-free. Using TCP is similar to sending a registered letter. When you send the
letter, you know for sure that it will get to its destination and that you'll be notivied that it got
there in good condition.
Connection-oriented
Reliable transfer
Error-checking
Full-duplex transmission
Flow control
Multiplexing
On the Transport layer, packets are referred to as segments. The image below depicts the format
of the TCP segment:
A number of TCP/IP protocols operate on the Network layer of the OSI Model, including IP,
ARP, RARP, BOOTP, and ICMP. Remember, the OSI Network layer is concerned with routing
messages across the internetwork.