Hardware Secrets
Home | Audio | Case | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
News
Reviews
Tutorials
Main Menu
About Us
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Gabriel's Blog
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Newsletter
Subscribe today!
Search




Recommended Book
Build Your Own Wi-Fi Network (Build Your Own...(McGraw))
By
McGraw-Hill/OsborneMedia
Price: $0.37

Home » Networking
How TCP/IP Protocol Works - Part 2
Author: Gabriel Torres
Type: Tutorials Last Updated: April 9, 2007
Page: 1 of 7
$ Check REAL-TIME pricing for Linksys WRT54GS Wireless Router Products $
Dell: $69.99 HP Home & Home Office: $99.99
TigerDirect.com: $44.99 CompUSA.com: $44.99
AlishaTech: $52.55

Introduction

In our How TCP/IP Protocol Works tutorial we’ve explained the basic architecture of TCP/IP protocol and how the basic protocols involved (like TCP, UDP and IP) worked. Now it is time to get a little bit deeper, explaining other protocols and other TCP/IP functionalities we didn’t cover before, like Telnet, SSH, TFTP, DHCP, DNS, ICMP, RIP, OSPF, BGP, ARP and more.

It is important to keep in mind that there is several other protocols related to TCP/IP stack and we are only explaining the most important ones.

Terminal Services

Terminal services allow you to enter remotely on a server and have access to its shell (i.e. to its command prompt), like if you were personally in front of its keyboard and video monitor. The three most common terminal protocols are Telnet, Rlogin and SSH (Secure Shell). All do the same thing, but on SSH the connections are encrypted and thus safer. If you have to manage a server remotely, prefer using SSH instead of Telnet or Rlogin, because since Telnet and Rlogin connections aren’t encrypted, someone using a “sniffer” program – which is a kind of program that allows a hacker to read packets that are being transferred on a network – can read everything you type, including passwords.

Telnet, Rlogin and SSH are Application layer protocols and use the TCP protocol on the Transport layer, Telnet using port 23, Rlogin using port 513 and SSH using port 22.

One of the most famous Terminal client program for Windows that allows Telnet, Rlogin and SSH connections is called PuTTY (Windows comes with a Telnet utility – which can be accessed going to Start, Run, Telnet – but it doesn’t come with a SSH one).

TFTP (Trivial File Transfer Protocol)

On the first part of this tutorial we have explained about FTP, an Application layer protocol for transferring files using the TCP protocol on the Transport layer.

TFTP is a protocol for the same kind of application – transferring files – but based on UDP protocol on the Transport layer.

As you may remember, the difference between TCP and UDP is that while TCP checks whether each data packet arrived correctly at destination, UDP does not. Another difference is that TCP reorder packets that may have arrived out-of-order, while UDP doesn’t.

On the other hand, because it does not use this acknowledge system nor any reordering system, UDP packets are smaller (since UDP header is smaller than TCP header) and also require less computational power to be processed – as reordering and acknowledging aren’t necessary. It will be the application – not the protocol – that will be in charge of these functions.

For daily usage, TFTP protocol has no use, as FTP is far more reliable. However there is one kind of application that take advantage of TFTP and you should know about it: diskless remote boot (also known as RIPL, Remote Initial Program Loading).

You can have a computer with no hard disk drive or any other storage media and configure it to boot from the network, i.e. load the operating system and programs from a server. The program for loading the operating system remotely needs to be stored on a very small ROM memory located on the network card from the diskless computer. As it will need a protocol for transferring files, TFTP suits better than FTP, as TFTP clients are far smaller than FTP clients, fitting the network card ROM memory – for you to have an idea, the size of the largest ROM chips used for remote booting is only 64 KB (yes, kilobytes).

In summary, TFTP is an Application layer protocol using UDP protocol (using port 69) on the Transport layer.

Pages (7): [1] 2 3 4 5 6 7 »
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • Connecting Two PCs Using a USB-USB Cable
  • How to Discover Your Network Card Real Manufacturer
  • How to Build a Network Using a Cross-Over Cable
  • The OSI Reference Model for Network Protocols
  • How TCP/IP Protocol Works - Part 1

  • Compare Prices for Wireless RouterPowered by Shopping.com
    Linksys Wireless-N WRT150N Router
    Functionalities: Wireless Access Point, Wireless Security: WEP, WPA, WPA2, WEP: 256 bit, 128 bit
    Read full description...

    Read 6 Epinions reviews
    $80 - $117 Compare Prices
    D-link RangeBooster G? WBR-2310 Wireless Router
    108 Mbps, 802.11b/g, Functionalities: VPN Pass-Thru, Firewall, DHCP Server, LAN: 10/100 Base-T, Firewall: Stateful Packet Inspecti...
    Read full description...

    Read 6 Epinions reviews
    $40 - $143 Compare Prices
    D-link Xtreme N? DIR-655 Wireless Router
    Pre-802.11n, Functionalities: Firewall, Firewall: Stateful Packet Inspection (SPI), NAT, Wireless Security: WEP, WPA, WPA2, WEP: 4...
    Read full description...

    Read 16 Epinions reviews
    $117 - $180 Compare Prices
    Linksys WRT54GS Wireless Router
    54 Mbps, 802.11b/g, Functionalities: VPN Pass-Thru, DHCP Server, WAN: 1 x 10/100 Base-T, LAN: 10/100 Base-T, Firewall: Stateful Pa...
    Read full description...

    Read 148 Epinions reviews
    $45 - $105 Compare Prices
    Linksys WRT300N Wireless Router
    54 Mbps, Pre-802.11n, Functionalities: Wireless Access Point, VPN Pass-Thru, Firewall, DHCP Server, WAN: 1 x 10/100 Base-T, LAN: 1...
    Read full description...

    Read 8 Epinions reviews
    $51 - $152 Compare Prices

    RSSLatest News
    Transcend Releases aXeRam DDR3-1800
    July 4, 2008 - 2:06 PM
    Leadtek Launches WinFast PX9800 GTX+
    July 4, 2008 - 11:44 AM
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    July 4, 2008 - 9:22 AM
    Arctic Cooling Launches Accelero TWIN TURBO
    July 3, 2008 - 11:27 AM
    Cooler Mater V8 CPU Cooler
    July 3, 2008 - 10:59 AM
    New DDR3 Intel Extreme Memory Series From OCZ
    July 2, 2008 - 2:59 PM
    New AMD Phenom Processors
    July 2, 2008 - 2:21 PM
    OCZ Announces Core Series SATA-300 2.5" SSD
    July 2, 2008 - 6:45 AM
    Lian Li Launches PC-A77 Case
    July 1, 2008 - 11:48 AM
    BFG Announces Factory-Overclocked GeForce GTX 260 Graphics Cards
    July 1, 2008 - 7:48 AM
    .:: More News ::.

    RSSLatest Content
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    DirectX Versions
    All Phenom Models
    Everything You Need to Know About Serial ATA
    Sapphire HD 4850 Video Card Review
    How Things Are Around Here
    Gigabyte GA-EP31-DS3L Motherboard
    Zalman FPSGun FG1000 Mouse Review
    AMD ATI Chips Comparison Table
    Amazon Kindle Review
    Tagan A+ Black Pearl Case Review
    Western Digital VelociRaptor WD3000GLFS Hard Disk Drive Review
    The new GeForce 9800 GTX+ and PhysX
    Sapphire Atomic HD 3870 X2 Video Card Review
    nVidia Chips Comparison Table

    Our Most Popular Articles
    Maximum CPU Temperature
    723,550 views
    nVidia Chips Comparison Table
    452,045 views
    AMD ATI Chips Comparison Table
    406,927 views
    ATI Radeon X1300 Pro Review
    401,822 views
    ATI Radeon X1600 XT Review
    396,780 views
    How to Find Out Your Motherboard Manufacturer and Model
    348,024 views
    Connecting Two PCs Using a USB-USB Cable
    317,837 views
    How To Correctly Apply Thermal Grease
    302,360 views
    Sempron vs. Athlon XP
    271,957 views
    Sempron 3400+ Review
    261,769 views

    Latest Threads in Our Forums
    Transcend Releases aXeRam DDR3-1800
    by Hardware Secrets Team
    Leadtek Launches WinFast PX9800 GTX+
    by Hardware Secrets Team
    Urgent, Asus My Logo killed my Mobo
    by Viper Masse
    Modding a PSU for hobby purposes, combining rails?
    by Vantskruv
    MSI Launches Factory-Overclocked Radeon HD 4870 Graphics Card
    by Hardware Secrets Team
    P5q Deluxe
    by BedCommando
    Celeron, Pentium Dual Core and Athlon X2: Which One is the Best USD 70 CPU?
    by Cheetos
    Nu Build
    by Cheetos
    Arctic Cooling Launches Accelero TWIN TURBO
    by Cheetos
    Cooler Mater V8 CPU Cooler
    by Hardware Secrets Team
    .:: Visit Our Forums ::.

    © 2004-8, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)