I have simple tree topology network. I want to configure VLAN on this network, PFA the image.
Am I wrong? Can VLANs actually be configured like this. I have setup this topology on mininet.
More of setting up this network on a linux machine.
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
VLANs are layer-2 constructs, and they cannot cross a layer-3 device, e.g. router. You could not have the same VLAN on two different router interfaces, as your drawing seems to suggest. You could, however, use the same VLAN numbers on the two different router interfaces, but they would not actually be the same VLANs.
If instead of a router, you use a layer-3 switch (which is at its heart, a layer-2 switch), you could implement this, where you have the same VLANs on both layer-3 switch interfaces because they would be layer-2 interfaces on the layer-3 switch. You would need to configure them as trunk interfaces in order to allow more than one VLAN on the link.