Homework Questions

Reflection on the internet lesson

IP Addresses

If Dian Du is at home on his home network and sends a message to every computer on the network, this is an example of a broadcast for it is LAN-wide and goes to every computer on the network.

Models

  • ASCII: is not neccessarily a protocol; however, it is on the application layer as it is used for character encoding (represents text)
  • FTP: is on the application layer because it enables the transfer of files between client and server over network
  • TLS:Is on the application layer in presentation because it translates data sent between computers into what humans can read
  • USB: A physical object: so physical layer and this is the outlier of the 4
Telnet is on the application layer and the purpose of the application layer is provide network services to the user and is the interface between software and network.

DNS

Bob would need to buy bob.is.the.best.com and the subdomains are
best.com
the.best.com
is.the.best.com
bob.is.the.best.com
SRIJAN!!!!!

HTTP and HTTPS

1) HTTP vs HTTPS: HTTP sends plaintext as HTTPS sends encrypted text HTTPS uses the SSl/TLS protocol that encrypts the data being transmitted between browser and server
2) We used HTTP and the benefits of this are simplicity and speed; however, the problems are that it is insecure and has privacy concerns.

TCP and UDP

1) He should use UDP because it is low cost and quick Some issues of this protocol is that it has little data checking, unreliable and some packets may be out of order or generally missing, one potential issue would be in video streaming as if a packet is lost, the video will either freeze or the video quality will drop.
2) It is important that all the packets arrive because it results in accurate and reliable data, and it uses Checksum verification (a mathematical sum generated from the data) which is used to verify each packet arrived.
3) In TCP, Server B can ensure they recieved the packets by using ACK packets, which is to say Server B will send a packet back to A as a form of confirmation. UDP does not do this in general for packets are usually lost in UDP. Another use of this could be flow control as TCP doesnt overwhelm the reciever with data faster than it can process.