Community discussions

MikroTik App
 
Eliminateur
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Thu Jun 28, 2007 7:38 am

Broadcast forwarding

Sat Jun 14, 2008 9:45 pm

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?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Broadcast forwarding

Sun Jun 15, 2008 3:51 pm

use bridge between networks
 
Eliminateur
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Thu Jun 28, 2007 7:38 am

Re: Broadcast forwarding

Sun Jun 15, 2008 6:06 pm

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?
 
User avatar
roc-noc.com
Forum Veteran
Forum Veteran
Posts: 874
Joined: Sun Dec 02, 2007 3:27 am
Location: Rockford, IL USA
Contact:

Re: Broadcast forwarding

Sun Jun 15, 2008 6:16 pm

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
 
Eliminateur
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 96
Joined: Thu Jun 28, 2007 7:38 am

Re: Broadcast forwarding

Sun Jun 15, 2008 6:22 pm

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
 
User avatar
roc-noc.com
Forum Veteran
Forum Veteran
Posts: 874
Joined: Sun Dec 02, 2007 3:27 am
Location: Rockford, IL USA
Contact:

Re: Broadcast forwarding

Sun Jun 15, 2008 6:50 pm

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

Who is online

Users browsing this forum: dcarbunescu, lurker888 and 25 guests