If you have a router or firewall (Meraki MX) or layer 3 switch (MS210 or better), you can set up two VLANs and have one subnet in each. The MS or MX can then send the traffic from one to another.
Do you have either of these?
If my answer solves your problem please click Accept as Solution so others can benefit from it.