Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 10, 2012, 04:03 PM   #1
el.pescado
macrumors newbie
 
Join Date: Oct 2012
Bonjour not working in Wifi/Ethernet

Hi,

I have a MacBook Pro with Mountain Lion installed, a Linux PC that serves as file server (using Netatalk), and a D-Link DIR-300 router. When all devices are connected via Ethernet, everything works fine.

Hoverver, when i connect MacBook using WiFi, is cannot detect any services hosted by Linux box. I can connect by manually entering IP address in "Connect to server" window, though.

The moment I plug ethernet cable, remote shares instantly show in Finder.

However connected, both devices are in same network, ping each other etc.

Can anyone help?
el.pescado is offline   0 Reply With Quote
Old Oct 10, 2012, 09:51 PM   #2
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
Quote:
Originally Posted by el.pescado View Post
Hi,

I have a MacBook Pro with Mountain Lion installed, a Linux PC that serves as file server (using Netatalk), and a D-Link DIR-300 router. When all devices are connected via Ethernet, everything works fine.

Hoverver, when i connect MacBook using WiFi, is cannot detect any services hosted by Linux box. I can connect by manually entering IP address in "Connect to server" window, though.

The moment I plug ethernet cable, remote shares instantly show in Finder.

However connected, both devices are in same network, ping each other etc.

Can anyone help?
mDNS stuff needs to be delivered at a minimum rate, for 2.4GHz network it is 12Mbps (so Cicso says). Ensure your connection is at least this fast. Also ensure that when on wifi you're not on a different network segment or netmask.
jared_kipe is offline   0 Reply With Quote
Old Oct 11, 2012, 10:41 AM   #3
Sayer
macrumors 6502a
 
Sayer's Avatar
 
Join Date: Jan 2002
Location: Austin, TX
Bonjour only works between all machines on the same subnet.

WiFi can be on a different IP subnet range from a wired connection, leaving your WiFi Mac in a different subnet and thus unable to "see" the subnet where Bonjour is.

Code:
Maybe Ethernet is: 192.168.1.xxx

Maybe WiFi is:     192.168.2.xxx
Different subnet means no Bonjour across both WiFi and Ethernet.
__________________
Obama is a true statesman whose experience as a state senator, half-term US Senator & guest lecturer in a Constitutional Law class has fully prepared him to take control of our nuclear arsenal.-Me
Sayer is offline   0 Reply With Quote
Old Oct 11, 2012, 04:01 PM   #4
jmcgeejr
macrumors 6502
 
Join Date: Oct 2010
Location: Seattle, WA
Quote:
Originally Posted by Sayer View Post
Bonjour only works between all machines on the same subnet.

WiFi can be on a different IP subnet range from a wired connection, leaving your WiFi Mac in a different subnet and thus unable to "see" the subnet where Bonjour is.

Code:
Maybe Ethernet is: 192.168.1.xxx

Maybe WiFi is:     192.168.2.xxx
Different subnet means no Bonjour across both WiFi and Ethernet.
it may not even be that, some routers now are blocking wifi from talking to ethernet for security sake, it's a setting called something like wifi segmentation or something like that
jmcgeejr is offline   0 Reply With Quote
Old Oct 11, 2012, 04:36 PM   #5
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
Quote:
Originally Posted by jmcgeejr View Post
it may not even be that, some routers now are blocking wifi from talking to ethernet for security sake, it's a setting called something like wifi segmentation or something like that
OP did say he could communicate directly through IP address, so it would have to be something more like blocking port 5353.
jared_kipe is offline   0 Reply With Quote
Old Oct 11, 2012, 04:38 PM   #6
jmcgeejr
macrumors 6502
 
Join Date: Oct 2010
Location: Seattle, WA
Quote:
Originally Posted by jared_kipe View Post
OP did say he could communicate directly through IP address, so it would have to be something more like blocking port 5353.
not necessarily, bonjour is a broadcast protocol, direct IP is not, some firewalls block broadcasting btw wifi and lan.
jmcgeejr is offline   0 Reply With Quote
Old Oct 11, 2012, 04:47 PM   #7
jared_kipe
macrumors 68030
 
jared_kipe's Avatar
 
Join Date: Dec 2003
Location: Seattle
Send a message via AIM to jared_kipe
Quote:
Originally Posted by jmcgeejr View Post
not necessarily, bonjour is a broadcast protocol, direct IP is not, some firewalls block broadcasting btw wifi and lan.
Ok plausible then. Any particular router/brand that is doing this?
jared_kipe is offline   0 Reply With Quote
Old Oct 12, 2012, 05:14 AM   #8
assembled
macrumors regular
 
Join Date: Jan 2009
Location: London
you probably have multicast on WiFi disabled
assembled is offline   0 Reply With Quote
Old Oct 12, 2012, 12:00 PM   #9
el.pescado
Thread Starter
macrumors newbie
 
Join Date: Oct 2012
Quote:
Originally Posted by Sayer View Post
Bonjour only works between all machines on the same subnet.

WiFi can be on a different IP subnet range from a wired connection, leaving your WiFi Mac in a different subnet and thus unable to "see" the subnet where Bonjour is.

Code:
Maybe Ethernet is: 192.168.1.xxx

Maybe WiFi is:     192.168.2.xxx
Different subnet means no Bonjour across both WiFi and Ethernet.
Both WiFi and Ethernet are on the same subnet:
Code:
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
	ether xx:xx:xx:xx:xx:xx 
	inet 192.168.0.130 netmask 0xffffff00 broadcast 192.168.0.255
	media: autoselect (100baseTX <full-duplex,flow-control>)
	status: active
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether xx:xx:xx:xx:xx:xx 
	inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255
	media: autoselect
	status: active
el.pescado is offline   0 Reply With Quote
Old Oct 15, 2012, 03:58 PM   #10
assembled
macrumors regular
 
Join Date: Jan 2009
Location: London
and as I said, your "router" is probably blocking multicast to/from WiFi

with no multicast, there is no mDNS, the m in mDNS being multicast...

with no mDNS there is no Bonjour...
assembled is offline   0 Reply With Quote
Old Oct 15, 2012, 04:05 PM   #11
el.pescado
Thread Starter
macrumors newbie
 
Join Date: Oct 2012
I have checked my router (DLink DIR-300) configuration, and in "Advanced Network" screen there is "Multicast Streams" section, with two options checked: "Enable Multicast Streams" and "Wireless enhance mode". Strange.

EDIT:

Last edited by el.pescado; Oct 15, 2012 at 04:10 PM.
el.pescado is offline   0 Reply With Quote
Old Oct 15, 2012, 04:22 PM   #12
assembled
macrumors regular
 
Join Date: Jan 2009
Location: London
you might want to try using Wireshark to see if you can see the mDNS packets
assembled is offline   0 Reply With Quote
Old Apr 12, 2013, 02:32 AM   #13
tjmarques
macrumors newbie
 
Join Date: Aug 2008
Hi,

I'm sorry for bumping this old(ish) thread, but I'm having the exact same problem with my MacBook Pro running Mountain Lion, only with the wired connection, not the wireless: when connected through WiFi all network devices show immediately in Finder, when connected through Ethernet cable, nothing is shown.
All devices are on the same subnetwork (192.168.1.x) and I've ruled out router configuration as the problem as a PPC Mac Mini running Leopard connected to the exact same Ethernet port in the router works as expected.

Were you able to solve your problem?
Any other suggestions?
Ethernet device configuration?

Thank you for any help you can provide
tjmarques is offline   0 Reply With Quote
Old May 26, 2013, 08:59 AM   #14
MareoRaft
macrumors newbie
 
Join Date: Oct 2005
Renew DHCP Lease

I had this problem and the fix was this:

Network > Airport > Advanced > TCP/IP, and then click "Renew DHCP Lease" button.

It was clear my issue had only to do with my wi-fi connection, because when I plugged an ethernet cable to the router, bonjour worked.
MareoRaft is offline   0 Reply With Quote
Old Jun 11, 2013, 09:00 AM   #15
dcyb
macrumors newbie
 
Join Date: Jun 2013
Bonjour cannot be routed

I am having the same problem and found more information here.

Quote:
Each query or advertisement is sent to the Bonjour multicast address for delivery to all clients on the subnet. Apple’s Bonjour protocol relies on Multicast DNS (mDNS) operating at UDP port 5353 and sends to these reserved group addresses:

IPv4 Group Address - 224.0.0.251
IPv6 Group Address - FF02::FB

The addresses used by the Bonjour protocol are link-local multicast addresses and thus are only forwarded on the local L2 domain. Routers cannot use multicast routing to redirect the traffic because the time to live (TTL) is set to one, and link-local multicast is meant to stay local by design.
I wished that sort of info was provided by Apple at least. So far I don't have a solution though. Cisco's article suggests a dedicater router is required

Really sucks.
dcyb is offline   0 Reply With Quote
Old Jun 11, 2013, 12:54 PM   #16
dcyb
macrumors newbie
 
Join Date: Jun 2013
mDNS can be repeated!

After more research...

Some solutions are proposed on this post to route mDNS from the wifi subnet to the other one:
http://forum.pfsense.org/index.php?t...1412#msg321412

Quote:
There Darell Tan wrote a mdns repeater for *WRT here:
mdns-repeater: mDNS across subnets

Joel Knight wrote something about this as well, specifically using AVAHI.
AirPlay, VLANs, and an Open Source Solution

And lastly, there are applications for windows and osx that can help you, as detailed here:
Bonjour/ZeroConf/Rendezvous/mDNS across multiple subnets
such as running an mDNS-repeater daemon on the Wifi router... cool but not so straight-forward..

Last edited by dcyb; Jun 11, 2013 at 01:12 PM.
dcyb is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Bonjour sleep proxy not working via ethernet solodogg OS X Mavericks (10.9) 2 Nov 19, 2013 03:18 PM
How do I force Mac to use Ethernet connection when both WiFi and Ethernet are active? petrucci666 OS X Mavericks (10.9) 2 Oct 28, 2013 09:54 PM
Powermac ethernet says its on but not connecting to known working ethernet? Lil Chillbil PowerPC Macs 13 Jul 21, 2013 07:38 PM
Can't connect 2 mac by ethernet (only wifi working) Moskiton Mac Basics and Help 1 May 9, 2013 10:42 AM

Forum Jump

All times are GMT -5. The time now is 08:07 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC