Refer to the exhibit. Which set of commands would be used on the router to provide communication between the two hosts connected to the switch?

IT Questions BankCategory: CCNA Discovery v4Refer to the exhibit. Which set of commands would be used on the router to provide communication between the two hosts connected to the switch?

Refer to the exhibit. Which set of commands would be used on the router to provide communication between the two hosts connected to the switch?

  • Router(config)# interface vlan 2
    Router(config-if)# ip address 192.168.2.1 255.255.255.0
    Router(config-if)# no shutdown
    Router(config)# interface vlan 3
    Router(config-if)# ip address 192.168.3.1 255.255.255.0
    Router(config-if)# no shutdown
  • Router(config)# interface fastethernet 0/0
    Router(config-if)# no shutdown
    Router(config-if)# interface fastethernet 0/0.2
    Router(config-subif)# encapsulation dot1q 2
    Router(config-subif)# ip address 192.168.2.1 255.255.255.0
    Router(config-if)# interface fastethernet 0/0.3
    Router(config-subif)# encapsulation dot1q 3
    Router(config-subif)# ip address 192.168.3.1 255.255.255.0
  • Router(config)# interface vlan 2
    Router(config-if)# switchport mode trunk dot1q
    Router(config)# interface vlan 3
    Router(config-if)# switchport mode trunk dot1q
  • Router(config)# interface fastethernet 0/0
    Router(config-if)# mode trunk dot1q 2 3
    Router(config-if)# ip address 192.168.2.1 255.255.255.0

Exam with this question: CCNA Discovery 3: DRSEnt Chapter 3 Exam

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x