So I am having a hard time finding materials online that explains how multicast address are set. I understand what unicast is: Basically one to one communication. In this scenario, an address identifies one unique host. So setting the address for this, is simple. You assign that unique address. I understand what the broadcast: basically one to many/all. In this scenario, the broadcast address is basically an address you send to, that ensures that your message is sent to all hosts on the link. So setting or using this address is simple, in layer 2, you just send to FF:FF:FF:FF:FF:FF or the last IP address of a subnet. I understand what multicast communication is: Basically instead of flooding all the host, you send message to a selected host. So, a one to selected model, where only hosts that have "subscribed" to the message. I also understand that there are addresses designated for this kind of communication. For example with IPv4, multicast address has most-significant bit pattern of 1110 (i understand similar categorization exist in IPv6). For Ethernet, Ethernet frames with a value of 1 in the least-significant bit of the first octet of the destination MAC address are treated as multicast frames.
My question is, how does a host subscribe to be part of a multicast? Most of the material I see explaining this concept leaves this part out!
Also is it possible to have multiple multicast on a single switch/link. If so how are these different multicast groups managed and kept isolated etc.