Community discussions

MikroTik App
 
anv
newbie
Topic Author
Posts: 31
Joined: Mon Jul 04, 2011 5:19 pm
Location: Spain

Bidge filters ignoring in-interface configuration?

Mon Aug 06, 2018 10:06 am

Hello. I have 2 sections on my LAN with same subnet but linked via wireless link. I want to configure one dhcp server on each one (serving different groups of ips on each side).

For avoiding conflict between this two dhcp servers, I am passing the traffic through a bridge on Mikrotik and trying to filter the dhcp traffic.

/interface bridge filter
add action=drop chain=forward in-interface=ether10-radio ip-protocol=udp mac-protocol=ip src-port=67-68
add action=drop chain=forward dst-port=67-68 ip-protocol=udp mac-protocol=ip out-interface=ether10-radio
This should work but... The wifi port of the Mikrotik is in the same bridge. And if I try to connect via wifi, I don't receive dhcp answer. It loks like the "in-interface" and/or out-interface is not working. I have the lastest firmware version.
/interface bridge port
add bridge=br-lan hw=no interface=sfp1
add bridge=br-lan interface=wlan1
add bridge=br-lan interface=ether3
add bridge=br-lan interface=ether4
add bridge=br-lan interface=ether5-switch
add bridge=br-lan interface=ether7
add bridge=br-lan interface=ether8
add bridge=br-lan interface=ether9
add bridge=br-lan interface=ether10-radio
add bridge=br-lan interface=ether6
I've red some similar questions but none of them solves the problem of the bridge filter. They filters the traffic via ip firewall and if I turn it on, other firewall rules generates another problems because it iflters other traffic.

Who is online

Users browsing this forum: Bing [Bot], kleshki and 32 guests