576 Words. Plan about 3 minute(s) to read this.
Remember that a multicast SOURCE address will be the unicast address of the sender. A multicast DESTINATION address is a representation of a multicast group. Receivers that wish to receive traffic for a specific multicast group will all have the same multicast destination address.
Components of a Multicast IP Address
- The first 4 bits of the first octet are always 1110.
- That translates to a usable Class D range of 18.104.22.168 to 22.214.171.124.
- These addresses represent groups, you should remember by now. So there is no concept of a subnet.
Well-Known Multicast Addresses
- Permanent multicast groups – 126.96.36.199 – 188.8.131.52.
- 184.108.40.206 – 220.127.116.11
- Use locally only; this range is not forwarded by routers.
- 18.104.22.168 – all multicast hosts
- 22.214.171.124 – all mutlicast routers
- 126.96.36.199 – DVMRP routers
- 188.8.131.52 – all OSPF routers
- 184.108.40.206 – OSPF designated routers
- 220.127.116.11 – RIPv2 routers
- 18.104.22.168 – EIGRP routers
- 22.214.171.124 – PIM routers
- 126.96.36.199 – IGMPv3
- 188.8.131.52 – RGMP
- 184.108.40.206 – 220.127.116.11
- This range is forwarded by routers.
- 18.104.22.168 – Cisco proprietary Auto-Rendezvous (Auto-RP) Announce
- 22.214.171.124 – Cisco-RP Discovery
- 126.96.36.199 – 188.8.131.52
- Source-Specific Multicast (SSM) – 184.108.40.206 – 220.127.116.11. SSM allows applications to choose what source will send them the multicast. The idea is that a recipient using SSM will end up with a better quality multicast if he is getting it from a source of a better quality. This feature relies upon IGMPv3; there’s practically no application using this yet because of how new it is.
- GLOP – 18.104.22.168 – 22.214.171.124. RFC 2770. GLOP is not an acronym. A GLOP multicast address is one that has been registered by an ASN holder. So if you’re a private company wanting your own global multicast addresses for your applications, you can use a 256-address GLOP block. The GLOP will be formed by converting your ASN number into a 16-bit binary address. Split that 16-bit binary into 2 8 bit chunks; each 8-bit chunk will form the second and third octet of your GLOP.
- Private (conceptually like RFC1918) – 126.96.36.199 – 188.8.131.52. You can use these locally on your network, but they aren’t supposed to bleed out onto the Internet.
Other multicast addresses not defined in the well-known ranges are considered transient ranges. Anyone is free to use them. It’s left up to good netizenship to use the address and then release it when you’re not using it anymore.
How To Convert A Multicast IP to a Multicast MAC – the quick summary – the first half (24 bits) of the MAC will always be 01-00-5E. The second half (24 bits) will always be a binary 0 + the last 23 bits of the multicast IP. More details follow.
- Convert the IP to binary. Remember that the first 4 bits are always going to be 1110.
- Replace the 1110 with the 6 hex digits (2 bits) 01-00-5E. Your multicast MAC will always start with 01-00-5E.
- The next 5 bits of the binary IP translate to a single binary 0 in the MAC.
- The last 23 bits of the binary IP translate to the last 23 bits of the binary MAC.
- Now convert the last half of the binary MAC (the binary 0 + 23 other bits = 24 bits total) into hex.
- Take the first half 01-00-5E with the second half you computed in the step above, and you’ve got it.
Note that this method does not always provide a unique MAC. There is a small chance that 2 applications could translate to the same MAC on the same segment, in which case the receivers would know from L3 that the multicast was not intended for them. But this is not desirable behavior and something to avoid if you are in control of multicast addressing on your network.
about | subscribe | @ecbanks