Configuring 2 or more IP's on virtual interface

Is it possible to have a virtual interface on a layer 3 switch have more than 1 IP assigned to it?

For example, I'm merging multiple VLAN's together to be 1 VLAN, but a couple of these VLAN's have some devices that are set statically. I'm changing the IP ranges these networks were on so that the new subnet includes all of the old addresses.

For example, one vlan was / 24 and another one was / 24

I'm changing my addressing so I will now have / 22, but I have devices statically assigned in the 11.1 /24 subnet that have a gateway of 11.1. I'm keeping the network / vlan, I'm just chaning it's mask to a /22 rather than /24. So my new range will be - I was going to leave the gateway as it was on that virtual interface so it will stay the same at, and I just have to update my DHCP scope with the new mask. However, I have quite a few static devices on 11.1 / 24 currently that point to 11.1 as their gateway. When I modify this virtual interface to go from /24 to /22 is there a way I can have a second IP on that virtual interface as 11.1 so my devices in that IP range will continue to work until we are able to get to all of them to change the gateway?

Or is there a easier way to do this and I'm over thinking guess? I'm just trying to figure out what's the easiest way to allow my devices with static IP's to continue to work till we can change their gateway?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I am wondering if this could work with subinterfaces on the switch. If the switch has that option. I think i tried doing this a long time ago, but dont recall if it was successful or not. Any other expert can shed some light?
themightydudeAuthor Commented:
If this helps any, our virtual interfaces are all setup on our core switch which is a Brocade FastIron SX800.
The IDF switches are the FastIron GS series switches.
Sandeep GuptaConsultantCommented:
Yes you can put second IP address on virtual interface as 'secondary'

int vl 1
ip address <<primary ip>> <<mask>>
ip address <<secondary ip >> <<mask>> secondary

remember: DHCP will only switch on to secondary when primary hosts are exhausted..or else you completely remove primary.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Turn Raw Data into a Real Career

There’s a growing demand for qualified analysts who can make sense of Big Data. With an MS in Data Analytics, you can become the data mining, management, mapping, and munging expert that today’s leading corporations desperately need.

themightydudeAuthor Commented:
Ok I should be able to to have my primary IP of /22 as the IP for that virtual interface, then have / 22 as a secondary IP on that same virtual interface.
Sandeep GuptaConsultantCommented:
your /22  & /22 falls int the same subnet of /22 then what makes sense to have primary or secondary..if you have only primary /22 it will automatically takes IPs till /22
see this:

Calculation results



Netmask = 22







Class C



First IP


Last IP




themightydudeAuthor Commented:
Sorry for staying away from this for so long.

I was able to do the primary and secondary on the core swithces and it worked perfectly.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.