I have not configured the network yet. Every vlan will have a different subnet. I want to assign ip addresses to the switches on the network from another subnet. How can i provide a default gateway for the switches ? If i give the same ip addresses as default gateway to the layer 3 switches for the other switches, how i can give the layer 3 switches static ip addresses ? I want to assign static ip addresses to the layer 3 switches and i want to use them as a default gateway for the layer 2 switches. How can i do this thing ? I have been confused.
SVI's of the layer 3 switches
interface Vlan1
ip address 192.168.1.94 255.255.255.224
ip helper-address 192.168.1.33
!
interface Vlan20
mac-address 0050.0f1a.5301
ip address 192.168.1.6 255.255.255.248
ip helper-address 192.168.1.33
!
interface Vlan21
mac-address 0050.0f1a.5302
ip address 192.168.1.14 255.255.255.248
ip helper-address 192.168.1.33
!
interface Vlan22
mac-address 0050.0f1a.5303
ip address 192.168.1.22 255.255.255.248
ip helper-address 192.168.1.33
!
interface Vlan23
mac-address 0050.0f1a.5304
ip address 192.168.1.30 255.255.255.248
!
interface Vlan24
mac-address 0050.0f1a.5305
ip address 192.168.1.62 255.255.255.224
!
ip default-gateway 192.168.1.94