What commands must be configured on the 2950 switch and the router to allow communication between host 1 and host 2?

Refer to the exhibit. What commands must be configured on the 2950 switch and the router to
allow communication between host 1 and host 2? (Choose two.)

Refer to the exhibit. What commands must be configured on the 2950 switch and the router to
allow communication between host 1 and host 2? (Choose two.)

A.
Switch1(config)# interface fastethernet 0/1Switch1(config-if)# switchport mode trunk

B.
Router(config)# interface fastethernet 0/0Router(config-if)# ip address 192.168.1.1
255.255.255.0Router(config-if)# no shut down

C.
Router(config)# router eigrp 100Router(config-router)# network 192.168.10.0Router(configrouter)# network 192.168.20.0

D.
Switch1(config)# interface vlan 1Switch1(config-if)# ip default-gateway 192.168.1.1

E.
Switch1(config)# vlan databaseSwitch1(config-vlan)# vtp domain XYZSwitch1(config-vlan)# vtp
server

F.
Router(config)# interface fastethernet 0/0Router(config-if)# no shut downRouter(config)#
interface fastethernet 0/0.1Router(config-subif)# encapsulation dot1q 10Router(config-subif)# ip
address 192.168.10.1 255.255.255.0Router(config)# interface fastethernet 0/0.2Router(configsubif)# encapsulation dot1q 20Router(config-subif)# ip address 192.168.20.1 255.255.255.0

Explanation:
In this exhibit, there are two different VLANs (VLAN 10 and VLAN 20). In this case, the router is
required for Inter-VLAN routing. In order to properly configure Inter-VLAN Routing, we need to
assign the IP address and the encapsulation type. In the router we need two sub-interfaces
created we need to assign the IP as well as defined the encapsulation type for each of these. In

the switch, only a trunk port can carry the information of multiple VLANs so fa0/1 is trunked on the
switch as shown by answer E.



Leave a Reply 0

Your email address will not be published. Required fields are marked *