Hi
I'm so confused.. I have the following topology:
Alright so if i were to use only vlan 1 throughout the entire network. I would give the router interface an ip address of 192.168.1.254 while the core switch would be 192.168.1.1 with an ip default-gateway pointing to 192.168.1.254. The three access switches would be 192.168.1.2/3/4 all three with an ip default-gateway pointing to the core switch on 192.168.1.1 - Everybody should now be able to ping the core switch, and further out the router interface cause they all belong to the same network right?
What if i have vlan 10, 20, 30? I know im not supposed to give all my access layer switches an ip address in all three vlans as they only need an address for management. But how would i go about seperating these vlans but making sure they can all ping the router interface and further out to the internet? I can only set one ip default-gateway, to me that seems like i can only have one vlan access the router unless i configure router-on-a-stick which im not interested in. Does it have to be a layer 3 switch in order for multiple vlans to cross the link between the core switch and router? if yes how is it setup?