Docsity

Assignment 1 Questions - Computer Networks | CSC 570, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
Homework 1 – CSC 570-001, Fall, 2006
Iss ued 9/6/06, due date: 9/13/06
All graded questions have equal weightage.
1. (a) Define circuit- and packet-switching.
(b) What are the tradeoffs involved in these two transport orientations?
(c) Try to give examples of activities from everyday life (but not involving
computers) that are like circuit-switching and like packet-switching.
2. (Adapted from Tanenbaum, 2.42, 2.43) In this question, we consider the trade-
offs involved in circuit- and packet-switching by comparing the delay in sending
an x-bit message over a k-hop path in the two-kinds of network. In the circuit
switched network, the circuit setup time (including all signaling) is s seconds, and
the overhead of embedding context in each packet is h bits in each packet for the
packet-switched network, the packets being each p bits long. The propagation
delay is d seconds per hop and the bit rate is b bits-per-second for either network.
The total number of user data bits x to be transmitted is quite large compared to p.
Under what conditions does the packet network have a lower delay?
3. Suppose that a certain communications protocol involves a per-packet overhead
of 100 bytes for headers and framing. We send 1 million bytes of data using this
protocol; however, exactly one data byte is corrupted during transmission, and the
entire packet containing it is thus lost and must be retransmitted.
(a) Give the total number of overhead + loss bytes retransmitted, for packet data
sizes (not including overhead) of 1000, 5000, 10,000, and 20,000 bytes.
(b) Which size is optimal?
4. For a five layer protocol stack, the top layer is the application layer. The four
lower layers each add on an overhead of 10 bytes in the header and trailer, and do
not change the payload at all. The application layer supplies variable size
application PDUs, but not smaller than 200 bytes and not larger than 400 bytes;
each packet size in this range is equally likely to occur.
What is the fractional byte overhead of the stack as seen by the application layer?
5. What are the elements of a protocol? Define each in a single sentence. (Refer to
the relevant lecture slide.)
6. (Ungraded) List the 7 layers of the OSI protocol stack and define the function of
each in a single sentence.
7. (Ungraded) Consider the Internet-Interstate analogy of computer networking we
considered in class in the light of the OSI layers. Assume that the application,
pf3

Partial preview of the text

Download Assignment 1 Questions - Computer Networks | CSC 570 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

Homework 1 – CSC 570-001, Fall, 2006

Issued 9/6/06, due date: 9/13/ All graded questions have equal weightage.

  1. (a) Define circuit- and packet-switching. (b) What are the tradeoffs involved in these two transport orientations? (c) Try to give examples of activities from everyday life (but not involving computers) that are like circuit-switching and like packet-switching.
  2. (Adapted from Tanenbaum, 2.42, 2.43) In this question, we consider the trade- offs involved in circuit- and packet-switching by comparing the delay in sending an x - bit message over a k - hop path in the two-kinds of network. In the circuit switched network, the circuit setup time (including all signaling) is s seconds, and the overhead of embedding context in each packet is h bits in each packet for the packet-switched network, the packets being each p bits long. The propagation delay is d seconds per hop and the bit rate is b bits-per-second for either network. The total number of user data bits x to be transmitted is quite large compared to p. Under what conditions does the packet network have a lower delay?
  3. Suppose that a certain communications protocol involves a per-packet overhead of 100 bytes for headers and framing. We send 1 million bytes of data using this protocol; however, exactly one data byte is corrupted during transmission, and the entire packet containing it is thus lost and must be retransmitted. (a) Give the total number of overhead + loss bytes retransmitted, for packet data sizes (not including overhead) of 1000, 5000, 10,000, and 20,000 bytes. (b) Which size is optimal?
  4. For a five layer protocol stack, the top layer is the application layer. The four lower layers each add on an overhead of 10 bytes in the header and trailer, and do not change the payload at all. The application layer supplies variable size application PDUs, but not smaller than 200 bytes and not larger than 400 bytes; each packet size in this range is equally likely to occur. What is the fractional byte overhead of the stack as seen by the application layer?
  5. What are the elements of a protocol? Define each in a single sentence. (Refer to the relevant lecture slide.)
  6. (Ungraded) List the 7 layers of the OSI protocol stack and define the function of each in a single sentence.
  7. (Ungraded) Consider the Internet-Interstate analogy of computer networking we considered in class in the light of the OSI layers. Assume that the application,

presentation and session layers are merged into one and are implemented in the user of the Interstate system (whoever travels on the roads). Assume that cars must be likened to packets (network layer PDUs). Try to find answers to the following questions that satisfy you. a. What is the application layer PDU? b. Does it make sense to talk about the lowest layer as the “physical layer”? c. What are the “links” the “DLC layer” implements? d. What are the “components” that exist at the “network layer”? e. What are the PDUs of that layer? f. More than one person may travel in the same vehicle: this introduces the concept of consolidation , which is not obvious from the OSI layers. To simplify the issue, assume nobody wants to carpool and there is no more than one person in any one vehicle. Trace the encapsulation process from the highest to the lowest layer. g. Does the concept of layering or the OSI layers fit this system well?

  1. A protocol uses hierarchical TDM techniques for various levels of networks. The different DLC frames are decapsulated and reencapsulated by the network layer header. In this question we consider only DLC frames. At the level of LANs containing each individual computer, the links operate at 10 Mbps and the frames (L-frames) are each 1500 bytes long. The LANs link to MANs which use 15000 byte M-frames that are made by multiplexing 10 L-frames from 10 different LANs. Eight of these MANs feed into a WAN which uses 1 Gbps links and uses a W-frame. a) The transmission time of a bit or group of bits is sometimes referred to as their “width” on the line. What is the width of an L-frame on a LAN link? b) How wide is an L-frame on a WAN link? c) What is the ratio (e.g. 2:1) of TDM of L-frames into W-frames? d) If the MAN links are exactly fast enough to allow M-frames to be sent at a rate which does not require any of the LANs to slow down, what is the bandwidth of the MAN links? e) If the WAN transmits one W-frame in the same amount of time that a LAN transmits one L-frame, what fraction, if any, of the W-frame bits is wasted?
  2. Answer the following by consulting IETF RFC’s or some other authoritative source, and cite your source in your answer. (a) What is the form of an IP address? (b) How are Class A, Class B and Class C IP addresses defined?
  3. The authority charged with managing IP and other numbers is the Internet Assigned Numbers Authority. Go to the website of this authority and browse the information available from this site. Use this information to determine which organizations (if any) have obtained the folllowing Class A address spaces: (a) 9.0.0.0 (b) 13.0.0.0 (c) 18.0.0.0 (d) 56.0.0.
  4. Answer the following by consulting the IEEE 802.3 standard or so some other