My problem is I can never run a DHCP server on any other interface other than ‘bridge-local’. If I delete the default DHCP server, and then add a new one at either the ‘wlan1’ or ‘ether2-master-local’ interfaces, RouterOS will report that the newly-added DHCP server is invalid (red text). Only DHCP server that is created on the ‘bridge-local’ interface seems to work.
why would you want to move the DHCP server to a different interface?
give us more details about your setup
also, post your
/interface print
and
/ip route print outputs
The main reason why I want to move the DHCP server off ‘bridge-local’ interface is because if I set the ARP setting for ‘bridge-local’ to ‘reply-only’ (as shown here), the IPv6 connectivity from the client to the router will break.
/interface print
[ranpha@MikroTik] > /interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU MAX-L2MTU
0 R ether1-gateway ether 1500 1600 4076
1 ether2-master-local ether 1500 1598 2028
2 ether3-slave-local ether 1500 1598 2028
3 ether4-slave-local ether 1500 1598 2028
4 ether5-slave-local ether 1500 1598 2028
5 R wlan1 wlan 1500 2290
6 R bridge-local bridge 1500 2290
7 R pppoe-dialer pppoe-out 1492
8 R ;;; Hurricane Electric IPv6 Tunnel Broker
sit1 sit 1280
/ip route print outputs
[ranpha@MikroTik] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 219.93.218.177 1
1 ADC 192.168.1.2/32 192.168.1.2 ether1-gateway 0
2 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
3 ADC 219.93.218.177/32 115.135.19.174 pppoe-dialer 0
After moving the 192.168.88.1/24 address to ‘wlan1’ from the default ‘bridge-local’, I’ll still get an invalid DHCP server if I made on the ‘wlan1’ interface.
edit: BTW, adding a new address to the wlan1 interface and then make a new DHCP server off the interface with the new set of addresses doesn’t work either (still invalid DHCP server).
Just tried what you have suggested (deleting the bridge and runs everything on the wlan1 interface - the DHCP server is valid and working then in that config), but as soon as I set the ARP option on the wlan1 interface to ‘reply-only’, my IPv6 routes on that wlan1 interface become unreachable, which is the problem in the first place.
I wonder if this is a bug in RouterOS. I think I should send and e-mail to Mikrotik support.
Also, you can not add a dhcp server to an interface in a bridge. You have to add the dhcp server to the bridge or remove to interface from the bridge. If removed from the default bridge you will also have to set an ip for the interface.
exactly as cbrown wrote. You have to check ip address what is master-interface and that is the interface you have to set your dhcp-server on. Or else it will be in invalid state. Same applies to switch slave ports.