A108 Computer Networks Flashcards

1
Q

What does ISP stand for?

A

Internet Service Provider

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a packet and what are the main items in the item header?

A

A packet is what data being transported across the internet is split into.

A packet is made up of the header and the payload.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an NIC?

A

A Network Interface Card is hardwired with a unique MAC address and allows a computer to connect to a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the steps in packet switching?

A
  1. Data is split into packets.
  2. Header is added to packet
  3. Packets are sent along the network, not necessarily along the same route
  4. Once packets arrived, they are re-ordered using their sequence number
  5. Receipt message sent from recipient to sender
  6. Transmission happens again if no confirmation message is received
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a protocol?

A

tbc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does TCP/IP stand for?

A

Transmission Control Protocol / Internet Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the four layers of the TCP/IP protocol and what does each layer do?

A
  1. Application Layer -
    The application layer uses an appropriate protocol relating to whatever application is being used to transmit data
  2. Transport Layer -
    (uses TCP)
    The transport layer is responsible for establishing the “end-to-end” connection and splitting the data into packets once the connection is made.
    To each packet, the transport layer adds:
    1. The sequence number
    2. The total number of packets
    3. The port number the packet should use
  3. Network Layer (aka internet layer)-
    (uses IP)
    Adds:
    1. Source IP address
    2. Destination IP address
      (used by routers)
  4. Link layer
    The link layer is responsible for adding the MAC addresses of the source and destination device.
    This MAC address is changed at each hop on the route
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a MAC address?

A

The Media Access Control address is a unique 12-digit hexadecimal address hardcoded on each NIC for use as an address in network communications to uniquely identify any device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a socket in the context of TCP/IP and routing packets?

A

A socket is the IP address (provided by the IP protocol) combined with the port (provided by the TCP protocol)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a port in the context of TCP/IP and routing packets?

A

The port determines what application on the device needs the packet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does FTP stand for and what is its purpose?

A

File Transfer Protocol

Used to move files between two devices. (commonly used to transfer data and programs as opposed viewable content)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does HTTP stand for and what is its purpose?

A

Hypertext Transfer Protocol

HTTP is used for accessing a webpage from a web server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does HTTPS stand for and what is its purpose?

A

Hypertext Transfer Protocol Secure

HTTPS is used for accessing a webpage from a web server securely. HTTPS encrypts data between the client and server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does POP3 stand for and what is its purpose?

A

Post Office Protocol (v3)

Used to retrieve emails from an email server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does SMTP stand for and what is its purpose?

A

Simple Mail Transfer Protocol

Used to send emails from client device to the linked mail server or to forward the email to the recipient’s mail server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does SSH stand for and what is its purpose?

A

Secure Shell

Used to provide an encrypted connection for remove access to another computer.

17
Q

How does FTP work?

A

FTP commands can be issued from a command line interface, but more commonly a user interacts with an FTP client, which sits on top of the actual FTP protocol.

Once logged in, the user can access directories on the FTP server and can download and upload files.

FTP sites which are publicly available are known as anonymous FTP.

18
Q

How does HTTP work?

A

The web client sends a request message to a web server and the web server sends back a response message containing the data needed to display the webpage.

19
Q

How does HTTPS work?

A

HTTPS uses encryption to secure the data being transferred, and authenticates the web server through certificates.

20
Q

How does POP3 work?

A

POP3 retrieves emails from a mail server, removes it from the server and transfers in to your device.

21
Q

How does SMTP work?

A

SMTP sends the email from the client device to the linked mail server or forwards the email to the recipient’s mail server.

22
Q

How does SSH work?

A

SSH uses for port 22. It uses public key encryption to authenticate the user and prevent unauthorised access.

  1. The client initiates the connection by contacting the server.
  2. The server sends a public key to the client
  3. The server and client agree communication rules and open a secure channel.
  4. The user can now login to the remote server host OS and can issue commands

SSH can be used to tunnel through firewalls on port 22 to use other application level protocols.