Configuring 2 or more IP's on virtual interface
Posted on 2014-07-24
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 192.168.10.1 / 24 and another one was 192.168.11.1 / 24
I'm changing my addressing so I will now have 192.168.8.1 / 22, but I have devices statically assigned in the 11.1 /24 subnet that have a gateway of 11.1. I'm keeping the 192.168.10.1 network / vlan, I'm just chaning it's mask to a /22 rather than /24. So my new range will be 192.168.8.1 - 192.168.11.1. I was going to leave the gateway as it was on that virtual interface so it will stay the same at 192.168.10.1, 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 192.168.10.1 /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?