Exclusively for TechExams members for Infosec Boot Camps starting before April 30, 2026
dtlokee wrote: The only problem is you are creating a subinterface for VLAN 1, the default native VLAN. The native VLAN is untagged so this configuration would not work correctly if the switch is using VLAN 1 as native. You can add the "native" keyword to the encapsulation command, or move the configuration of sub-interface 1 to the physical interface (which always sends untagged.)
datchcha wrote: dtlokee wrote: The only problem is you are creating a subinterface for VLAN 1, the default native VLAN. The native VLAN is untagged so this configuration would not work correctly if the switch is using VLAN 1 as native. You can add the "native" keyword to the encapsulation command, or move the configuration of sub-interface 1 to the physical interface (which always sends untagged.) You lost me on this one.
Tricon7 wrote: This reminds me to ask - if you have a router-on-a-stick scenario, and you have two switches to one router and, say, two hosts to each switch for good measure, along with three VLANs, I would/could have both of the switches on the first VLAN, along with whichever hosts were on there, and the 0/0.1 subinterface would be the default gateway of that first VLAN. Correct?
Exclusively for TechExam members. Applies to boot camps starting before April 30, 2026.