🎓 BookMCQ
← Back to 18. Introduction to Network Layer

📝 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
8
Easy
12
Medium
6
Hard

📝 All Virtual Circuit approach connection oriented service MCQs

Q1. In a virtual‑circuit network, what must occur before any data packets are transmitted?

A.Route each packet individually
B.Establish a path ✅
C.Encrypt each packet
D.BROADCAST TO ALL ROUTERS
💡 Difficulty: easy | ✅ Correct: B

Q2. If a virtual circuit fails mid‑transmission, what is the most immediate effect?

A.All subsequent packets are dropped ✅
B.Packets are rerouted automatically
C.The circuit is re‑established without loss
D.ONLY THE SOURCE IS NOTIFIED
💡 Difficulty: easy | ✅ Correct: A

Q3. How does the presence of a virtual circuit influence packet ordering compared to a datagram approach?

A.Packets may arrive out of order
B.Packets are delivered in order ✅
C.Packet order is random
D.PACKETS ARE DUPLICATED
💡 Difficulty: medium | ✅ Correct: B

Q4. Given that a virtual circuit reserves resources along a path, what is the most likely impact on network utilization under bursty traffic?

A.Underutilization due to reserved slots ✅
B.Higher throughput during bursts
C.No impact on utilization
D.IMPROVED LOAD BALANCING
💡 Difficulty: hard | ✅ Correct: A

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?

A.The circuit is congested and needs flow control
B.The circuit is idle ✅
C.The circuit has been terminated
D.THE PACKET WAS CORRUPTED
💡 Difficulty: easy | ✅ Correct: B

Q6. Consider two hosts using IPSec over a connectionless IP layer. What logical relationship does IPSet create?

A.It creates a virtual connection‑oriented layer
B.It removes all security features
C.It converts IP into TCP ✅
D.IT DISABLES ROUTING
💡 Difficulty: medium | ✅ Correct: C

Q7. In the virtual‑circuit model, which layer is responsible for tearing down the circuit after transmission?

A.Physical layer
B.Data link layer
C.Transport layer
D.NETWORK LAYER ✅
💡 Difficulty: easy | ✅ Correct: D

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?

A.Recompute and re‑establish circuit ✅
B.Continue with the same circuit
C.Switch to datagram mode
D.DROP ALL PACKETS
💡 Difficulty: hard | ✅ Correct: A

Q9. Compare virtual circuit and datagram approaches in terms of per‑packet overhead after the initial setup.

A.Higher overhead per packet
B.Lower per‑packet overhead after setup ✅
C.Same overhead
D.NO OVERHEAD AT ALL
💡 Difficulty: easy | ✅ Correct: B

Q10. Evaluate the security implications of adding IPSec to a virtual‑circuit service.

A.No effect on security
B.Decreases latency
C.Increases throughput
D.PROVIDES CONFIDENTIALITY AND INTEGRITY ✅
💡 Difficulty: medium | ✅ Correct: D

Q11. Differentiate between connection‑oriented service at the transport layer (TCP) and at the network layer (virtual circuit).

A.Virtual circuit reserves path, TCP provides reliability ✅
B.Both provide identical functions
C.TCP reserves path, virtual circuit provides reliability
D.VIRTUAL CIRCUIT ENCRYPTS DATA, TCP DOES NOT
💡 Difficulty: medium | ✅ Correct: A

Q12. Analyze why packet switching is still used at the network layer despite the presence of virtual circuits.

A.Because routers cannot store state
B.Because virtual circuits are obsolete
C.Routers still need to forward packets independently ✅
D.VIRTUAL CIRCUITS REPLACE PACKET SWITCHING
💡 Difficulty: medium | ✅ Correct: C

Q13. Compare the effect on latency between establishing a virtual circuit versus sending datagrams directly.

A.No delay at all
B.Setup delay then lower per‑packet latency ✅
C.Higher latency overall
D.SAME LATENCY FOR BOTH
💡 Difficulty: medium | ✅ Correct: B

Q14. Evaluate the trade‑off between resource reservation in virtual circuits and flexibility of datagram routing.

A.Reservation gives QoS but reduces adaptability ✅
B.No trade‑off exists
C.Flexibility improves QoS
D.RESERVATION HAS NO EFFECT ON PERFORMANCE
💡 Difficulty: medium | ✅ Correct: A

Q15. Given a network with mixed traffic, how would virtual‑circuit routing affect fairness compared to datagram routing?

A.Improves fairness for all flows
B.Has no effect on fairness
C.Guarantees fairness for every flow
D.MAY LEAD TO UNFAIRNESS IF CIRCUITS DOMINATE RESOURCES ✅
💡 Difficulty: hard | ✅ Correct: D

Q16. Contrast how error handling is performed in virtual‑circuit vs datagram approaches.

A.Virtual circuit uses checksums only
B.Datagram uses automatic acknowledgments
C.Virtual circuit can use end‑to‑end ACKs ✅
D.BOTH RELY ON IDENTICAL MECHANISMS
💡 Difficulty: easy | ✅ Correct: C

Q17. Apply the concept of a virtual circuit to explain how a telephone network provides a dedicated path.

A.Similar to circuit switching, path reserved ✅
B.Same as datagram routing
C.Uses IP addresses directly
D.NO SIMILARITY AT ALL
💡 Difficulty: easy | ✅ Correct: A

Q18. Synthesize how IPSec can be integrated with a virtual‑circuit service to achieve secure connection‑oriented communication.

A.IPSec replaces virtual circuit
B.IPSec encapsulates packets providing encryption over virtual circuit ✅
C.IPSec only works with datagrams
D.IPSEC ADDS ROUTING INFO ONLY
💡 Difficulty: medium | ✅ Correct: B

Q19. Explain why the destination must wait for all packets before delivering the message in a virtual‑circuit network.

A.To save bandwidth
B.To allow reordering
C.To reduce latency
D.TO ENSURE COMPLETE AND ORDERED DELIVERY ✅
💡 Difficulty: medium | ✅ Correct: D

Q20. Given that virtual circuits require state information in routers, discuss the scalability challenges for large‑scale Internet.

A.No scalability challenges exist
B.Virtual circuits improve scalability
C.State per circuit limits scalability ✅
D.REDUCES MEMORY USAGE DRAMATICALLY
💡 Difficulty: hard | ✅ Correct: C

Q21. Apply the principle of packet switching to illustrate how a virtual circuit can still benefit from dynamic routing decisions.

A.Circuit can be re‑routed on failure ✅
B.Circuit is static forever
C.No dynamic routing possible
D.ONLY STATIC TABLES ARE USED
💡 Difficulty: medium | ✅ Correct: A

Q22. Synthesize the relationship between connection‑oriented service at the network layer and quality‑of‑service (QoS) guarantees.

A.Virtual circuits enable QoS by reserving resources
B.QoS only exists at transport layer
C.Connection‑oriented service has no impact on QoS
D.QOS IS UNRELATED TO VIRTUAL CIRCUITS ✅
💡 Difficulty: hard | ✅ Correct: D

Q23. Explain how a virtual circuit approach can simplify firewall rule management compared to a datagram approach.

A.More complex rule sets
B.Single flow rule per circuit ✅
C.No impact on firewall configuration
D.REQUIRES MORE RULES
💡 Difficulty: medium | ✅ Correct: B

Q24. Evaluate the impact of virtual‑circuit overhead on high‑speed backbone networks versus low‑speed access networks.

A.Overhead more noticeable on low‑speed links ✅
B.Overhead negligible everywhere
C.Overhead only on high‑speed links
D.NO OVERHEAD AT ALL
💡 Difficulty: hard | ✅ Correct: A

Q25. Which protocol is defined in Chapter 32 to provide a virtual layer that turns connectionless IP into connection‑oriented service?

A.TCP
B.UDP
C.IPSec ✅
D.ICMP
💡 Difficulty: easy | ✅ Correct: C

Q26. In the context of the network layer, what is the primary unit of data called?

A.Frame
B.Segment
C.Packet ✅
D.BIT
💡 Difficulty: medium | ✅ Correct: C

🔗 Related Topics (MCQs)