L2 Switch not talking to Default Gateway
So here's my setup. I have my switch configured with an ip default gateway of 184.108.40.206 . I also have 3 VLANs configured on it as well . Vlan 10- 220.127.116.11 /24 Vlan 20- 18.104.22.168 /24 Vlan 30- 22.214.171.124 /24 My router is configured with 3 subinterfaces fa0/0.10= 126.96.36.199 fa0/0.20= 188.8.131.52 fa0/0.30= 184.108.40.206 all the sub interfaces have encapsulation dot1q and the correct VLAN assigned to it. the actual interface fa0/0 has no IP address and is up/up. now my question is when I ping the switch VLAN interface 220.127.116.11 from a host that has the IP address 18.104.22.168 , I expect to time-out on my ping but for whatever reason I still get a good ICMP message back. why is that? if the switch tries to reply back to my host using its source vlan interface address 22.214.171.124 , shouldn't the packet be dropped when the Router receives the packet because the default gate way is not in the same subnet. I noticed when I looked on packet tracer , the switch was sending the packet to the Routers fa0/0.20 interface instead of the default gateway interface fa0/0.10 . I've been troubleshooting this for about an hour or so and still can't figure out why unless packet tracer isn't working properly.