Multiple Subnets AirPrint — Avahi Bonjour Gateway Fix Guide
Joe B.
Reviewed for technical accuracy
Specialities: Windows, macOS, Printers, Networking, mDNS/Bonjour, CUPS, VLANs
AirPrint across VLANs — enable mDNS/Bonjour between subnets with Avahi reflector
Quick answer: the accepted fix
Accepted fix for AirPrint not visible across subnets: deploy an Avahi/Bonjour gateway (mDNS reflector), allow UDP 5353 and TCP 631 between VLANs, verify IGMP snooping + querier, and limit forwarded DNS-SD service types to _ipp, _ipps, _printer. This enables reliable AirPrint across multiple VLANs.
Why AirPrint breaks on multiple subnets
Bonjour/mDNS is link-local by design, so discovery packets don’t cross routers. Without a Bonjour gateway or Avahi reflector, iOS/macOS can’t see IPP Everywhere printers in other VLANs. Add the gateway, open UDP 5353, and ensure an IGMP querier so snooping doesn’t suppress multicast.
How to verify cross-VLAN AirPrint
On iPhone, open any app → Share → Print → Select Printer. Printers from the remote VLAN should appear within 3–10 seconds. On macOS, System Settings → Printers shows the same AirPrint queues. From Linux, run avahi-browse -art | grep _ipp._tcp and confirm services reflect across interfaces.
Bonjour gateway pro tips
Reflect only the services you need and keep multicast healthy.
Limit forwarded DNS-SD types (_ipp, _ipps, _printer, _scanner) to reduce noise; keep TTL defaults; add static IP for printers; and publish human-readable names. If you outgrow reflection, consider Wide-Area Bonjour (unicast DNS-SD) for campus/enterprise environments.
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month.
FAQ
How do I enable AirPrint across VLANs/subnets?
Deploy an Avahi reflector or vendor Bonjour gateway, allow UDP 5353 and TCP 631 between VLANs, ensure an IGMP querier, and limit forwarded service types to IPP/AirPrint.
Why don’t iPhones see printers in other subnets?
mDNS/Bonjour is link-local and won’t cross routers without a gateway/reflector. Add Avahi or enable your network’s Bonjour gateway feature.
Do I need vendor drivers if I enable Bonjour gateway?
Usually no. AirPrint/IPP Everywhere is driverless for most use cases. Keep vendor drivers only if you need finishing, accounting, or advanced color features.
What ports must be open for cross-VLAN AirPrint?
UDP 5353 for mDNS discovery and TCP 631 for IPP printing. Optionally TCP 9100 if you still use RAW/JetDirect.
pfSense/OPNsense vs UniFi — which is easier?
Both are fine. pfSense/OPNsense use the Avahi package (Reflector mode). UniFi offers a built-in mDNS/Bonjour Gateway with per-service filtering.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| AirPrint not visible in other VLANs | No Bonjour gateway; mDNS not routed | Enable Avahi reflector / Bonjour gateway; allow UDP 5353; IGMP querier |
| Some users see printers, others don’t | IGMP snooping without querier; multicast filtered | Turn on IGMP querier; permit 224.0.0.251; minimize service set |
| Can discover but cannot print | TCP 631 blocked; printer ACLs | Permit TCP 631 to printer VLAN; verify printer firewall/ACLs |
| Discovery slow or flaky | Too many DNS-SD types; Wi-Fi isolation | Filter to _ipp/_ipps/_printer; disable client isolation for trusted SSIDs |
Step-by-step (Avahi reflector)
- Install avahi-daemon on a host with interfaces in each VLAN.
- Edit
/etc/avahi/avahi-daemon.conf: enable reflector, list allow-interfaces, and optionally set reflect-filters to IPP services. - Allow UDP 5353 between client VLANs and the Avahi host; allow TCP 631 from clients to printer VLAN.
- Ensure IGMP querier is active on VLANs with snooping.
- Restart Avahi; test discovery from iOS/macOS; print a test page via IPP.
Optional: advanced setups
- UniFi/Meraki/Aruba Bonjour gateway — forward only _ipp, _ipps, _printer.
- Wide-Area Bonjour (DNS-SD) — publish IPP records into DNS for campus networks.
- CUPS sharing — proxy legacy printers via a CUPS server that advertises AirPrint.
Sources
- Avahi — service discovery for Linux (reflector)
- Apple — Bonjour / DNS-SD overview
- CUPS — IPP/IPP Everywhere basics
- Ubiquiti — mDNS/Bonjour Gateway
- pfSense — Avahi package/reflector
Filed under: Network security / VPN / office policies (advanced)
Related articles
- pfSense Blocks AirPrint Across Subnets — Fix Guide
- Shopify POS AirPrint receipt issues — firewall/port fix
- AirPrint Across VLANs — Avahi Reflector Setup Guide
- Printer won’t print prescriptions or medical reports — it’s urgent and nothing comes out
- Chrome managed profile watermark prints wrong — policy override checks you can do safely
- Ricoh “Hold Print” enabled by AD — disable policy
- Ricoh SMB scan works but print fails — AES signing mismatch
- Android VPN blocks printer discovery — split tunnel rule (work profile)