Bonjour gateway status returns nothing

  • 1
  • Question
  • Updated 5 years ago
  • Answered
I'm in the process of setting up two bonjour gateways.

Both are on the correct network and the VLAN scan returns the right results. I can ping other machines on the same network on both.

But on one, the command show bonjour-gateway status returns the information I would expect, but on the other it returns nothing at all, just goes to another command prompt.

What does that mean?
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Please share the output of the command 'sh l3 int' from both devices and a description of your VLAN setup and a couple of screenshots if possible.

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Chris

This morning they are both doing it!

Our setup is that one gateway sits on our main network 192.168.0.0/20 running VLAN1. The other gateway sits on the same network as our wireless clients 10.0.0.0/20 VLAN10.

Both gateways can ping other machines on their particular network and running the VLAN probe in HiveMangager gives the expected results.

On the 10.0 one, the command you gave returns...

Name IP Mode VLAN MAC State
Mgt0 10.0.7.18 - 10 0050:56b0:2f42 U

And on the 192 one...
Name IP Mode VLAN MAC State
Mgt0 192.168.6.40 - 1 0050:56b0:1c98 U

What do you want screenshots of? In HiveManager Both show up as connected with no alarms, but no realms are currently in place.

I've not yet set up any routing between the two, but our router isn't showing them even attempting to talk to each other.

Thanks for your help
James
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
James,
Am I understanding you correctly that each of your Bonjour Gateways has one and only one interface, on one VLAN? If so, that's the root of your problem. A gateway device needs to be connected to two or more networks (VLANs in this case), and it takes advertisements learned on one and re advertises them onto the other.
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Mike

I am following the instructions here http://vault.securicore.ca/datasheets...

The instructions say that you set up two Bonjour Gateways, one on one subnet and one on the other, you then set up routing between them.



Each of the gateways has two network connections (I haven't changed this from the original ovf). Are you saying that each gateway needs one connection on each network?

Does that explain why the show bonjour-gateway status isn't returning anything?
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Ok, so we are getting somewhere, I gave each gateway a connection into the 'other' network.

Now I have two realms showing up in HiveManager. Thanks!

So, next I need to figure out how to get these realms to share with each other (and by figure out I mean get somebody to tell me)
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Each gateway needs to be connected to a trunk port which has the VLANs the bonjour services are being carried on.

You probably only need a single bonjour gateway in your network connected to a trunk port which carries all the necessary VLANs, then you can filter out the VLAN's you want to share in your bonjour network policy.

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Chris

Thanks for the help, very much appreciated.

The trouble is that we aren't just talking about two VLAN's but two different subnets/networks. So whilst I can easily give a single gateway a connection into both, it's only going to have an IP address on one of the networks.

So currently the gateway has 192.168.6.40/20 and can communicate with anything on that network, it's doing that and finding services. But it doesn't know about the 10.0 network.

If I could tell it somehow that it needs to be re-advertising to the 10.0 network then my routing rules should take care of allowing it to do so, but it doesn't seem to know that's what it's supposed to be doing, if that makes sense.

I thought that was why you had two gateways in a single realm, because then they know about each other, and they know where to advertise their services to.
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

It doesn't matter what IP address you have the mgt0 interface configured as. Does the bonjour gateway sit on a switch port which carries all VLANs?

Each VLAN used for bonjour needs to have a DHCP server available for bonjour to work properly, once you connect to a trunk port and tell the gateway which VLAN's you want to share bonjour services on, it probes these VLAN's for DHCP servers on the network and assigns a virtual interface for each specified VLAN which is used for bonjour forwarding.

You would need 2 gateways if you have completely separated network switches, where you only use certain VLAN's in each part of your network and each part doesn't know about the other networks.

hope this makes sense.
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Chris

Thanks for clearing it up. The Configuration Guide says that once you've configured the first one, you need to deploy a second into a different subnet/VLAN, which is what was confusing me.

We do have DHCP servers in both networks so I will set up a port with access to both VLAN 1 and VLAN 10.

Once I've done that what would I set as the VLAN settings in the HiveManager? Or do I leave these as they are?

Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Agreed, it is not totally clear from the documentation....

Set the VLAN settings (native VLAN) in HM to match your back end network, the management VLAN can be left as default also unless you have a requirement to have it in a different VLAN.

Let me know if you need anything else clarifying.

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Chris

Thanks again, sorry to be a pain but I think we are nearly there. I have done as you have said and I now have a gateway device that can see both VLAN's when I do the VLAN probe.



However, it has not set up as a realm and once again the command show bonjour-gateway status returns nothing.



The VM itself has two NIC's (as default) and both are connected to the same virtual switch so in turn the same trunked port. It has picked up a management IP in the 192 range.

Am I still missing something? I thought once we got to this stage the HiveManager would set up a realm automatically.
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Have you configured bonjour in your network policy?...Add the bonjour gateway in your network policy here...



Then tell it which VLAN's you want to relay services to and what service filters you want to apply...



Push out the configuration to your device and then you should see it in the following monitor page....



Are you only running a single bonjour Virtual AP in your network, or do you have AP's in your environment also?

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Hi Chris, yes the network policy is set exactly like that except set to scan VLAN's 1-10.

The configuration has been pushed and the Virtual AP restarted but no realms are present.

Yes, we just have the one Virtual AP and are using another vendor for our other AP's at the moment.
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Can you share some screenshots of the device in monitor page, bonjour network policy config, and bonjour gateway in the monitor tab...
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Here you go. I'm sure I'm missing something obvious on the VLAN setting.

I've just done the VLAN probe again and it is still definitely seeing both networks.

Thanks
James










Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Have you also configured a DNS server in your network policy under additional settings? And are you able to upgrade the Hive Manager and AP to 5.1r5 firmware also?

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
I have done the DNS now.

I signed up for a fresh HiveManager account and downloaded the AP from there. I assumed that was the latest version. Where is 5.1r5 available from?

Last week, when I had the two gateways set up, they were acting as individual realms and discovering services, so our network is clearly able to support it. Is the gateway just not behaving as expected? I don't understand why it's so difficult to get going.

Thanks again for the help
James
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
I take it you've given up on me now then?
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Do you get anything from the output of show bonjour-gateway status from the AP?

It might be best if you open a support ticket so we can assist further.

Chris
Photo of James Consterdine

James Consterdine

  • 17 Posts
  • 0 Reply Likes
Nope, still nothing.

I've emailed free_bonjour_support@aerohive.com a couple of times but not got a reply.
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Are you able to give me access to your HM take a look at this?
Photo of Chris B

Chris B, Official Rep

  • 93 Posts
  • 10 Reply Likes
Hi James

Just to touch base on this issue, we installed a new instance of bonjour gateway and re configured the network policy as per the guide and we now have advertisements across VLANs.