I’m using the RB450G board within our own hardware configuration and this may located be in an environment that may or may not have a DHCP network. In the event that there is no DHCP network, we would like the board to act as a DHCP server in order that an engineer can connect to the hardware via ethernet cable and a laptop. When there is a DHCP server we would like the on-board DHCP server to be disabled and to act as a regular DHCP client, then the engineer can connect to the board over the sites DHCP network.
My question is: is this possible to do via some settings, for example in WinBox, or could it be written as some form of initialization script for the board? If the latter, could somebody give an example of how this can be written/achieved?
There is no settings to do it. You could split off one of the ports on the Mikrotik to serve as a “management” port. It would be in it’s own network, an engineer can plug into that. He’d still be able to communicate with devices on the regular network.
Port 1: Gateway/WAN
Port 2: LAN (192.168.10.0/24) Standard network
Port 3: LAN (192.168.20.0/24) Management, With DHCP enabled
Devices will be able to communicate between 192.168.10.x and 192.168.20.x fine.
As I mentioned we are adding the board into our own hardware configuration which requires us to bridge the interfaces and expose one RJ45 on the side of the machine. However I’m not sure your response is accurate, because we have been in touch with contractor who said it would be trivial to write a script to perform the processing required. So my post here was to pick the brains of the local community in order that I could learn to do it myself. Thank you for your reply though.