Networking Flashcards
Where is the HTTP protocol used?
Worldwide Web
What is the SMTP protocol used for?
Sending/receiving emails
What is the FTP protocol used for?
File transfers over a network
What is the SMB protocol used for?
Shared folder access over a network
What are port numbers used for?
Since applications do not have direct access to network hardware, the OS will help service the network requests. The OS will assign each application a random port number, so that data packets can be passed back to the correct application.
What does 127.0.0.1 refer to?
loopback network interface/localhost
What is the name of the packet forwarding model used by the TCP and UDP protocols?
Unicasting, whereby data is forwarded from server to server, until it reaches its destination.
What is packet forwarding?
It is the process where data is sent from computer to computer until it reaches its destination.
How does unicast packet forwarding work?
Each computer on the network is connected to a gateway. When an application needs to send data to a destination (IP address), the computer checks all other computers connected to it to see if the destination is listed there. If not, the data is forwarded to the computer’s gateway. At the gateway, the process is repeated. If the destination is not in the list of computers in the gateway, the data is forwarded to the next gateway and checked again until the destination is found and the packet is sent to the destination.
What happens when the DNS client encounters a domain name as the destination in a request?
- DNS client initiates a DNS lookup request, which is sent to the DNS server.
- DNS server checks its own DNS records for the domain name. If DNS record is found, DNS server returns response with the requested IP address. Otherwise, it forwards the request to the next DNS server.
- DNS lookup requests which are unable to find a match in a DNS server finally end up being forwarded to the root name server (part of a network containing other root name servers), which then returns a list of the authoritative name servers for the appropriate top-level domain
- This lookup request can then be forwarded to the appropriate top-level domain (TLD) server which contains the record.
What is the DNS cache?
It is a location where the computer stores the IP addresses returned for the domains. This is done so that next time a DNS lookup is requested, the computer checks in the DNS cache first, to minimize requests to the DNS server.
The DNS cache may need to be flushed if it gets outdated.
What do top level domains (TLDs) refer to?
Suffixes such as .gov, .edu and .com.
What is a protocol?
It is a set of rules for data transmission agreed upon by both the sender and receiver.
What is a protocol suite?
It is a collection of related protocols that are designed to work together.
What is the IP protocol?
It forms the Internet layer of the TCP/IP model.