Hi Parnassus,
@parnassus wrote:
A rule is that each VLAN can eventually have its IP Address (having one VLAN or more VLANs with theirs specific non overlapping IP Addresses on a Switch acting just only as a Layer 2 device = no IP Routing enabled is definitely possible).
Note that I'm not speaking about the case of a "Management VLAN" (not enabled by default) but about the case that one simple VLAN (with an IP Address assigned) can be used for general Switch's Management.
L2 switches can only have an IP address (virtual interface) in one VLAN (as a rule in Management VLAN
It seems you did not caught my point. I was not talking about a VLAN, I was talking about the switch´s virtual interface in that VLAN. If the switch is only L2, it will not have to route between VLANs or any other remote network (that task could be done by a L3 device located in any/all its VLANs), but it will still need a management interface, and that interface could be a virtual interface that should be on the in band management VLAN (or whichever other VLAN you want), but it is only one virtual interface with one IP address, placed in one of the VLANs of the switch.
A different situation is a L3 switch, where you can have as many virtual interfaces as VLANs. In this case, a L3 switch can route packets between VLANs directly connected, and also to segments far away, redirecting packets to the appropriate gateway.
@parnassus wrote:
Sure? I mean that a Switch that is simply acting as a Layer 2 device (no IP Routing enabled) should support that each one of its VLANs has its own non-overlapping IP Address and, consequently, can be contacted using those VLAN IP Addresses (if - somewhere - there is a routing device that routes those VLANs and you are using that device as router for your communications against those VLANs...isn't?).
Again, I was not talking about assigning an IP segment to a VLAN, I was talking to assign an IP address to a virtual interface of the switch on a VLAN. In fact, you can assign non overlapping IP segments to many VLANs on the switch, without the need to enable a virtual interface of the switch on those VLANs. The problem would be that you would not have a management interface (unless you have OOM port to do that).
@parnassus wrote:
I'm not sure I follow you on that (many/many).
In a L2 switch, you define Vlan 10, Vlan 20 and Vlan 30 ... can you create 3 different virtual interfaces on the switch: VI 10, VI 20 and VI 30 and assign them the following IP addresses: 10.10.10.1/24, 20.20.20.1/24 and 30.30.30.1/24?