cdosrun
Enlightened
Apologies as this may be a long one.
I am setting up DMX controlled lighting at home using one of those cheap 4 universe eBay E1.31 gateways. The DMX then drives some LED multichannel drivers for LED strips on the wall (in some aluminium profile) so there is a CPF link somewhere.
Currently, the system is controlled by an openHAB server (running on a Raspberry PI temporarily but I will move this to a virtual server on the infrastructure in due course).
The network infrastructure comprises a Unifi wireless setup with a HP 3800 managed switch (j9575a) running firmware 16.01.0006. There are multiple VLANs in use on both the wifi and wired networks with assignment by RADIUS (albeit not necessarily relevant to the problem). I am segregating all devices (IOT) into different networks for security (I have separate VLANs for storage, servers, users, guests etc. and for network devices requiring internet such as the TV and Amazon Firestick and a separate VLAN for devices requiring only limited LAN access - such as for the squeezebox players and the home lighting). THe switch performs all inter-VLAN routing with ACLs setup to limit traffic between VLANs. All networks are dual-stacked with IPv4 and IPv6. There is then a separate VLAN from the switch into the virtual server running SophosUTM for the gateway firewall. Hopefully that makes sense but it is only to provide some background.
The E1.31 protocol uses multicast UDP port 5568 to address 239.255.x.x (x.x being the universe address, e.g. 0.2 in my current case).
I have enabled IGMP on the switch and when the gateway and controller are on the same VLAN, everything works. However, where the controller and gateway are on different VLANs (and subnets) nothing works. I have enabled PIM-Sparse mode on the switch and set up BSR and RP-Candidates to one of the VLANs but I cannot get any multicast traffic to route between the VLANs. I have included a static group (239.255.0.2) on both the controller and gateway VLANs. I have removed the ACLs but that does not seem to be the problem either.
Here is the output from the switch from command "show ip igmp"
This is the controller VLAN
VLAN ID : 87
VLAN Name : IOT-LAN
IGMP version : 2
Querier Address [this switch] : 172.27.87.254
Querier Port :
Querier UpTime : 4d 7h 10m 14s
Querier Expiration Time : 0h 0m 26s
Active Group Addresses Type Expires Ports Reports Queries
---------------------- ---------- --------------- ---------- ------- -------
239.255.0.2 Static 0h 0m 0s 0 0
239.255.255.250 Filter 0h 8m 57s 7 165 0
This is the gateway VLAN
VLAN ID : 89
VLAN Name : Devices
IGMP version : 2
Querier Address [this switch] : 172.27.89.254
Querier Port :
Querier UpTime : 4d 7h 5m 24s
Querier Expiration Time : 0h 1m 5s
Active Group Addresses Type Expires Ports Reports Queries
---------------------- ---------- --------------- ---------- ------- -------
239.255.0.2 Static 0h 0m 0s 0 0
239.255.255.250 Filter 0h 9m 58s Trk3 2949 0
There are not any queries so I think there must be something wrong but I cannot find any filtering going on.
The multicast routing table does not show any traffic for the multicast address: (show ip pim mroute)
IP Multicast Route Entries
Total number of entries : 1
Group Address Source Address Neighbor VLAN
--------------- --------------- --------------- ----
239.255.255.250 172.27.90.102 172.27.90.102 90
I have now exhausted everything I have read on multicast routing and would be really grateful for any thoughts anyone might have with this and apologies if I have missed something obvious - I just don't know anyone who knows much about this topic.
Thank you,
Andrew
I am setting up DMX controlled lighting at home using one of those cheap 4 universe eBay E1.31 gateways. The DMX then drives some LED multichannel drivers for LED strips on the wall (in some aluminium profile) so there is a CPF link somewhere.
Currently, the system is controlled by an openHAB server (running on a Raspberry PI temporarily but I will move this to a virtual server on the infrastructure in due course).
The network infrastructure comprises a Unifi wireless setup with a HP 3800 managed switch (j9575a) running firmware 16.01.0006. There are multiple VLANs in use on both the wifi and wired networks with assignment by RADIUS (albeit not necessarily relevant to the problem). I am segregating all devices (IOT) into different networks for security (I have separate VLANs for storage, servers, users, guests etc. and for network devices requiring internet such as the TV and Amazon Firestick and a separate VLAN for devices requiring only limited LAN access - such as for the squeezebox players and the home lighting). THe switch performs all inter-VLAN routing with ACLs setup to limit traffic between VLANs. All networks are dual-stacked with IPv4 and IPv6. There is then a separate VLAN from the switch into the virtual server running SophosUTM for the gateway firewall. Hopefully that makes sense but it is only to provide some background.
The E1.31 protocol uses multicast UDP port 5568 to address 239.255.x.x (x.x being the universe address, e.g. 0.2 in my current case).
I have enabled IGMP on the switch and when the gateway and controller are on the same VLAN, everything works. However, where the controller and gateway are on different VLANs (and subnets) nothing works. I have enabled PIM-Sparse mode on the switch and set up BSR and RP-Candidates to one of the VLANs but I cannot get any multicast traffic to route between the VLANs. I have included a static group (239.255.0.2) on both the controller and gateway VLANs. I have removed the ACLs but that does not seem to be the problem either.
Here is the output from the switch from command "show ip igmp"
This is the controller VLAN
VLAN ID : 87
VLAN Name : IOT-LAN
IGMP version : 2
Querier Address [this switch] : 172.27.87.254
Querier Port :
Querier UpTime : 4d 7h 10m 14s
Querier Expiration Time : 0h 0m 26s
Active Group Addresses Type Expires Ports Reports Queries
---------------------- ---------- --------------- ---------- ------- -------
239.255.0.2 Static 0h 0m 0s 0 0
239.255.255.250 Filter 0h 8m 57s 7 165 0
This is the gateway VLAN
VLAN ID : 89
VLAN Name : Devices
IGMP version : 2
Querier Address [this switch] : 172.27.89.254
Querier Port :
Querier UpTime : 4d 7h 5m 24s
Querier Expiration Time : 0h 1m 5s
Active Group Addresses Type Expires Ports Reports Queries
---------------------- ---------- --------------- ---------- ------- -------
239.255.0.2 Static 0h 0m 0s 0 0
239.255.255.250 Filter 0h 9m 58s Trk3 2949 0
There are not any queries so I think there must be something wrong but I cannot find any filtering going on.
The multicast routing table does not show any traffic for the multicast address: (show ip pim mroute)
IP Multicast Route Entries
Total number of entries : 1
Group Address Source Address Neighbor VLAN
--------------- --------------- --------------- ----
239.255.255.250 172.27.90.102 172.27.90.102 90
I have now exhausted everything I have read on multicast routing and would be really grateful for any thoughts anyone might have with this and apologies if I have missed something obvious - I just don't know anyone who knows much about this topic.
Thank you,
Andrew