Let's say that there is a SVI for VLAN 100 and it's been assigned the first usable IP address in subnet There is a host on VLAN 100 with an IP address of We need to change the subnet on the SVI to a /25, but we need to do it without causing a significant disruption to the host or changing it's IP address.

How would you do it?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Jan 5, 2021 at 18:20

4 Answers 4

  1. Add a secondary IP address to the SVI in the same subnet that is in your new target range.
  2. Change the the subnet mask and default gateway on the host.
  3. Promote the secondary IP address to primary with the new subnet mask and remove the old primary.
  • I don't think this will work, as the /25 will overlap with the existing /24. In the end, if the switch is the hosts default-gateway, he's going to have to change the configuration on the host, if only to update its default-gateway. However, if he's going through that trouble, I would just remask the the switch to a /25 (leaving the existing IP in place), then renumber and remask the host.
    – Ryan
    Jul 8, 2014 at 13:04
  • I think three steps do exactly that. I could rewrite it to be a bit more verbose...
    – JDGray
    Jul 8, 2014 at 15:04
  • *cough*proxy-arp*cough*
    – Ricky
    Jul 8, 2014 at 16:32
  • Ricky, you naughty boy you! ;)
    – Baldrick
    Jul 9, 2014 at 8:37
  • 1
    You're right, but in this scenario we've added a secondary IP address, i.e.: secondary Which allows us to change the host's subnet mask and default gateway without interrupting the host's ability to get traffic out. Once the changes have been made on the host we can then got back and remove the primary, secondary address while at the same time adding a new primary of "" effectively resizing the subnet while avoiding the having the host use a new IP address. Which is the intent of the exercise.
    – JDGray
    Jul 9, 2014 at 19:16

the ip adress is the first usable ip adress of supposing that you need to use the second part of the subnet(/24) on another svi:

conf t
interface vlan 100 
no ip adress
ip adress
interface vlan 200
ip adress
no shut
ip route vlan 100

on cisco it will take about 2 seconds if you paste all config.


Also if you are using DHCP make sure to change the DHCP scope to match your new subnet. Also make sure to change the default gateway and subnet mask on EVERYTHING on the subnet (printers, faxes etc).


If the SVI must change from to and the host's IP address cannot change, then the host will lose connectivity unless proxy-arp is configured on the SVI.

Assigning a temporary, secondary IP address to the SVI in the subnet violates the requirements because at some point the primary IP will have to be changed and that will cause a disruption to the host.

  • 1
    A momentary disruption (read: brief) is tolerable as long as the host is able to maintain it's current IP address. I need to read up on proxy-arp.
    – JDGray
    Jul 13, 2014 at 3:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.