Hi,
I have a pretty standard network setup with one interface (lagg0, 192.168.1.3) being used as the main interface for serving clients and a management interface (em0, 192.168.2.5), which is only used for some remote management work.
The issue I have is that the default interface registered in mdns is the management interface. So whenever you do ping server.local or ping6 server.local, it would ping the management interface instead. The same goes for ssh server.local. Now I know I could use the IP addresses or whatever, but my need is to be able to allow clients to simply use server.local to connect to the server.
I tried changing the avahi-daemon.config and adding 'deny-interfaces=em0', but that didn't do anything. In fact, I don't think FreeNAS is using avahi at all anymore.
Is there no simple way to remove the management interface from mdns? So that instead of:
It would resolve to 192.168.1.3 on the other interface?
Thanks very much!
I have a pretty standard network setup with one interface (lagg0, 192.168.1.3) being used as the main interface for serving clients and a management interface (em0, 192.168.2.5), which is only used for some remote management work.
The issue I have is that the default interface registered in mdns is the management interface. So whenever you do ping server.local or ping6 server.local, it would ping the management interface instead. The same goes for ssh server.local. Now I know I could use the IP addresses or whatever, but my need is to be able to allow clients to simply use server.local to connect to the server.
I tried changing the avahi-daemon.config and adding 'deny-interfaces=em0', but that didn't do anything. In fact, I don't think FreeNAS is using avahi at all anymore.
Is there no simple way to remove the management interface from mdns? So that instead of:
# ping server.local
PING server.local (192.168.2.5): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
It would resolve to 192.168.1.3 on the other interface?
Thanks very much!