Routing broadcast between VLANs

Hello All,

I have a canon printer/scanner in a different subnet that my laptop does.
Discovering the printer works, thanks to bonjour frames being relayed by avahi reflector.

However scanning doesn’t work and I suspect canon’s BJNP protocol and their broadcasted frames may be guilty for that.
Tcpdump / wireshark show me frames being sent to 10.2.0.255 and 224.0.0.1 port 8612 (Info: Canon BJNP, Scanner Command: Discover).

Protocols in frame: eth:ethertype:ip:udp:bjnp

Any chance I can relay these frames to the other VLAN/subnet ?

Thank you !

Edit:
I feel mangle/nat can help me, so I have a passthrough mangle rule increasing TTL, another passthrough one marking packet.
Then my idea was to output / echo these marked packets through the other interface’s vlan or so using either NAT or a default route but none will do.

Not a chance to do such a weird thing ?

Search Bonjour, mDNS, or multicast DNS. We have been trying to get this to work for a couple years now.

Hello,

I doubt we’re discussing the exact same thing:

  • Bonjour is working fine with help of avahi reflector as mentioned
  • Proprietary bjnp protocol (especially discovery frames) is the problem. Frames aren’t reaching other vlan(s).

I would just need to echo packet in another subnet/vlan.
So I guess I’m stuck until somebody finds a solution or Mikrotik implements such a feature ?

Cheers

Have you found a solution to this? I’m thinking of switching from EdgeRouter to MikroTik (I need a rackmout router and the Ubiquiti ones are far too expensive), but broadcast relay (for selected UDP ports) is a feature I require.

Cheers
Alex

Sent from Honor 8 using Tapatalk

Hello,

Nope I did not want to waste too much time.
I installed a raspberry with both vlans trunked and used avahi reflector.

Cheers