Good afternoon guys,
I've got a question regarding VLANs and SVIs. First of all, I know some concepts about VLANs, and I've been in the IT field for a while. But this one is a bit confusing for me.
When you want VLANs to be routed, for example, having different VLANs with subnets, you would need SVIs, which you define as your default gateway for your hosts.
So first, we create the appropriate VLANs Next, we create a VLAN Interface, which we assign an IP.
However, my silly question is, if we have let's say two switches, or three, I think it doesn't matter. And say we want to use one VLAN across these three switches for communication. Am I supposed to configure the SVI on every switch with the same IP, or do I have to create a new SVI for every switch?
For example, subnet 192.168.0.0/24 would be VLAN 2 on the first switch containing the SVI 192.168.0.1 on the second switch 192.168.0.2 and the third one 192.168.0.3? Or would it be 192.168.0.1 for all the 3 of them?
The reason I'm asking this is, to be honest, I think you would get duplicate IP's since you have three times the same IP assigned, but I think this is a misconception of me.
I've been doing this for a while, and recently another consultant noticed it and said it wasn't necessary to do this, but nor harmful.
So if anyone could give me some more clear explanation in this scenario to give me a clearer view, that would be awesome.
Many thanks in advance! 😊
Greetings