Our Products & Services
Getting Started
First Time Setup
Getting Started with Inventory
Getting Started With Jobs
Getting Started with Accounts
Getting Started with Ticketing
Setting Sonar up for Billing
Baseline Configuration
How To: Using Sonar's Customer Portal
User Specific Resources
Accounts
Account Groups: Overview & Example Use Cases
Account List View: Overview
Account Management View: Overview
Account Overview Customization
Account Statuses: Overview & Example Use Cases
Account Types: Overview & Example Use Cases
Anchor & Linked Serviceable Addresses: Overview and Best Practices
Archiving an Account: Overview
CPUC Fixed Broadband Deployment by Address
Child Accounts: Best Practices & How Tos
Creating a New Account
Direct Messages: Overview
Disconnecting an Account
Disconnection Reason Management: Overview
Exploring Task Groups
FCC Broadband Data Collection (BDC) Filings: How Sonar Can Help
FCC Data Exports: General Overview and Usage
Future Serviceable Addresses: Overview
Lead Intake Form Processing
Notes: Best Practices & Use Cases
Scheduled Events: Overview & Use Cases
Serviceable Addresses: Overview and Usage
Specify Account ID upon Creation
Tasks & Task Templates: Overview
Using Sonar's FCC Broadband Label Generation Tool
Billing
ACH Batching: Overview
Accounts in Vacation Mode
Avalara: Overview & Setup
Batch Payments & Deposit Slips: Overview
Billing Calculator
Billing Defaults
Billing Settings
Building Packages
Building a Data Service
Canadian ACH tool
Changing Service Pricing in Sonar: Best Practices
Configure Service Eligibility Criteria: Overview
Considerations When Using Avalara with Voice Services
Creating Discounts for Services and Packages
Delinquency Billing Best Practices
Delinquency Exclusions: Overview
Dual Data Services: Overview
Email Invoice Batch: Overview
General Ledger Codes: Overview
General Transactions: Best Practices
How Sonar Prorates Billing
How to Take Bank Account Payments
How to Use SKUs: Overview
How to: Adding a Service to an Account
Invoice Templates: Overview
Leveraging PayPal as a Payment Method in Sonar
Manual Transactions
Multi-Month Billing & Multi-Month Services
Print to Mail
Printed Invoice Batches: Overview
Reversals and Refunds: Overview
Services: Overview
Setting Up Payment Methods and Taking Payments
Setting up Bank Account & Credit Card Processors
Taxes Setup
Usage Based Billing Policies: Overview and Usage
Usage Based Billing Policy Free Periods: Overview and Usage
Using Tax Exemptions - How To
Communication
Communications: Call Logs Overview & Best Practices
Communications: Messages Overview
Email Variables & Conditions
Message Categories: Overview & Use Cases
Phone Number Types: Overview and Use Cases
Saved Messages: Overview
Setting up an Outbound Email Domain
Trigger Explanations
Triggered Messages: Setup
Using Outbound SMS
Using the Mass Message Tool
Companies
How to: Setting Up a Company in Sonar
Managing Multiple Companies in Sonar: Best Practices
Rebranding your Sonar Instance
Field Tech App
Financial
Agreement Templates
Invoice Attachment Use Cases & PDF Examples
Invoice Messages: Overview & Use Cases
Invoices in Sonar: Examples, Creation & Contents
Integrations
Atlas Digital CORE Integration
Calix Cloud Data Field Mappings
Calix SMx Integration: Overview
CrowdFiber Integration
External Marketing Providers
GPS Tracking Providers: Overview
GoCardless Integration: Overview & Setup
Handling Static IPs with the Calix SMx Integration
How to Connect Cambium to your Sonar Instance
How to Connect Preseem to your Sonar System
How to: Using Webhooks in Sonar
Integrating with Calix Cloud
RemoteWinBox - Integration with Sonar
Sonar Retain: AI-Powered Customer Retention & Quality Intelligence
Tower Coverage Integration: Overview
Troubleshooting Calix SMx Operational Issues
VETRO FiberMap V2 Integration: Overview
VETRO FiberMap V3 Integration: Overview
Webhook Events: Overview
Webhooks in Sonar: Basic PHP Example
iCalendar Integration
Inventory
Inventory List View: Overview
Inventory Model Management: General Overview
Network Inventory: How-to & Usage Guide
Segmentable Inventory: How-to & Usage Guide
Setup of Inventory: Manufacturers, Categories, and Assignees
Tracking and Using Consumable Inventory
Jobs
Applying Task Templates to Jobs
Edit Job Options
Example Jobs & Templates
Geofences: Overview
Job Types: Best Practices
Jobs and Scheduling: Overview
Scheduling Dispatcher View: Overview
Scheduling How-to: Creating and Booking a Job
Scheduling Table View: Overview
Scheduling Week View: Overview
Setting Up Schedules General Overview
Mapping
Misc.
Combining Custom Fields & Task Templates for Information Storage
Custom Fields Overview & Use Cases
Custom Links: Overview
Task Templates Overview & Use Cases
Monitoring
Building Alerting Rotations
Building a Monitoring Template
Poller Troubleshooting
Pollers: General Overview, Deployment Strategy, Build Out & Setup
Troubleshooting Poller and Monitoring Issues
Networking
Adtran Mosaic Cloud Platform Integration: Overview
Assigning RADIUS Addresses
Assigning an IP Address Using Sonar's IPAM: How to
Automating IP Assignments, Data Rates, and Network Access in Sonar
Building Address Lists
Building RADIUS Groups
Building a Device Mapper
Cable Modem Provisioning
Controlling Customer Speeds with Sonar: General Overview
DHCP Delivery
Data Usage Available Methods
Finding your OIDs
FreeRADIUS 3: Build-Out & Integration
How Sonar Communicates - Egress IPs Explained
IP Assignments & Sonar
IPAM: Basic Setup
IPAM: Overview
LTE Integration
MikroTik as an Inline Device: Integration With Sonar
MikroTik: Controlling Access
MikroTik: Controlling Speeds
MikroTik: Setting Up a Sonar Controlled DHCP Server
Netflow On-Premise Integration: Setup and Overview
Network Dashboard: Overview
Network Sites: Management View Overview
PacketLogic: Integration With Sonar
Pulse, Polling, and PHP
RADIUS: Build-Out & Integration with Sonar
RADIUS: Building Reply Attributes
Setting Up CoA Proxy
Sonar Flow
Sonar IP Addressing
Troubleshooting DHCP: Why Isn't My Subscriber Getting an Address?
Troubleshooting MikroTik Integration Issues
Using Multiple Network Devices in Sonar
Purchase Orders
Release Notes
Reporting
Common Custom Report Uses
Enhanced Business Intelligence - Tips & Tricks for Advanced Users
How To Enhance Your Reporting With Custom Field Data
How to Unpublish a Report or Dashboard
Managing Scheduled Reports
Report Licenses
Reporting Time Zone Behavior
Sonar's Business Intelligence: Overview
Understanding Sonar Reports
Using Sonar DataConnect to Connect BI Applications with Your Sonar Instance
Security
Application Firewall: General Overview and Best Practices
Auth0: Overview
Multi-Factor Authentication: Overview
Password Policy In Depth
Removing a Terminated Employee In Sonar
Role Creation using GraphiQL
User Role Creation & Best Practices
Users: Overview
Sonar Billing
sonarPay
How to Find Your Processing Rates in the sonarPay Portal
How to: Managing Email Notifications in the sonarPay Portal
Reconciling sonarPay Disbursements with Bank Deposits
What to Expect After sonarPay Enrollment
sonarPay Canada Disbursements: Overview
sonarPay Chargebacks & Disputes: Overview
sonarPay Disbursements: Overview
sonarPay Migration: Approving Your Match & Going Live
sonarPay Migration: The Token Transfer & Matching Process
sonarPay Monthly Statement: Overview
sonarPay Overview
sonarPay Reversals, Voids, & Refunds: Overview
sonarPay: Token Migration Process
System
A Deeper Dive into the New Sonar API
API Calls Using Third Party Applications: Personal Access Tokens
Browser Compatibility and Minimum Hardware Requirements for Sonar
Consuming the Sonar API
Controlling Your Landing Page: Personal Preferences
Customizing Your Customer Portal
Date/Time Picker: Overview
Dynamic Time Zones in Sonar
Filtering: Overview
Frequently Used Terms
Getting Your Data into Sonar
GraphQL Rate Limiting Overview
How To Use GraphiQL to Understand the Sonar API
How Your Data is Backed Up
How to Best Use Global Search
Interacting with Files via the API
Introducing the New Sidebar
Main Menu: Overview
Mutations in the Sonar API
Notification Preferences
REST API Wrappers for V1 Compatibility
SMS Notifications
Sonar Feels Slow: What to Check First
Sonar's Rich Text Editor
System Settings: Overview
The New Sonar API
Troubleshooting the Customer Portal
Upgrading your Ubuntu OS - Customer Portal Upgrades
User Profile: Your Personal User Settings
View History & All Logs: Overview
Ticketing
Advanced Ticketing Features
Canned Replies Examples & Templates
Canned Reply Categories
Exploring Ticket Groups
How Sonar Manages Spam Tickets
How to Integrate Inbound Mailboxes with Slack
Inbound Mailboxes Example Build
Merged Tickets: Overview & Best Practices
Ticket Category Families & Ticket Categories: Overview
Ticket Resolution Reasons: Overview
Ticketing: Overview
Using Parent Tickets
Voice
API Changes for Voice Billing
Best Practices to Remain CPNI Compliant
Billing Voice Services in Sonar
Deploying Voice Services in Sonar
Working With the Sonar Team & Additional Resources
Sonar's Security Practices & Certifications
Security & Compliance
Sonar and General Data Protection Regulation (GDPR)
Technical Security Overview
Best Practices for Fast Tracking a Support Request
Feedback Portal / Suggest a Feature
Learning with Sonar: Tools and Resources
New Client Training Overview
Sonar Casts Table of Contents
Submitting Bugs vs. Feature Requests
The Sonar Community Forum
The Sonar Status Page
Third Party Customer Support Referrals
Where Sonar Stores Your Data
Table of Contents
- Permissions
- Troubleshooting Steps
- Symptom-to-Cause Quick Reference
- Step 1: “Validation Failed” on First Connect
- Step 2: Sonar Cannot Reach the MikroTik API
- Step 3: MikroTik Became Unreachable After Configuration
- Step 4: Subscribers Are Connected but Not Routing
- Step 5: Subscribers Are Not Receiving Dynamic Addresses
- Step 6: Speed or Queue Changes from Sonar Are Not Applying
- When to Open a Support Ticket
- Symptom-to-Cause Quick Reference
- All Categories
- Networking
- Troubleshooting MikroTik Integration Issues
Troubleshooting MikroTik Integration Issues
Updated
by Jennifer Trower
- Permissions
- Troubleshooting Steps
- Symptom-to-Cause Quick Reference
- Step 1: “Validation Failed” on First Connect
- Step 2: Sonar Cannot Reach the MikroTik API
- Step 3: MikroTik Became Unreachable After Configuration
- Step 4: Subscribers Are Connected but Not Routing
- Step 5: Subscribers Are Not Receiving Dynamic Addresses
- Step 6: Speed or Queue Changes from Sonar Are Not Applying
- When to Open a Support Ticket
- Symptom-to-Cause Quick Reference
Read Time: 4 mins
MikroTik integration with Sonar relies on a small number of specific configurations being correct. This article highlights the operational issues that most often occur after setup, including API connection problems, port conflicts, Address List changes, bridge and NAT configuration, and queue or speed changes not applying.
For initial setup, see MikroTik as an Inline Device: Integration With Sonar and the related MikroTik articles.
Permissions
Before getting started with troubleshooting, your user roles will need to be adjusted to account for the permissions required to view and diagnose MikroTik integration issues.
| Entity | Permission | Why It's Required |
|---|---|---|
| Inline Device | View all inline devices | View the MikroTik device record in Sonar, including its IP, port, and connection settings. |
| Inline Device | Update an inline device | Update the MikroTik integration settings, such as port or credentials, when diagnosis identifies a mismatch. |
| Service Mapping | View all integration service mappings | View how Sonar service changes are mapped into MikroTik configuration via the Device Mapper. |
| Field Mapping | View all integration field mappings | View the Device Mapper field configuration for translating Sonar fields to MikroTik fields. |
| IP Assignment | View all IP assignments | Verify IP assignments and pool configuration when subscribers are not routing or not receiving dynamic addresses. |
| Inventory | View all inventory | Review inventory attached to the MikroTik when diagnosing device-side issues. |
| Account | View accounts and related entities | Review affected subscriber accounts and account-level logs when diagnosing routing or address assignment issues. |
Troubleshooting Steps
Start with the symptom that best matches what you are seeing.
Symptom-to-Cause Quick Reference
| Symptom | Most Likely Cause | Go To |
|---|---|---|
| Validation failed on first connect | Validation false-negative | Step 1 |
| Sonar cannot reach the MikroTik API | API user, port, or allowed-from IP | Step 2 |
| MikroTik became unreachable after configuration | Address List was modified | Step 3 |
| Subscribers are connected but not routing | Bridge or NAT order issue | Step 4 |
| Subscribers are not receiving dynamic addresses | Address Pool or DHCP lease script | Step 5 |
| Speed or queue changes from Sonar not applying | API user permissions or device mapper | Step 6 |
Step 1: “Validation Failed” on First Connect
Use this step when you are first validating credentials and Sonar returns a Validation Failed message with the status “This is not a compatible RouterOS service.”
This is a known false-negative. The MikroTik API can take a moment to respond on first connection.
To troubleshoot:
- Wait two minutes.
- Refresh the page.
- Validation usually succeeds on retry without any configuration change.
If the message continues after multiple retries, continue to Step 2.
Step 2: Sonar Cannot Reach the MikroTik API
Use this step when Sonar cannot connect to the MikroTik API at all, or only intermittently.
Three pieces must be correct for the API connection to work.
To troubleshoot:
- Navigate to System > Users on the MikroTik.
- Confirm the user dedicated to Sonar exists and is in the
writegroup. - Confirm the Allowed Address field on the user matches Sonar's current egress IPs.
- Confirm the API port is not blocked by any firewall between the MikroTik and Sonar.
- Confirm the port configured in Sonar's MikroTik integration matches the API port in use.
If you have changed Winbox or API ports from their defaults (8291 and 8729 respectively), make sure the new port values are configured in Sonar's integration settings.
Step 3: MikroTik Became Unreachable After Configuration
Use this step when the MikroTik is no longer reachable on its management interface, often shortly after an Address List edit.
Do not delete or modify the existing 192.168.122.x Address List on the MikroTik. Deleting or modifying it will render the MikroTik unreachable. Recovery requires direct console access and starting the configuration over.
If this has already happened, console access is required to restore configuration.
Step 4: Subscribers Are Connected but Not Routing
Use this step when subscribers receive IP addresses and can connect to the gateway, but cannot reach the internet.
This is usually a bridge or NAT configuration order issue.
To troubleshoot:
- Confirm a bridge exists and is properly assigning subscriber interfaces.
- Confirm a NAT masquerade rule exists and is scoped to your subscriber IPAM supernet.
- Confirm the NAT rule was added after the bridge was in place, not before.
- Confirm a default gateway route exists pointing to your upstream.
If the bridge and NAT were configured in the wrong order, remove and re-add the NAT rule with the bridge already in place.
Step 5: Subscribers Are Not Receiving Dynamic Addresses
Use this step when subscribers expecting dynamic DHCP leases either receive no address or receive an address that does not sync to Sonar.
To troubleshoot:
- Confirm the DHCP pool in MikroTik points to the correct IPAM-backed pool.
- Confirm the Address Pool setting is not still set to
static-onlyfrom initial setup. For dynamic leases, change it to the configured pool. - Confirm the DHCP lease script is installed. For more information, see Troubleshooting DHCP and DHCP Delivery.
Step 6: Speed or Queue Changes from Sonar Are Not Applying
Use this step when speed changes or queue updates made in Sonar do not apply on the MikroTik.
To troubleshoot:
- Confirm the API user has
writegroup permissions. - In Sonar, confirm the device has a Device Mapper configured. For more information, see Building a Device Mapper.
- Confirm the queue tree and PCQ structure on the MikroTik matches what Sonar expects. For more information, see MikroTik: Controlling Speeds.
- Test by manually changing a queue on the MikroTik using the same API user from a workstation. If manual API calls work but Sonar's do not, gather logs and open a support ticket.
When to Open a Support Ticket
Open a support ticket after completing the relevant troubleshooting step if the issue continues.
Include the following information:
- The symptom you are seeing.
- The step in this article you completed.
- MikroTik model and RouterOS version.
- The API port being used and confirmation it is open from Sonar's egress IPs.
- Whether the API user is in the
writegroup and what its Allowed Address field contains. - A snippet of the relevant Sonar log.
- Any recent configuration changes on the MikroTik.
