I'm trying to get two embedded devices to communicate over a site-to-site VPN. I have a RUT950 as an L2TP server and a RUT240 as a client. They're on 192.168.1.1/24 and 192.168.2.1/24. I've got the routing between the two subnets working, but I also need multicast to work for one of the embedded devices (the "main controller", 192.168.1.105) to discover the other one (the "remote device", 192.168.2.110).
The manual for my devices says "Discovery of Remote Devices, from Designer or a controller, is achieved using multicast traffic with the 184.108.40.206 multicast group (...) Each remote Device in the system must have an IP Address in the same range as the controllers in the project. This TCP connection is used for all communications with the controller, once the discovery process has been completed using multicast.". ("Designer" is their programming software)
I must admit I don't really fully grasp how multicast works, but I think the concept is in this case is that either the main controller or the Designer software sends "something" to 220.127.116.11, and that all remote devices reply from their respective IPs ... right?
I tried adding a static route on the RUT950: interface is the L2TP if, destination IP 18.104.22.168/32 (also tried 22.214.171.124/14), gateway is the RUT240's virtual L2TP IP. That did not work. I've tried to read up on this and I get the impression it's more complicated, but I can't quite figure out where to begin with this.
Any hints? I don't necessarily need to use L2TP, any other kind of VPN is also OK.
EDIT: tried the same thing with PPTP, no luck.
EDIT 2: after further research I think maybe OpenVPN in TAP mode should work. I've realised that the problem is that multicast (and broadcast) is difficult to route across L3 (makes sense), but OpenVPN TAP is L2. I'm ok with having both sites on the same subnet (actually it's better). I'm out of office now, but is there anything in particular I should be aware of when I get back to test this? Are there any other L2 VPN protocols that are worth knowing about?