Q:
If one of the host connected to Sw-AC3 wants to send message to ip 190.0.2.5 (or any ip on a different subnet) what will be the destination MAC address ?
Answer
Answer and Explanation:
Because the destination address is on a different subnet from the switch, the packet will be forwarded to its default gateway. To verify the default gateway of this switch, use the show running-config command
From the output above, we can see that its default-gateway is 192.168.1.254. Which can be said to be a layer 3 device (router); in this case, the VLAN-R1 router. You can use the show cdp neighbor detail command verify further.
From the output above, you can confirm that the switch's default gateway is VLAN-R1 router (with the IP address of 192.168.1.254).The interface FastEthernet0/3 shows that the switch is directly connected to VLAN-R1 router through the switchport Fa0/3. To verify the MAC address associated this interface is interface, you use the show mac-address-table command:
Looking closely at the table above, you will discorver that the corresponding MAC address is 000a.b7e9.8360. Although there are some entries on port Fa0/3 with different Vlans ,but they have the same MAC address.
From the output above, you can confirm that the switch's default gateway is VLAN-R1 router (with the IP address of 192.168.1.254).The interface FastEthernet0/3 shows that the switch is directly connected to VLAN-R1 router through the switchport Fa0/3. To verify the MAC address associated this interface is interface, you use the show mac-address-table command
View answer
Workspace
Report Error
Discuss