I have two 3750 switches in a stack that does not have a default-gateway statement yet when I telnet to that stack, I can ping a device that is on a different subnet. The switches are L2 only and are uplinked to two distribution layer 6509 routers that are running GLBP between them.
Isn't the default-gateway command necessary for communications to subnets other than what the stack has locally? I've only had one cup of coffee this morning and maybe that's where the problem is.
CSB-SW73-15-216#sh run int vlan 73
Current configuration : 65 bytes
ip address 18.104.22.168 255.255.255.128
CSB-SW73-15-216#sh ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 22.214.171.124, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms