The "landline" phones, which are now using a Voice over IP service since British Telecom decided they didn't want to be a phone company any more, use a base station that connects them to the A&A SIP servers over the internet. This now needs to be moved from the old Draytek router and directly connected to the Mikrotik now that everything seems to be going well.
Current State
The phone base station, a Gigaset Go-Box 100, is connected directly to the P4 socket on the Draytek and until a day ago was working perfectly fine. Then for some reasons the Draytek stopped serving IP addresses over DHCP to the public subnet the base station was connected to.
While I could investigate and fix whatever the problems, and I suspect a reboot will do the trick, it seems a bit pointless given I'm going to move it to the Mikrotik in the next few days so I might as well do it now.
Desired State
The Go-Box 100 is connected to ether7 on the Mikrotik RB5009 and collecting its address through DHCP. Outbound connections to the SIP server are routed through NAT with admin permitted from an internal subnet on the House LAN only. This will be a dedicated subnet just for the phone.
Create a dedicated network for VoIP phone
This is the same process I used to configure ether6 as a temporary Draytek port in Preparing the Mikrotik RB5009 router for phased cutover. Since this is a "landline" phone that is being retained more as a convenience to others and to provide a theoretically resilient communication channel should something bad happen I want it to be protected as possible. Which given it's dependent on mains power and correct configuration for the phone base station, router and ONT, IP networking, a NAT-unfriendly application protocol lacking modern authentication and security solutions and a huge number of intermediary systems it's probably not that resilient. On the other hand mobile signal around here is poor and with the recent enablement of WiFi calling and the availability of things like Signal and other communications apps having an internet-dependent landline is probably of minimal value now.
In this example I'm assigning a small subnet 192.168.187.1/29 which gives 8 addresses in total, with 5 usable ones after the subnet, gateway and broadcast addresses are allowed for. Which is still 4 more than I really need.
Configure interface ether7
I don't need a VLAN as the Go Box is a single host and uses DECT rather than IP to communicate to the handsets. Unlike the Draytek I'm not limited on the number of subnets so it can have one all to itself.
The first step is to remove ether7 from the bridge. Go to Bridge > Ports and click on ether7 and then select Remove

We can now assign an IP address and subnet directly to the ether7 interface. Go to IP > Addresses and click new to define a new address

| Parameter | Value |
| Comment | VoIP |
| Address | 192.168.nnn.1/29 |
| Interface | ether7 |
Configure DHCP
While I could assign a static IP to the phone base that makes it more of a fuss to move so I'm going to leave it as DHCP as its worked perfectly well for on the Go Box for years (the last 24 hours excepted). We've defined four pools already in previous articles and this will be the same process.
Go to IP > Pool > Pools to define the address pool
| Parameter | Value |
| Name | voip-dhcp |
| Addresses | 192.168.nnn.2-192.168.nnn.6 |
Go to IP > DHCP Server > DHCP to define the DHCP server for the VoIP subnet.
| Tab | Parameter | Value |
| General | Name | voip |
| Interface | ether7 | |
| Lease Time | 24:00:00 | |
| Address Pool | voip-dhcp |
I don't expect things to change on the VoIP subnet so setting DHCP leases to 24 hours is quite reasonable.
Go to IP > DHCP Server > Networks to set the basic DHCP options we want to pass to the Go Box.
| Parameter | Value |
| Comment | VoIP |
| Address | 192.168.nnn.0/29 |
| Gateway | 192.168.nnn.1 |
| No DNS | Untick |
| DNS Servers | 192.168.nnn.1 |
| NTP Servers | 192.168.nnn.1 |
Firewall rules
We want to allow the phone to have access to the internet, and if I wanted to be really strict I'd only permit access to the A&A SIP servers. Since the Go Box maintains the connection there's no need to permit inbound routing to it from the internet. I also need to permit admin access from an internal subnet.
This will be another restricted network so I can add it to the BasicServices interface list and add a rule to permit admin access. Go to Interfaces > Interface List and add ether7 to the BasicServices list

| Parameter | Value |
| List | BasicServices |
| Interface | ether7 |
In Move the Guest Wifi VLAN we modified the rule blocking access from interfaces on the BasicServices list to other internal networks. We need to make a similar change to the rule blocking access from internal networks to interfaces on the BasicServices list.
The first step is to create a new jump rule. Go to IP > Firewall > Filter Rules and click New to add a new rule.
| Tab | Parameter | Value |
| General | Comment | For int-basicservices |
| Chain | forward | |
| Out. Interface List | BasicServices | |
| Action | Action | jump |
| Jump Target | int-basicservices |
This can remain the last rule in the list for now.
I want to enable ping to these hosts from the internal subnet my PC is on. Click on New to add the rule, which will be the new last rule and can remain as such.
| Tab | Parameter | Value |
| General | Chain | int-basicservices |
| Src. Address | 192.168.nnn.0/24 | |
| Protocol | icmp | |
| Out. Interface | ether7 |
I also want to allow HTTP access to the phone base station from the subnet my PC is on. Click New to add this rule too.
| Tab | Parameter | Value |
| General | Comment | Allow admin |
| Chain | int-basic-services | |
| Src. Address | 192.168.nnn.0/24 | |
| Protocol | tcp | |
| Dst. Port | 80 | |
| Out. Interface | ether7 |
The final step is to modify the "Block internal routing to basic VLANs" so it terminates the int-basicservices chain with an explicit reject, which was the original action so we've no need to change it. We also need to move this down so it comes after all the other rules in the int-basicservices chain.
| Tab | Parameter | Old Value | New Value |
| General | Chain | forward | int-basicservices |
| Out. Interface List | BasicServices | [empty] | |
Testing
To test if it works then it's simply a case of plugging the phone base station into the ether7 port on the Mikrotik router and confirming green LED lights up on the router and the blue LED lights up on the base station. Green blinkenlights are always a good first sign.
The next check is to confirm the base station has been allocated an IP address so go to IP > DHCP Server > Leases and you should see a lease with the last available IP address on the VoIP subnet we configured. In the case of the Gigaset base station the Active Class is set to SL450A_GO and I'd previously configured it to use the hostname "phonebase" and this should also appear as the Active Host Name. If you're using a different phone system then you may get different results or even both as blanks.
The base should also be connecting to the VoIP provider and this should be visible in IP > Firewall > Connections with the IP address alloced as Src. Address and connecting to port 5060 for SIP.

And the address should also be shown in the DNS cache at IP > DNS > Configuration : Cache

The next check is to open a browser and confirm you can reach the admin interface on the IP address listed in the lease and you can login.
Finalise configuration
While it won't matter to the phone base what IP address it has, we need this to be a permanent allocation so we can easily connect to it each time with a DNS hostname. The easiest way to do that is to go back to IP > DHCP Server > Leases and select the lease for the phone base and then click on Actions : Make Static
You can then click twice on the lease and edit the Address parameter to set the IP address you want it to have, which I'm going to set .2 since it's the first available address. This won't take effect immediately, unplugging and reconnecting the base to the router is the simplest way to force it to reset.
The final step is to create an entry for the phone base in the MIkrotik DNS so we can easily access the admin interface. This needs to match the IP address set as the DHCP reservation. Go to IP > DNS > Configuration : Static and click New to create the entry

| Parameter | Value |
| Comment | Phone |
| Name | [Internal DNS name for the phone base] |
| TTL | 1d 00:00:00 |
| Address | [Same address a reserved in static DHCP list] |
This address will only be resolvable from within the network, and the firewall rules restrict what can connect to it too. You should now be able to connect using a proper URL, such as http://landline.example.com and reach the phones admin interface.

If it's working correctly it should show as Registered for the VoIP lines. And as a final check make and receive a call to the phone.
Summary
Moving a VoIP phone base station over is really straight forward and easy, most of the config was to secure access to the admin interface as much as possible for a device that doesn't support HTTPS.
Notes
This was article was written with reference to a Mikrotik RB5009 running RouterOS 7.21.5 using WinBox 4.3 and a Draytek Vigor 2862 plus a Gigaset Go-Box 100 VoIP base station. I expect this to be broadly similar for equivalent products and later versions but that cannot be guaranteed.