hi all
i am confused about the capabilities of a switch. When a host sends information that is supposed to belong to a host in another network, when this information goes through the physical media in it's network and finally comes across a switch, can the switch determine that the frame is destined for another network? does the switch forward the data to the router? what happens? please tell me. thanks

if the packet is sent to another network, it is being forwarded to the gateway

The switch manages network traffic by sorting packet destination. If a packet is labeled to go to another system on the network a switch will direct it locally through the intranet, if it's labeled for WAN the switch will direct it to the appropriate gateway, which will then handle the delivery to the destination through the internet.

Thanks ALOT, i understand now!!!