TCP/IP Flashcards
WHAT IS THE ROLE OF TCP/IP
ENABLES different devices to communicate.
What are the 4 layers of TCP/IP
- Application
2.Transport.
3.internet/ network
4 . Link
Role of Application
Selects and uses the correct protocol to transmit data.
Transport layer?
Establishes an end to end connection between the receiver and the sender.
Splits the transmission into packets.
Each packet has a sequence number which identifies a packets position in relation to their packets that form part of the same message.
Each packet has a port number which identifies which protocol is to be used.
Eg: port 443 HTTPS
NETWORK ?
PROVIDES the correct IP address for each packets source and destination.
Also routers work here , use IP addresses on a packet to send it to its destination.
LINK ??
Control physical connections between pieces of hardware in a network.
Adds MAC ADDRESSES to packets which it receives from the network layer.
MAC(media access control ) are unique to every device.
MAC addresses identify the hardware to which a packet should be sent and they change after every hop.
What happens once a packet has been received by its intended recipient?
ITs stripped off all its extra information and basically reverse TCP/IP
Name the steps once a packet is at its receiving end
- Link layer removes the MAC addresses from the packet.
2.Network layer removes the IP addresses - Transport layer uses the port number to determine the correct application to send the packet to.
- Transport layer uses the sequence number to ensure that the packets are in the correct order.
- APPLICATION LAYER receives the packets and displays the information to the user.
What is a socket address?
What is its purpose ?
When the IP address is combined with the port number.
So first u write the IP address followed by a colon and then the port number.
Identifies which of the applications on the recipients device a packet should be sent to.
What is FTP port no. And explain the purpose for it?
File Transfer Protocal
20 & 21
Sends files between devices and clients can access FTP serves anonymously and non - anonymously
SSH port no. ?
Purpose ?
Secure Shell
22
Allows for remote management of computers and it requires a username and password and encrypts the info.
SSH clients?
Software that makes a TCP connection to a remote port.
Once a connection is made commands for application level protocols are sent to a remote computer
HTTP port no. ?
Purpose?
Hypertext transfer protocal.
80
Basically application software receives text files and gives them a web page, this is because web servers hold web pages.
HTTPS port no. ?
Purpose?
Hypertext transfer protocal secure.
443
Performs same function as http but encrypts info during transmission .
This keeps the info sent by the client secure and also prevents from info being tampered with or modified during transmission
POP3 port no. ?
Purpose??
Post office protocal 3
110 & 995
Used for retrieving emails form an email server . Communicates with email servers to check and download new messages.