Broadcast forwarding

Hello,

i have two networks, netA and netB with different subnet mask and a mikrotik 3.10 between them.

I need to forward broadcasts(255.255.255.255 global ones) between the two networks whilst performing two-way NAT on the those packets(so that a station originating a bcast on a net, receives broadcast from the other net appearing on it’s own subnet).

i’ve tried everything and nothing works, broadcasts don’t pass.

any ideas?

use bridge between networks

we can’t use bridge, there’s already a bridge in place i haven’t mentioned and it isn’t working as it should, the two networks CAN’T have the same subnet, and when running this particular application that relies on broadcasts, it somehoiw DOSed the netB router(anopther non tik router) and apart from that, the application doesn’t works because the broadcasts originate from a different subnet.

right now the entire net is netA—routertik----bridgetik1–[wlan]–bridgetik2—netB

so again, i need to forward and SNAT broadcast packets originating from both ether interfaces on routertik.

how?

Broadcasts are at layer 2 and only happen in the same network. They don’t pass through layer 3 (routed networks).

So redesign your network if you want your application to work.

Tom

I know that limitation, but broadcast is just another packet, why shouldn’t i be able to forward it with all the “mangling” rules mikrotik has?.

i can’t redesesign any of the other two networks as it ends up behing a nightmare and doesn’t provides enough isolation

If you want boadcast traffic to traverse a routed network then you need to set up a tunnel between the networks with something that supports layer 2 like EoIP.

But that is effectively creating a bridge which you previously said would not work with your application.

Tom