VLAN Queries.ip default-gateway
Created a VLAN on a 2960 switch and added two ports/hosts to the VLAN.Initially the Hosts were able to ping the gateway Router connected to the switch.After VLAN creation unable to ping gateway.I used the command ip default-gateway on the switch and changed the port connecting to the Router to trunk. Correct me if I am wrong. 1.Once VLAN's are created they become separate subnets. [In my case I have now two vlan's , the native vlan and one I created vlan 11] 2.Each VLAN needs its own separate gateway. 3.I need to configure subinterfaces on the router interface. [ I did configure works fine as long as there is no IP address overlapping ] what exactly would be the use of ip default-gateway ?