I have searched all over the Internet and can't seem to find the answer to this question. Everything I've read talks about VLSM but never says specifically if it can be done on just a switch. All examples have at least 3 routers in them.
Is it possible to configure VLSM on a switch? I tried doing it at work to optimize our address space on a Cisco 3750G-48 and kept getting "Bad mask..." error.
So...is it even possible?
Thanks in advance for any help you can provide.
Thanks, Alain, for giving me a definite answer. At least now I know it CAN be done and I can troubleshoot from there. I'll post the details for everyone else to see in a few minutes.
Thanks, Alain, for giving me a definite answer. At least now I know it CAN be done and I can troubleshoot from there. I've never used VLSM, so please correct if I am wrong anywhere.
I was given the subnet 220.127.116.11/20 to use, which should give me 18.104.22.168-22.214.171.124. What I want is the Management VLAN to have at least 30 usable addresses in it and each user VLAN to have 6 usable addresses.
So, am I able to use:
126.96.36.199/29 . . .and just keep going up by 8
Or, do I have to use:
188.8.131.52/29 . . .and just keep going up by 8
Option 1 is what I was trying to use. I configured the VLAN 1 with 184.108.40.206/27 and tried to configure the next VLAN with 220.127.116.11/29. If there is no router, would be the default gateway for each VLAN be the network address?
ip routing is on as well as ip classless
option 1 is ok and each VLAN default-gateway should be the IP address of corresponding SVI.
What is the message you get when configuring this on the switch ?