I want to know how multicast works in VLAN for the IPv6 address domain. Can anybody tell me, whether the VLAN ID - by specification - is added to an Ethernet frame, when I send data to an IPv6 multicast address?
I have no formal education about networking. I work with a library (vsomeip 3.3.8) that uses socket communication within the SOME/IP context. I observed that for IPv4 multicast addresses, the VLAN field is added to the ethernet frame. For IPv6 it does NOT. So I wonder whether the library has a bug, or maybe my understanding of IPv6's behavior is wrong when it comes to multicasting.
In my understanding of VLAN, I expect the VLAN field to be set for all messages within the VLAN.
Not visible: in the above IPv6 Wireshark trace, the messages to unicast addresses (beef::1, beef::2) contain the expected VLAN field. So it shows me, that my machines are actually within the VLAN.
It is a bug in the library vsomeip 3.3.8. It does not work with VLANs in this version.
Multicast does NOT change the behavior of VLAN in IPv6.