a thing or two about networking and working with CIDR and all that good stuff, but I'm fairly new to VLANs and how they actually work (believe it or not, nobody explained it in school and I never needed them until now)
from what I read online here and there, you need to configure the switch to make a port part of a VLAN group with a set ID, then, the device must be configure to be in one of the VLANs of which said port is part of (or the only one, depending on how the switch is configured). however, what if the device is "dumb"?
so the question is really simple: is there a way, and if so, how to configure the switch to accept the default VLAN on a port, "attach" the VLAN label on the packet, forward it to the trunk port that goes to the server where a VM with different interfaces with different VLAN IDs are connected to the same physical link, and then the server VM can decide how to route the packet (router)?
thank you in advance!!
You don't need to configure clients, just the switches.
Switch configuration is switch-manufacturer-specific. You will have some kind of web UI or command line access to the switch.
okay, so it is safe to assume that if I configure a switch port to be on say VLAN 7 and on that port I connect a device that has no clue of what a VLAN even is, the network between the device and the switch (other switches, or just the cable) is just plain default VLAN 1, while when a packet is received from that device it is tagged with VLAN 7, and when a packet is destined for that device, it has to be tagged with VLAN 7. all correct?
It's not VLAN 1, it's "NO VLAN". See IEEE 802.1Q which defines VLAN tagging. An Ethernet frame without a VLAN tag will be sent to the switch. The switch will see which VLAN this port belongs to and add the tag to the frame.
see where I said I'm still learning? 😅
Обсуждают сегодня