Networks Flashcards
What is the difference between host and an end system? List several types of end systems. Is a Web server an end system?
There is no difference. Throughout this text, the words “host” and “end system” are used interchangeably. End systems include PCs, WorkStations, Web servers, mail servers ..
What is bandwidth?
The maximum rate of data transfer across a given path.
What is a protocol?
A protocol is a set of rules that define format, order of messages sent and received among network entities, and actions taken on message transmission, receipt.
What is the difference between DSL and Cable?
DSL (Digital Subscriber Line) uses the existing telephone line. Data over DSL phone line goes to internet, whilst voice over the DSL phone line goes to internet. DSL is asymmetric access - meaning downstream and upstream rates are different.
How do Ethernet compare against DSL and cable?
Ethernet is a lot faster speeds could range up to 10Gbps. Typically used in companies/ universities.
Describe Twisted pair, coaxial cable and fiber optic cable.
Twisted pair consists of two insulated copper wires twisted around each other (Used in old telephone networks). Coaxial cables consists of two concentric copper conductors that can achieve high data transmission rates bidirectional (used as a transmission line for radio frequency signals). Fibre optic cables are glass fibre that have the ability to carry light pulses (a pulse is a bit) in very fast speeds and greater distances. There is a low error rate as repeaters are spaced far apart and are immune to electromagnetic noise.
Is HFC rate dedicated or shared among users? Are collisions possible in a downstream HFC channel? Why or why not?
HFC bandwidth is shared among the users. On the downstream channel, all packets emanate a single source, namely, the head end. Thus, there are are no collisions in the downstream channel.
What information is used by a process running on one host to identify a process running on another host?
The IP address of the destination host and the port number of the socket in the destination process.
Suppose you wanted to do a transaction from a remote client to a server as fast as possible. Would you use UDP or TCP? Why?
You would use UDP. With UDP, the transaction can be completed in one trip round time (RTT) - the client sends the transaction request into a UDP socket, and have the server sends the reply back to the client’s UPD socket. With TCP a minimum of two RTTs are needed - one to set-up the TCP connection, and another for the client to send the request, and for the server to send back the reply.
List the four broad classes of services that a transport protocol can provide. For each of the service classes, indicate if either UDP or TCP (or both) provides such a service.
[1] Reliable data transfer: TCP provides a reliable byte-stream between client and server but UDP does not.
[2] A guarantee that a certain value for throughput (the amount of material or items passing through a system to process) will be maintained: Neither
[3] A guarantee that data will be delivered within a specified amount of time: Neither
[4] Confidentiality (via encryption): Neither
What is meant by a handshaking protocol?
A protocol uses handshaking of the two communicating entities first exchange control packets before sending data to each other. SMTP uses handshaking at the application layer whereas HTTP does not.
IN TCP, why must the server program be executed before the client program? For the client-server application over UDP, why may the client program be executed before the server program?
For the TCP application, as soon as the client is executed, it attempts to initiate a TCP connection with the server. If the TCP serve his not running, then the client will fail to make a connection. For the UDP application, the client does not initiate connections (or attempt to communicate with the UDP server) immediately upon execution.
What is meant by routing?
Routing refers to establishing routes that data packets take on their way to a particular destination.
What is meant by forwarding?
Is the process of moving packets from a router’s input to another router output.
Describe processing delay.
Time used to examine the packet’s header and determine where to direct it, as well as checking for bit-level errors. (Processing data/packets)
Describe Queuing delay.
Time taken for a packet to be transmitted onto the link. Naturally; the length of time is defined by the number of packets the was added to the queue prior to this packet.
Describe Transmission delay.
The amount of time used to transmit (push) all of the packets bits from the queue and into the link. To calculate the delay, the L/R , where L is the length of the packet (in bits) , R is the transmission speed of the ethernet link in Mbps.
Describe propagation delay.
Time required to propagate from the beginning of the link and to the end. Speed depends on the physical medium in which it travels on. The delay can be calculated by t = d/s.
How can packet loss occur?
Packets can be dropped when the rate of transmission (of packets) exceeds the capacity of the receiving end. As packets will have to queue and wait for turn. Thus it is important that the rate of transmission is not higher than the rate of acceptance.
What is nodal delay?
Nodal delay is the sum of all delays. nodalDelay = Queue + transmission + propagation + processing.
What is circuit switching?
A type of communications in which a dedicated channel (or circuit) is established for the duration of a transmission. E.g Old telephone system
What are all the layers?
Application, Transport, Network, Link and Physical.