cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
903
Views
10
Helpful
4
Replies

Assign Secondary IP address to a Vlan

Mokhalil82
Level 4
Level 4

Hi

 

I have a switch with vlan 5 svi with ip of 172.20.0.10. We have all the servers using this as their default gateway. We want to change this ip to 172.20.0.1 so I am wondering, will I be able to assign a secondary IP of 172.20.0.1 to this sv1 and then slowly migrate the default gateways over.

Will this work?

 

Thanks

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Yes, you can assign a secondary IP address to the SVI.  Remember, when you change the gateway for each server from .10 to .1, there will be very short outage. So you may want to consider doing it in a maintenance window.

HTH

View solution in original post

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Not 100% sure, but the assigning a secondary, within the same subnet, might cause an issue.

If it does, one other way of doing this, leave the SVI IP as is, but add an HSRP IP for your new gateway.  Clients will also be able to use either a GW IP.

View solution in original post

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Yes, you can assign a secondary IP address to the SVI.  Remember, when you change the gateway for each server from .10 to .1, there will be very short outage. So you may want to consider doing it in a maintenance window.

HTH

Thanks for that Reza just wanted to check this will work, should be a simple migration then I hope

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Not 100% sure, but the assigning a secondary, within the same subnet, might cause an issue.

If it does, one other way of doing this, leave the SVI IP as is, but add an HSRP IP for your new gateway.  Clients will also be able to use either a GW IP.

I've just quickly labbed the HSRP and yes that is pretty simple and works if both IPs are in the same subnet.

 

Thanks for that

Review Cisco Networking for a $25 gift card