iRidium server on Raspberry Pi - multiple VLAN control?
Iain Brew 3 years ago in Bugs and problems • updated by Vladimir Ovchinnikov (expert) 2 years ago • 5
I have a Raspberry Pi 4 running iRidium Server. Current setup is:
I have a collection of DANTE devices which I would like to segregate on to VLAN 4. Two of these devices have a single physical ethernet port, but two virtual interfaces with two MAC addresses (Shure MXA910 DANTE microphone). I understand that I could 'tag' the interface of the Raspberry Pi for both VLAN 1 and VLAN 4, but iRidium Server can only send commands on the first interface it sees.
The DANTE microphone is:
Is there a clever way of allowing iRidium Server to control devices across more than one VLAN?
Customer support service by UserEcho
We have plans to add the ability to work with the server through all detected interfaces, but in the current release, the server can only work with the first interface.
Thanks for the info. I am going to brush up on my Cisco networking and see if I can 'separate' via MAC address the two interfaces of the microphone so control can be on VLAN 1 for the iRidium server, and audio on VLAN 4 for DANTE.
I know this post is a bit old but if this is still of interest for other projects, here's what you could do.
In your example above you need to have a separate IP subnet per VLAN. Because your subnet mask is 255.255.0.0, the 192.168.5.10 device is in the same subnet as 192.168.22.1. This means that you can't route IP between the VLANS.
If you had a scheme whereby:
VLAN 1 (AV_CONTROL) 192.168.5.0 255.255.255.0 Gateway 192.168.5.1 (has to be in same subnet)
VLAN 4 (DANTE) 192.168.22.0 255.255.255.0 Gateway 192.168.22.1 (has to be in same subnet)
You would then need a switch that can route IP (a layer-3 switch).
On a Cisco, the commands would be:
int vlan 1
ip address 192.168.5.1 255.255.255.0
int vlan 4
ip address 192.168.22.1 255.255.255.0
Now you can have your server in either vlan and it will be able to route to all of the other devices. Note the IP address for vlan 1 is probably already set as this is the default IP to manage the switch.
Thanks for this! The switches are currently in Layer 2 mode, however I did find a solution. I was able to segregate the Control Network and the DANTE Network (both virtual interfaces) from the single physical interface of the microphone by using MAC Based VLAN Groups. This way VLAN 1 is visible to iRidium Server and it can control the microphone, but DANTE is still segregated off to VLAN 4 for audio routing. This has worked extremely well.
The current version of the server supports all available network interfaces. The iRidium server listens to all available interfaces and can send data at the network level to any of them.