SVI secondary ip add

Hello,
i have a switch L3 who has an SVI with 2 ip add on the same subnet, an example

interface vlan 10
ip add 192.168.1.2 255.255.255.0
ip add 192.168.1.3 255.255.255.0 secondary

Why the use of 2 ip add on the interface. I looked everywhere, i don’t understand why.

Thanks again
Mina

1 Like

Hello Mina

You can add a secondary IP address to any Layer 3 interface on a Cisco device. This can be a physical router interface, an SVI of a Layer 3 switch, or even a subinterface. Some reasons to use a secondary IP address, either in the same subnet or in a different subnet from the primary address, can be found in this post:

I hope this has been helpful!

Laz