






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Exam of Computer Network and its key important points are: Adjacent Layers, Protocol, Information Interchange, Adjacent, Factors, Packet Delay, Propagation Delay, Transmission Delay, Processing Delay, Causes
Typology: Exams
1 / 10
This page cannot be seen from the preview
Don't miss anything!







>>> SOLUTIONS <<<
2pts total - 0.5 pts per layer +---------------+ | Application | 5 +---------------+ | Transport | 4 +---------------+ | Network | 3 +---------------+ | Link | 2 +---------------+ | Physical | 1 +---------------+
2pts total – 1 pt each item. A protocol is a complete set of rules for information interchange between same level layers at different sites. An interface is a complete set of rules for information interchange between adjacent layers in one site.
2pts total - 0.25 pts per item Processing delay, transmission delay, propagation delay, and queueing (or buffering) delay
2pts total - 1 pt per item Electrical noise and buffer overflow. Wired networks generally have little noise, so buffer overflow is the predominant factor for packet loss in the wired Internet.
2pts total Ping (also traceroute) can be used to measure round-trip time for a packet.
Points off are “rounded-up”. For example, if in Problem 1(a) one layer is wrong, then it is -1. If two layers are wrong it is still -1. If three layers are wrong it is -2. And, so on.
2pts total – 0.5 pts each item The four things are 1) types of messages, 2) syntax of messages, 3) semantics of messages, and 4) rules for determining when to send messages (timing).
2pts total – 0.5 pts field +--------------+---------+---------+----------+-----------+---------------+ | Ethernet hdr | IP hdr | TCP hdr | HTTP hdr | appl data | Ethernet trlr | +--------------+---------+---------+----------+-----------+---------------+
2pts total – 1 pt each item POP, IMAP, and HTTP
2pts total – 1 pt for what and 1 pt for how DNS is the Domain Name System and is the Internet-wide “phone book” that associates a host name with an IP address. DNS is a hierarchy of servers. A query for a hostname to IP address resolution travels up the hierarchy of DNS servers until a match is found. Lower-level DNS servers can cache hostname to IP address mappings.
2pts total – 1 pt for bottleneck and 1 pt for scalability A centralized directory is simple, but offers a single point of failure and can be a performance bottleneck. A decentralized approach (as used by Gnutella) requires flooding of query messages, which is unscalable (due to overwhelming query traffic).
1 pt each The following are the bugs:
2 pts – 1 pt for identifying SW and 1 pt for explaining what it does In the Sliding Window (SW) protocol multiple data frames (call the window size) can be outstanding (i.e., in flight) before an ACK is required to be received (which when received increments the “window” of frames that can be outstanding).
2 pts The purpose of ARP is to resolve IP addresses to MAC addresses within a subnet. ARP uses MAC-level broadcast where only the host with the matching IP address responds to the host sending the ARP. From this response, the sending host can learn the MAC address of the responding host.
2 pts This is to simplify (reduce the size of) router tables; router tables contain only netids. Thus, routers route only to the destination network. Within the network (and using the ARP cache) is the final forwarding of the packet to the destination host.
4pts total - 1/3 pts each (and round up) An IPv4 header is 20 bytes, the fields are:
2 pts IPv6 was primarily created to overcome the address shortage of IPv4 addresses. The most significant change is the increase in address length from 32 bits to 128 bits. Another change was the addition of a flow label.
2 pts total A LAN is a data network optimized for a medium sized area (10s to 100s of stations and 100s to 1000s of meters span). A LAN is owned and operated by a single organization.
3 pts total – 0.5 pts each field and for description of frame size Number of bytes: 7 1 6 6 2 Var 4 +----------+------+-----------+-------------+-----------+------+-----+ | Preamble | SDEL | Dest addr | Source addr |frame type | data | FCS | +----------+------+-----------+-------------+-----------+------+-----+
An Ethernet frame must be between 64 and 1500 (1518 to be precise) bytes in length. The data field is padded if the needed to achieve the minimum frame size of 64 bytes.
5 pts total – roughly 1 pt for each line Ethernet uses a 1-persistent CSMA algorithm:
(1) if medium is idle then transmit (2) if medium is busy then wait until idle and then transmit (3) if detect a collision during my transmission immediately halt transmission, transmit a brief jam signal, and wait a random period of time, then (1)
The random period of time is determined using the BEB algorithm:
while (attempts < backoff_limit) k := min(attempts, 10) r := rand(0, 2^k) delay := r * slot_time
The variable attempts is reset to zero on a successful transmission and incremented on a collided transmission. The variable delay is the random period of time for the delay is step (3). The constant slot_time is equal to the minimum frame size (512 bits).
start random backoff time timer counts down while channel is idle transmit when timer expires if no ACK received then increase the backoff time and repeat (2)
At the receiver: if frame is received OK then send an ACK
DIFS is the Distributed Interframe Space and SIFS is the Short Interframe Space. SIFS is shorter in time than DIFS.
4 pts total – 1 pt for each item The pillars are 1) packet classification, 2) isolation of flows, 3) high network utilization, and 4) call admission.
3 pts total – 1 pt for each underlined item ATM is (was) Asynchronous Transfer Mode which is a virtual circuit cell-based network. ATM supported multiple traffic classes and was intended to be a universal network to carry voice, video, and data.
3 pts total – 1 pt for each underlined item RSVP is a resource reservation set-up protocol for IP networks intend to support IntServ. RSVP is used by a host to request specific qualities (say, delay, loss, and throughput) from the network for particular application flows.
4 pts total – 1 pt for each item Performance, fault, configuration, accounting, and security.
4 pts total – 1 pt for each underlined item SNMP is Simple Network Management Protocol. SNMP is a request-response protocol between a manager and an agent (with an associated MIB or data base of management variables) in a remote device being managed. The key commands are GET (a variable), SET (a settable variable), and TRAP (device sends a message when a given variable hits a threshold).
2 pts total – 1 pt for each underlined item
MRTG is Multi-Router Traffic Grapher and is an SNMP-based application that can GET and graph selected SNMP variables on a periodic basis. One example is to get bytes in and out counter values from routers and plot traffic utilization in and outbound on a company network. MRTG freely available (i.e., open source).
10 pts total – Ideas that are not feasible or are trivial/silly should lose points. Various answers are possible.