Describe the function of FTP, TFTP and PING Flashcards
What are the two main modes of FTP operation?
Active Mode: The client opens a random port and listens, while the server connects to that port.
Passive Mode: The server opens a random port and listens, while the client connects to that port.
What ports does FTP use by default?
FTP uses port 21 for control commands and port 20 for data transfer in active mode.
What does TFTP stand for and what is its primary function?
TFTP stands for Trivial File Transfer Protocol.
Its primary function is to transfer files between devices over a network, typically used for booting diskless workstations, routers, and switches.
How does TFTP differ from FTP in terms of complexity and functionality?
TFTP is simpler and less feature-rich than FTP.
It does not provide authentication or encryption and uses UDP instead of TCP for data transfer.
What port does TFTP use?
TFTP uses UDP port 69.
What protocol does PING use?
PING uses the Internet Control Message Protocol (ICMP).
What is the difference between FTP and TFTP in terms of reliability?
TP is more reliable than TFTP as it uses TCP, which ensures error checking and guarantees delivery.
TFTP uses UDP, which does not guarantee delivery or error checking.
Why might TFTP be chosen over FTP in certain scenarios?
TFTP might be chosen over FTP in scenarios where simplicity, speed, and minimal configuration are required, such as in booting network devices or transferring firmware.