Why is my Bonjour Gateway not working?

  • 2
  • Question
  • Updated 4 years ago
  • Answered
Bonjour Gateway is a dead on arrival feature for the past six months. Now running 5.1r5

Each time we went through the 'premium' reseller for help , we were advised this was a configuration problem and they would charge us around £750 to have a look and set this up.

Perhaps Aerohive should not tout such unproven features let alone release them and then leave it to the customer to discover what is working and what is not.

And perhaps the broken functions and the information that these will be fixed in the release needs to be communicated to the resellers so that half baked features do not turn into a reoccurring business model .

Opening a new support ticket now to see if this turns out to be any different.
BTW *._raop._tcp. did not make any difference sadly.

Note: This topic was created from a reply on the Why aren't my iOS devices seeing rebroadcasts? topic.
Photo of Anjanesh Babu

Anjanesh Babu

  • 68 Posts
  • 7 Reply Likes

Posted 5 years ago

  • 2
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Anjanesh,

Bonjour Gateway does work. I'm not sure what issue you are having, but I'll guess based the other BG cases I've worked.

Static IP addresses cannot be used for virtual interfaces on the Bonjour Gateway, but can be used for mtg0. Please be aware that the Bonjour Gateway will create a virtual interface for each VLAN detected/configured. Each virtual interface needs to get an IP from DHCP. That means you need to have a DHCP server on each VLAN and each needs to have an available IP range ready to service the virtual interface on its VLAN. The rest is pretty automatic. However, many who have a lot of Bonjour/Airplay traffic find that they need to restart the Bonjour service once a day to prevent some services from not being advertised.

no bonjour-gateway enable

bonjour-gateway enable
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Where in the Aerohive documentation does it state that static IP addresses cannot be used for the Bonjour Gateway?

A couple of questions:

* Since access points acting as DHCP and RADIUS servers require static IP addresses does this mean that we should configure all the access points that are not acting as DHCP and/or RADIUS servers to get their IP addresses via DHCP and the Bonjour Gateway will use one of these access points to act as the BDD?

* If there are some access points with static IP addresses and some with IP addresses assigned by DHCP how does the Bonjour Gateway ensure that one of the access points with a static IP address is not selected as the BDD (or does it not matter)?

* Can an access point with a static IP address act as part of the Bonjour Gateway or will wireless clients associated to one of these access points not receive Bonjour advertisements?
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Would it not make more sense for the VLANs the Bonjour devices reside in to have DHCP with the VLAN the access point reside in not having to?
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Crowdie,

Virtual interfaces created on Bonjour Gateway for VLANs (bgd0.x) will always be automatically set to receive IP from DHCP regardless of whether mgt0 is set to receive IP via DHCP or static IP assignment. This means that it is possible to have mgt0 statically assigned on the Bonjour Gateway, but you will still need DHCP server/s to provide IPs for all the data VLAN carrying Bonjour traffic on the AP in question. This means that it is possible for a AP acting as a DHCP server to be statically assigned a management IP address and be elected the BDD.

Q1* Since access points acting as DHCP and RADIUS servers require static IP addresses does this mean that we should configure all the access points that are not acting as DHCP and/or RADIUS servers to get their IP addresses via DHCP and the Bonjour Gateway will use one of these access points to act as the BDD?
REPLY: Any AP in the same Hive can be elected the BDD regardless of whether it has a static or DHCP derived IP address on mgt0.

Q2* If there are some access points with static IP addresses and some with IP addresses assigned by DHCP how does the Bonjour Gateway ensure that one of the access points with a static IP address is not selected as the BDD (or does it not matter)?
REPLY: APs with static IP addresses can be elected the BDD and it will work as long as DHCP is providing IP addresses for all the data VLAN including the automatically created virtual interfaces that exist for each detected VLAN.

Q3* Can an access point with a static IP address act as part of the Bonjour Gateway or will wireless clients associated to one of these access points not receive Bonjour advertisements?
REPLY: This will not be a problem.
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Scott,

Thanks for the quick reply.

So, if we have three VLANs:

100 - The APs are housed here
200 - The Bonjour capable printers are here
300 - The iPads are here

We need to do the following to get the Bonjour Gateway going:

1) The "Scan the following VLANs for services" field in the Bonjour Gateway Settings area should be 200
2) The available services in the Bonjour Gateway Settings area should be all the "Printing" services
3) We only have to have DHCP enabled on VLAN 200 (as the Bonjour resources are here). The scope size must be large enough to allocate an IP address to each access point.
4) We create LAN and/or access point firewall rules to allow printing traffic between the two VLANs
5) We assign the newly created Bonjour Gateway Settings to the appropriate Network Policy

Is there anything else we need to do?
Photo of Anjanesh Babu

Anjanesh Babu

  • 68 Posts
  • 7 Reply Likes
Good Morning,
I was away overseas on emergency and now back to follow up this .
May I thank everyone who has responded on this and I will carry out a few more tests .
The situation is that both source and destination ip are private and thus not globally routed.
More on this soon with detailed schematics.
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
I upgraded one of my customer's HiveManager and AP330 access points to 6.0r2 hoping it may help with the Bonjour Gateway and iOS issue. However, after the upgrade:

* My iPad 2 running iOS 6.1.3 is still unable to locate printers through Safari

* My Windows 7 SP1 laptop running the Bonjour Browser 1.04 and Bonjour Print Services 2.0.2 can locate the printers

Therefore, I have to assume that the 6.0r2 firmware has not resolved the Bonjour Gateway with iOS issue.
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Just to keep everybody in the loop we have a Support case open for the iOS 6 and later devices not being able to see the Bonjour advertisements from the Bonjour Gateway 6.0.2 but we have not made any progress.

I'll keep you informed as to what progress we make.

Has anybody been successful in getting iOS 6 or 6.1 devices working with the Bonjour Gateway?
Photo of iamkarlp

iamkarlp

  • 11 Posts
  • 1 Reply Like
Crowdie: Everyone I know with bonjour gateway has it working fine with iOS6. At first it was just the users with access to the new builds (not the freebie gateway users) that it was working, but with the newest build now released for the VM, we are all running as well.

My guess is that you have something else wrong in your networks. The product works just fine.

Karl P
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
We are currently on the "when is a Bonjour printer not a Bonjour printer" path. It appears that a number of printers which are "advertised" (excuse the pun) as Bonjour compliant are, in fact, not 100% Bonjour compliant and this causes issues. My gut feeling is that the customer's commercial colour laser printers fall into the not 100% Bonjour compliant category.

I am trying to get a 100% Bonjour compliant printer from the local Apple distributor to test with the 6.0r2 Bonjour Gateway,
Photo of iamkarlp

iamkarlp

  • 11 Posts
  • 1 Reply Like
Your onto something there.

To be honest, No one in my sphere of influence relies on the printers working natively.

We disable any type of broadcast on all of our printers, then run a mac mini and lion server with all the printers setup and shared from there. We do the same with a windows print server if we need the windows side of things.

Throw Fingerprint or Printopia onto the mac mini and your problems will go away.

PS: about 90% of the "bonjour" printers are not "airprint" printers.

However the mac mini route will fix all of that. If it's mac compatible it's airprint compatible.

Karl P
Photo of Crowdie

Crowdie, Champ

  • 972 Posts
  • 272 Reply Likes
Karl P,

Thanks for the heads up on the Fingerprint product. We are downloading an evaluation version of Fingerprint 2 and we will see how it goes.
Photo of Emilio Maldonado

Emilio Maldonado

  • 37 Posts
  • 11 Reply Likes
Crowdie,
The latest update of the Free Bonjour Gateway solves couple of known problems with iOS devices. Here is the announcement and the upgrade procedure. Give it a try.
http://community.aerohive.com/aerohiv...

Regards
Emilio
Photo of Orhan Bozkartal

Orhan Bozkartal

  • 1 Post
  • 1 Reply Like
Hello,

i have a question similar to this. We have 111 APs in our Network and 4 VLANs. We have HiveManager in House on ESXI.
Bonjour Gateway works only in one destination. All iPads and iPhones see all Apple TVs, i can choose one, but nothing works when click on an Apple TV.
With the App Discovery (free from AppStore) i can see all Service without Problem. IPP, Airplay a.s.o. But i didn't get any picture or Sound on my Apple TVs.

Is this Problem familiar? Where should i begin to search for the problem?
VLAN 4 has a firewall Rule for Guest. But in other VLANs it didn't works too.

Thanks for your replies.

Orhan
Photo of Karl Peterson

Karl Peterson

  • 18 Posts
  • 0 Reply Likes
If you are running the current version, and you can see the services, then bonjour gateway should be working.

I would start by exploring firewall rules - My guess is that you are somehow, somewhere, being blocked.

Since bonjour gateway sits across VLANs, it isn't affected by firewall rules - but the services it advertises do not go through the gateway, but do go through your normal gateways/routers/firewalls, and so need to be accommodated there.

Karl P
Photo of Scott M.

Scott M., Sr. Support Engineer

  • 104 Posts
  • 8 Reply Likes
Hello Orhan,

I see that you're in Germany. I recommend that you contact your service provider to open a support case for this issue.
Photo of irldexter

irldexter

  • 37 Posts
  • 1 Reply Like
Also guys and gals, (for Access Points) looks like some great command line output is available in these guides below. But to echo the reachability checks recommended above, try via normal means first i.e. ICMP (ping) echo request the endpoints for IP connectivity first and ensure all ACL/FW rules are present and correct first. Also ensure the APs required are set as roaming partners for each other... + check their bonjour output to see if the services are advertised/filtered. Additionally utilise something like http://www.tildesoft.com/ Bonjour Browser on the endpoints to see what they can see.

Great set up guides:
http://blogs.aerohive.com/blog/the-wireless-lan-training-blog/bonjour-gateways-galore
http://blogs.aerohive.com/blog/the-wireless-lan-training-blog/bonjour-gateways-cross-subnet-communic...
(Edited)
Photo of J. Goodnough

J. Goodnough, Champ

  • 266 Posts
  • 32 Reply Likes
Bonjour Gateway has been MUCH better since about 6.1r3.