Configuring Router-on-a-Stick on a Switch

Steps to Enable Router-on-Stick on a Switch

Prev Question Next Question

Question

Which two steps must you perform to enable router-on-stick on a switch? (Choose two)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

AE

Router-on-a-stick is a technique used to allow multiple VLANs to be configured on a single physical interface of a router. This technique is commonly used in networks that have multiple VLANs and need to route traffic between them.

To enable router-on-stick on a switch, you need to perform the following two steps:

  1. Connect the router to a trunk port A trunk port is a port that can carry traffic for multiple VLANs. By connecting the router to a trunk port, you enable it to receive traffic from all the VLANs configured on the switch. This traffic is then tagged with VLAN IDs, which allows the router to differentiate between traffic from different VLANs.

  2. Configure the subinterface number exactly the same as the matching VLAN A subinterface is a logical interface that is created on a physical interface of a router. Each subinterface is assigned a VLAN ID, which allows the router to route traffic between VLANs. To enable router-on-stick, you need to create a subinterface for each VLAN that you want to route traffic between. The subinterface number should be exactly the same as the VLAN ID that it is assigned to.

For example, if you have VLANs 10, 20, and 30 configured on your switch, you would need to create three subinterfaces on your router with the following interface numbers:

  • GigabitEthernet0/0.10 (for VLAN 10)
  • GigabitEthernet0/0.20 (for VLAN 20)
  • GigabitEthernet0/0.30 (for VLAN 30)

Once you have configured the subinterfaces, you can assign IP addresses to them and configure routing between them using static routes or a routing protocol.

Therefore, the correct answers are A and B: connect the router to a trunk port and configure the subinterface number exactly the same as the matching VLAN. The other options are not required for enabling router-on-stick. Full duplex configuration (C) is a link-layer setting that specifies how data should be transmitted on the physical link between two devices. Configuring an IP route to the VLAN destination network (D) and assigning the access port to the VLAN (E) are not necessary for router-on-stick configuration.