Re: samba ad-dc member as print server for vlans

Adam Thorn via samba <[email protected]>
Newsgroups gmane.network.samba.general
Message-ID <[email protected]>
On 19/08/2026 13:29, Rowland Penny via samba wrote:

> On Tue, 18 Aug 2026 08:52:56 -0300
> "Douglas G. Oechsler via samba" <[email protected]> wrote:

>>
>> 1- I can search for a printer with windows 10 only in the Vlan that
>> debian 13 was installed and configured. Not automatically, manually
>> only, but ok, clicking on the printer, windows 10 can install printer
>> a on the system. Windows 11 can search and install too, only manually.
>> 2 - I can not search the printer in another vlan that is different
>> from how debian 13 was configured.
> 
> I think you are stuck with installing the printers manually, I do not
> think printer discovery works across vlans. 

I suspect the issue Douglas is facing is that printer discovery via 
mdns/bonjour works by adverts from printers being sent to layer 2 
multicast (NB Douglas: it's helpful to keep the concepts of a layer 2 
VLAN and a layer 3 subnet separate, even though you may in practice have 
a 1-to-1 mapping of subnets to VLANs). And by design multicast/broadcast 
traffic is segmented within a VLAN.

If you can arrange for a server that has an interface in every vlan, you 
can then install avahi and run it as a reflector to rebreadcast the mdns 
adverts it receives into all of the VLANs. I think a minimal config is just:

[reflector]
enable-reflector=yes
# possibly reflect-filters= to restrict what kind of mdns packets to reflect



Adam

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.