📝 Virtual Circuit approach connection oriented service (26 MCQs)
Logical Path Setup Before Packet Transfer
A virtual-circuit network establishes a logical path before transferring user packets. The setup process selects a route and creates connection state in the switches along that path. Packets then carry a short virtual-circuit identifier rather than requiring a complete destination address for every forwarding decision. These responsibilities connect separate IP networks while preserving a consistent addressing framework for end systems.
Identifiers and Per-Connection Switch State
Each switch maintains a mapping between an incoming interface and virtual-circuit identifier and the corresponding outgoing interface and identifier. The label or identifier may change at each hop. This stored state allows packets belonging to the same virtual circuit to follow the established logical path. These fields allow forwarding devices to interpret packet purpose and choose the appropriate next processing action.
Setup, Data Transfer and Teardown
Communication typically begins with a setup request that establishes state through the network. After acceptance, packets are transmitted using the assigned virtual-circuit identifiers. When communication ends, a teardown procedure releases the state and resources. Failure along the path may require the virtual circuit to be re-established. Each hop repeats the required lookup, while link-specific framing is rebuilt for the next transmission.
Illustrative Virtual-Circuit Identifier Mapping
A packet reaches switch S1 on interface 2 with virtual-circuit identifier 41. S1 consults its table and forwards the packet through interface 5 using identifier 73. The next switch performs another mapping. The identifier is locally meaningful, so it need not remain 41 across the whole path. This illustrates how the stated network information controls the packet's treatment at that stage.
Difference from Connectionless Datagrams
Virtual circuits provide a connection-oriented logical service, whereas datagram networks forward packets independently using destination addresses. The virtual-circuit approach can preserve path order under normal operation, but it requires setup and stored state. It should not be confused with a physical dedicated circuit or with TCP connections, which operate at another layer.
Clarifying Virtual Circuit Terminology
'A virtual circuit is a dedicated physical wire' is incorrect because it is a logical path over shared links. 'Every switch uses one unchanged identifier' is incorrect because identifiers can be locally remapped. 'Virtual circuits need no setup' is incorrect because connection establishment creates the forwarding state. Such distinctions prevent assigning guarantees or processing steps to a layer that does not provide them.
Virtual-Circuit Questions and Identifier Tracing
Trace setup, data transfer, and teardown in the correct order. Read a switch mapping table using the incoming interface and identifier, then determine the outgoing interface and replacement identifier. Compare stored connection state with datagram forwarding, and explain the benefits and costs of path setup and per-connection state. Show the intermediate values and justify each choice instead of stating only the final result.
Virtual Circuit Terms
- Virtual circuit - logical path with state
- Setup - creates path forwarding state
- Identifier - labels a virtual connection
- Mapping table - translates input labels and ports
- Teardown - releases connection forwarding state
- Connection-oriented - requires logical setup
📝 All Virtual Circuit approach connection oriented service MCQs
Q1. In a virtual‑circuit network, what must occur before any data packets are transmitted?
Q2. If a virtual circuit fails mid‑transmission, what is the most immediate effect?
Q3. How does the presence of a virtual circuit influence packet ordering compared to a datagram approach?
Q4. Given that a virtual circuit reserves resources along a path, what is the most likely impact on network utilization under bursty traffic?
Q5. If a router in a virtual‑circuit network drops a packet because of a buffer overflow, what can be inferred about the state of the circuit?
Q6. Consider two hosts using IPSec over a connectionless IP layer. What logical relationship does IPSet create?
Q7. In the virtual‑circuit model, which layer is responsible for tearing down the circuit after transmission?
Q8. Suppose a network uses a virtual circuit with a fixed hop count of 5. If a link fails causing a path length of 7, what must the network do to maintain the circuit?
Q9. Compare virtual circuit and datagram approaches in terms of per‑packet overhead after the initial setup.
Q10. Evaluate the security implications of adding IPSec to a virtual‑circuit service.
Q11. Differentiate between connection‑oriented service at the transport layer (TCP) and at the network layer (virtual circuit).
Q12. Analyze why packet switching is still used at the network layer despite the presence of virtual circuits.
Q13. Compare the effect on latency between establishing a virtual circuit versus sending datagrams directly.
Q14. Evaluate the trade‑off between resource reservation in virtual circuits and flexibility of datagram routing.
Q15. Given a network with mixed traffic, how would virtual‑circuit routing affect fairness compared to datagram routing?
Q16. Contrast how error handling is performed in virtual‑circuit vs datagram approaches.
Q17. Apply the concept of a virtual circuit to explain how a telephone network provides a dedicated path.
Q18. Synthesize how IPSec can be integrated with a virtual‑circuit service to achieve secure connection‑oriented communication.
Q19. Explain why the destination must wait for all packets before delivering the message in a virtual‑circuit network.
Q20. Given that virtual circuits require state information in routers, discuss the scalability challenges for large‑scale Internet.
Q21. Apply the principle of packet switching to illustrate how a virtual circuit can still benefit from dynamic routing decisions.
Q22. Synthesize the relationship between connection‑oriented service at the network layer and quality‑of‑service (QoS) guarantees.
Q23. Explain how a virtual circuit approach can simplify firewall rule management compared to a datagram approach.
Q24. Evaluate the impact of virtual‑circuit overhead on high‑speed backbone networks versus low‑speed access networks.
Q25. Which protocol is defined in Chapter 32 to provide a virtual layer that turns connectionless IP into connection‑oriented service?
Q26. In the context of the network layer, what is the primary unit of data called?