Tcpip
From Mycomputer Notes
(→The OSI Model and TCP/IP Model) |
(→The OSI Model and TCP/IP Model) |
||
Line 110: | Line 110: | ||
=== The OSI Model and TCP/IP Model=== | === The OSI Model and TCP/IP Model=== | ||
- | {| | + | {| border="1" |
|- | |- | ||
| | | | ||
Line 125: | Line 125: | ||
| width="167" align="center" | Network Access | | width="167" align="center" | Network Access | ||
|} | |} | ||
- | |||
| | | | ||
{| border="1" width="35%" id="table2" | {| border="1" width="35%" id="table2" |
Revision as of 20:20, 12 March 2006
Contents |
Introduction to TCP/IP
In this chapter we learn about the Transmission Control Protocol/Internet Protocol (TCP/IP). We will compared the TCP/IP Model to the OSI Model, we will discribe and identified each Layer of the TCP/IP model We will discuss the type of IP Addresses (Class A, Class B, Class C, Class D).
The TCP/IP model was created by the US Department of Defense (DoD)because it wanted a network that could survive under any conditions. The DoD wanted any packet to to reach its destination every single time and under any comdition; from any point to any point. Under this conditions the TCP/IP model was created and since then it has become the standard on which the Internet has grown.
For those who one to read a bit more about this topic outside this Wiki you can read the article from Wikepedia[1]
TCP/IP Model
Layer 4 | APPLICATION |
Layer 3 | TRANSPORT |
Layer 2 | INTERNET |
Layer 1 | NETWORK ACCESS |
Application Layer
The application layer handles high level protocols an issues of :
- Representation
- Encoding
- Dialog Control
The TCP/IP protocol suites combines all applications related issues into a single layer and ensures that this data is properly packaged to the next layer. Besides Internet and transportation protocols TCP/IP also includes common protocols to support common applications like email, file transfer and remote loging:
- HTTP
- TFTP
- FTP
- NFS
- SMTP
- Telnet
- SNMP
- DNS
Transport Layer
The transport layer provides transport services from the source host to the destination hos. The transport layer creates a logical connection the sending and receiving host. The Transport protocol (TCP or UDP) segments and re assambles upper layer applications into the same data streams between end points . This layer provides end to end transport services. The tranport layer user two protocols:
- UDP
Its primary duty is to transport data from source to destination.
- TCP
Provides end-to-end control by sliding windows and reliability in sequencing numbers and acknowledgments.
Services Provided by both Protocols
UDP Services | TCP Services |
|
|
Internet Layer
All upper and lower layer communications travel through the TCP/IP protocol stack (Application, Transport, Internet and Network ). The purpose ot the Internet layer is to send packet from a device using the correct protocol that functions at this layer. Best path determination and packet switching occur at this layer. Protocols that operates at this layer are:
- IP
- ICMP
- ARP
- RARP
- Internet Protocol (IP)
Provides connectionless , best effort delivery routing of packets. IP is not concerned with the content of the packet. Instedad, It looks for a way to moved the packets to their destination. IP performs the folowing operations:
- Defines a packet and addressing scheme.
- Transferring data between the Internet Layer and the network access layer.
- Routing packets to remote hosts.
- Internet Control Message Protocol (ICMP)
Provides control and messaging capabilities
- Address Resolution Protocol (ARP)
Determines the data link layer addresses (MAC) for known IP addresses.
- Reverse Address Resolution Protocol (RARP)
Determines IP addresses when data link layer addresses (MAC) are known.
Network Access Layer
This layer is concerned with all the issues that an IP packer requires to make a physical link to the network medium.(LAN & WAN technologies) Network Access Functions included mapping IP addresses to physical hardware addresses adn encapsulating IP packets into frames. Based on the hardware type of the network interface, the network access layer define the connection with the physical network medium. Technologies that work in this layer are:
- Ethernet
- Fast Ehternet
- SLIP and PPP
- FDDI
- ATM
- ARP
- RARP
The OSI Model and TCP/IP Model
|
|
- Similarities
- Both have layers.
- Both have Application Layers but the services are different.
- Both have comparable transport and network layers.
- Packet switched (not circuit switched technology is assumed.
- Differences
- TCP/IP combines (Presentation & Session) = Application Layer
- TCP/IP combines (Data Link & Physical ) = Networks Access Layer
- TCP/IP appears simplier because it has fewer layers.
- The TCP/IP transpoer layer using UDP does not always guarantee reliable delivery of packets, as the transport layer in the OSI Model.
- TCP/IP protocols sre the standard around which the Internet developed, so the TCP/IP modek gains credibility because of the protocols. On the other hand the OSI Model is used as a guide to understand the communication
process and does not have a OSI Protocol