Refer to the exhibit. Configurations for the switch and PCs are complete. Which configuration must be applied so that VLANs 2 and 3 communicate back and forth?
A.
interface GigabitEthernet0/0 ip address 10.10.2.10 255.255.252.0
B.
interface GigabitEthernet0/0.10 encapsulation dot1Q 3 ip address 10.10.2.10 255.255.254.0
C.
interface GigabitEthernet0/0.3 encapsulation dot1Q 3 native ip address 10.10.2.10 255.255.252.0
D.
interface GigabitEthernet0/0.3 encapsulation dot1Q 10 ip address 10.10.2.10 255.255.255.252
B is correct.
Question gave 3 hints to work on. (RoS, VLAN 3, and /23)
RoS require matching VLAN ID which is 3 and /23 = 254.
So dot1Q=3 and 255.255.254.0 = B
Hope this help
They threw a curve ball. What you name the sub interface doesn't matter, although it is not best practice doesn't follow logic, as long as you have the correct encapsulation and ip address configured.
It is option B.
interface GigabitEthernet0/0.10 encapsulation dot1Q 3 ip address 10.10.2.10 255.255.254.0
Let me break it down...
--> The gig0/0.10 is a sub interface and need not match with the VLAN ID, it could be any arbitrary number.
--> encapsulation dot1Q vlan 3 specifies configuration for vlan 3
--> subnet mask has already been given --> 255.255.254.0
--> config for VLAN 2 has already been configured and the option we are choosing is for VLAN 3
now, both VLAN 2 and 3 has been configured on the router to facilitate communication
So, it is Option B
Answer is B
R1 Subinterface Configuration (4.2.4)
The router-on-a-stick method requires you to create a subinterface for each VLAN to be routed.
A subinterface is created using the interface interface_id.subinterface_id global configuration mode command. The subinterface syntax is the physical interface followed by a period and a subinterface number. Although not required, it is customary to match the subinterface number with the VLAN number.
https://www.ciscopress.com/articles/article.asp?p=3089357&seqNum=5
upvoted 8 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
HMaw
Highly Voted 2 years, 3 months agoRougePotatoe
Highly Voted 2 years, 2 months agodrdrunk3nst3in
Most Recent 4 weeks agosiri_8932
4 months, 3 weeks ago[Removed]
9 months, 1 week agoCarlolo
1 year, 2 months ago[Removed]
1 year, 3 months agoGoh0503
2 years, 4 months ago