I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net).
There are routes between the subnets and things like ssh host-A.wifi
from host-B.lan
works.
But, wireless clients (like iPads and iPhones) on the 10.0.2.0/24 net can't seem to find stuff on the LAN (for example, airplay to an Apple-TV on the LAN).
I'm not totally sure, but I think this is because Apple uses Bonjour and Bonjour uses Multicast to find things and Multicast is not routed across subnets.
According to the FreeBSD handbook, to route multicast, I need to compile the kernel with options MROUTING
and create a /etc/mrouted.conf
, but I can't find any good examples of the configuration file.
- Is my problem related to multicasting across subnets?
- Is
mrouted
the preferred solution in FreeBSD to enable routing? - How do I create a
/etc/mrouted.conf
that routes between 10.0.1.0/24 and 10.0.2.0/24?