Community discussions

MikroTik App
 
JordanR
just joined
Topic Author
Posts: 11
Joined: Fri Jan 18, 2019 10:18 pm

Setting up a VOIP Subnet across multiple routers

Sat Dec 02, 2023 1:22 am

Hi all,

I have a need to setup a singular subnet (10.100.0.0/24) across multiple MikroTik routers that are geographically located in different places. I have been running this setup for a long time and we already have Site-To-Site connectivity setup over OVPN and have countless subnets, vLANS, etc. Everything is working without any issue.

The Why
To establish a VOIP phone system where the recommended method of implementation is to use a singular subnet everywhere.

I have the 10.100.0.0/24 network setup on the new vLAN on the home router called voip-vlan and it successfully has assigned an IP address to a device tagged on a switch without any issue. This device in question is the device that will be controlling all of the VOIP phones handling setup, etc.

The question is what is the best way to apply that across numerous site locations?

My first test is with Site-B whereas I went ahead and plugged the VOIP device directly into ETH-2 and removed this device from the bridge. I tried setting up a DHCP Relay and apply it to Eth-2 so that in theory it would receive the DHCP instructions from Site-1 and carry it down to the device.

This is where I am a little outside of my knowledge zone and thus far information I can find has not been exceptionally helpful.

Could you please advise? I will keep digging into it as well but I am sure I am overlooking a better way of doing this.

Thanks!
 
Njumaen
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Feb 24, 2016 8:41 pm
Location: Bielefeld, Germany
Contact:

Re: Setting up a VOIP Subnet across multiple routers

Sat Dec 02, 2023 7:04 am

At one of my customers I did this by connecting 5 locations to the central location with the VoIP server/PSTN-Gateway using wireguard and EoIP.

Quite simple.
 
JordanR
just joined
Topic Author
Posts: 11
Joined: Fri Jan 18, 2019 10:18 pm

Re: Setting up a VOIP Subnet across multiple routers

Sat Dec 02, 2023 9:39 pm

Thank you, that was helpful.

It set me on the right path, and I now have it functioning with a minor exception. I created an EOIP tunnel between the two sites. Then, I bridged the tunnel with the physical port, and I am now passing an IP address from Site-1 to Site-2 without any issues; perfect! There is connectivity, and everything appears to be working.

The slight wrinkle now is I have a vLAN setup that WAS set up against the DHCP server that is now assigned to the new bridge. But the VOIP server is plugged into the switch infrastructure, which means I need to give it the IP address from a tagged ID, which I was using "10" in this case. However I cannot assign the DHCP server to the bridge and the vLAN.

In this case, how do I get the vLAN and the DHCP assignment from the new bridge (or alternative method)..?

Thanks again!