Networks prio1 Flashcards
What is stop-and-wait ARQ?
Stop and wait are when a sender sends a packet and then waits for an ACK from reciever. The window size for receiver is 1.
What is TCP congestion window?
Congestion window is a window which have a size of x number of bytes. This is the allowed maximimum of data that a sender can send.
Explain how ping adminstration utility works.
Ping administration utility is a utility that uses the ICMP protocol. It sends an ICMP packet to a destination specified by an IP adress.
What is the key feature of the routing within virtual circuit networks?
The key feature of the routing within virtual circuit networks is that it reservers a path for communication.
What is the key feature of routing within datagram networks?
In datagram networks, a packet being sent can take any available path to a given destination. The packets a numbered so when packets arrive they can be re-arrange to the correct order.
Is it possible that congestion window exceeds network bandwidth-delay product and why?
Yes, it is possible for the congestion window to exceed the network bandwidth-delay product. This can happen if the network has a high bandwidth and a low delay, or if the congestion window is set too high. (The network bandwidth-delay product is the maximum amount of data that can be in transit at any given time.)
What is the relationship between inter-arrival times of acks at the sender and capacity of bottleneck link?
If the bottleneck link has a higher capacity, the sender will receive acks more quickly and the inter-arrival times will be shorter. (intervals between the arrival of successive packets at a given node)
What is an asymmetric key cryptography and an symmetric key cryptography?
The symmetric key is a key that is used to encrypt and decrypt. For asymmetric one key encrypts and the other decrypts.
What is the ALOHA protocol?
ALOHA is a protocol that is used to avoid channel allocation problem, a channel that is used by more than just one station. It works on the principle that if there is anything to send, send it.
There are two variants of ALOHA. Pure ALOHA and Slotted ALOHA.
slotted ALOHA instead relyies on “slots” where the sender has to wait when a slot is available. This is synchronized by a master clock.
What is TCP congestion control?
TCP congestion control avoids routers buffers overflow. It automatically adjusts the transmission of packets so that the network links are fully utilized while limiting congestion losses. Normally it uses packet losses as a congestion signal. That said, it is a combined responsibility of the network and transport layer for congestion control but is ultimately caused by traffic sent into the network layer by the transport layer. Congestion control is when the transport layer sends traffic to the network layer more slowly. Here different algorithm is used to solve this. The main one that TCP uses is the AIMD algorithm.
What is TCP congestion window?
TCP congestion window is a set size of x amount of bytes that the sender can send. This is used to avoid congestion.
What is http and https?
Hypertext transfer protocol used to transport information between web servers and clients. Normally runs over TCP.
HTTPS is more secure as it uses TLS encryption.
what is RSA?
Is a symmetric-key algorithm.
D(E(P)) = P
Difficult to deduce D from E
E cannot be broken by a chosen plaintext attack.
What is TCP flow control?
Makes sure that the source does not generate data faster than the destination is able to absorb.
What is AIMD?
AIMD Additive Increase, Multiplicative decrease is a congestion algorithm that TCP uses. AIMD combines linear growth of the congestion window when there is no congestion and then with an exponential reduction when congestion is detected.