I notices in the Network overview of Windows 7 that my switches are found on the path to the gateway, which baffled me completely. The last time I checked they just took the ethernet packages and transported them to the "right" location.
How does this switch detection work? Do switches alter the packages? Do they react on ICMP messages?