TCPIP Protocol Suite
A protocol is a set of rules and conventions that govern how devices on a network exchange information. This section discusses one of the more commonly used protocol suites: TCP/IP. This discussion does not provide sufficient information for an in-depth study of TCP/IP. Nevertheless, TCP/IP needs to be covered to some degree so that you can better understand the overall operation of network protocols; these discussions are expanded in later chapters concerning OSPF.
The TCP/IP protocol suite is also referred to as the TCP/IP stack, and it is one of the most widely implemented internetworking standards in use today. The term TCP/IP literally means Transmission Control Protocol/Internet Protocol. TCP and IP are the two core protocols that exist within the TCP/IP protocol suite, and their place in the TCP/IP protocol stack is clarified in the following paragraphs.
TCP/IP was originally developed for ARPAnet, a U.S. Government packet-switched WAN, over 25 years ago. Although at the time, the Internet was a private network and TCP/IP was designed specifically for use within that network, TCP/IP has since grown in popularity and is one of the most open protocols available for use in networks today. This growth and popularity is primarily due to TCP/IP's capability to connect different networks regardless of their physical environments. This has made TCP/IP today's de facto standard on the Internet and in the majority of today's networks, large and small.
TCP/IP is not 100 percent compatible with the OSI reference model; however, TCP/IP can run over OSI-compliant lower layers, such as the data link and physical layers of the OSI model. TCP/IP can communicate at the network layer as well using IP. Essentially, layers 3 and below in the OSI reference model are close to the original TCP/IP structure. Figure 1-5 illustrates this mapping of layers between the OSI model and the TCP/IP protocol.
Figure 1-5 OSI Model-to-TCP/IP Mappings
OSI Model
TCP/IP Model
OSI Model
|
y |
/ |
|
|
7 |
Application |
/ |
|
6 |
Presentation |
/ |
|
5 |
Session |
/ |
|
4 |
Transport |
|
|
3 |
Network |
|
|
2 |
Data Link |
|
|
1 |
Physical |
< |
Application
Transport
Network
Data Link
Physical
TCP/IP Protocol Suite 15
TCP/IP Functions
Whereas OSI was a structure for networks, you can consider TCP/IP the language of the networks. When combined, networks create a diverse and powerful network—the Internet. This section reviews the major functionality of TCP/IP in general and then TCP and IP in turn.
The term segment describes a unit of data at the TCP layer. At the IP layer, it is called a packet, and at the lower layers, it is called a frame. The various names are shown in Figure 1-3.
If a message is too large for the underlying network topology, it is up to the IP layer to fragment the datagram into smaller parts. For example, Ethernet frame sizes differ from what is allowable in Token Ring; therefore, IP handles the size changes as needed.
Different paths might be available through the Internet, between a source and a destination station. Fragments of a datagram might take different paths through a network. So, when messages arrive at the destination station, the IP protocol stack must sequence them and reassemble them into their original datagram. Each datagram or fragment is given an IP header and is transmitted as a frame by the lower layers.
NOTE In addition to the two network layer protocols (IP and Internet control message protocol
[ICMP]) and the two transport layer protocols (TCP and UDP), the TCP/IP suite includes a cluster of protocols that operates at the upper layers, such as FTP, Telnet, and so on. Some of these are TCP/IP-specific, and some are protocols that can run with TCP/IP but originate elsewhere; however, discussion of these advanced protocols is beyond the scope of this book.
A good resource for further reading on the subject of TCP/IP is TCP/IP Illustrated, Volume 1, by Richard Stevens. It is somewhat dated in its examples, but the text is definitive. Also, by the time you read this, Stevens's second edition should be published. Hopefully, the high standards of the original volume will be maintained because Mr. Stevens has regretfully passed away and did not revise the first edition.
TCP Overview
Within this suite of protocols, TCP is the main transport layer protocol that offers connection-oriented transport services. TCP accepts messages from upper-layer protocols and provides the messages with an acknowledged reliable connection-oriented transport service to the TCP layer of a remote device. TCP provides five important functions within the TCP/IP protocol suite:
• Provides format of the data and acknowledgments that two computers exchange to achieve a reliable transfer
• Ensures that data arrive correctly
• Distinguishes between multiple destinations on a given machine
16 Chapter 1: Networking and Routing Fundamentals
Explains how to recover from errors
Explains how a data stream transfer is initiated and when it is complete
IP Overview
IP is the main network-layer protocol. It offers unreliable, connectionless service because it depends on TCP to detect and recover from lost packets when TCP is being used. Alternatively, when UDP is used, there is no recovery of lost packets because UDP does not have that capability. IP provides three important functions within the TCP/IP protocol suite:
• Defines the basic format and specifications of all data transfer used throughout the protocol suite
• Performs the routing function by choosing a path to the required destination over which data is to be sent
• Includes the previously mentioned functions as well as those covering unreliable packet delivery
Essentially, these functions cover how packets should be processed, what error message parameters are, and when a packet should be discarded.
Continue reading here: Types of Network Topologies
Was this article helpful?
Readers' Questions
-
topi1 month ago
- Reply
-
ADELMO1 month ago
- Reply
-
teresa1 month ago
- Reply
-
DEMET GIRMA2 months ago
- Reply
-
Rezene2 months ago
- Reply
-
charles3 months ago
- Reply
-
Speranza3 months ago
- Reply
-
rowan proudfoot3 months ago
- Reply
-
tom4 months ago
- Reply
-
michelle4 months ago
- Reply
-
Abdullah5 months ago
- Reply
-
primula7 months ago
- Reply
-
clinton wicker7 months ago
- Reply
-
Urho Piili7 months ago
- Reply
-
Tanja Hirvi7 months ago
- Reply
-
sabrina7 months ago
- Reply
-
riitta narjus7 months ago
- Reply
-
Teighan7 months ago
- Reply
-
annett7 months ago
- Reply
-
herugar chubb-baggins7 months ago
- Reply
-
markus7 months ago
- Reply
-
pontus8 months ago
- Reply
-
polo8 months ago
- Reply
-
Simone8 months ago
- Reply