DHCP Precedence on LAN

I’ve just bought an RB450G board and am trying to figure out the best way to configure it. Potentially, it is likely be used in three different contexts:

  • some of the time, the board will be plugged into a LAN where there is already a DHCP server present, and all the other things connected to it will be configured to obtain their IP addresses from the DHCP server. In this case, I’d like the RB450G to act as if it were a dumb unmanaged switch.
  • some of the time, the board will be plugged into a LAN where there is no DHCP server, but all the other things connected to it will already have static IP addresses on the same subnet. In this case also, I’d like the RB450G to act as if it were a dumb unmanaged switch.
  • some of the time, the other things connected to the LAN will be configured to obtain their IP addresses via DHCP, but there will be no other DHCP server available. In this case, but only in this case, I’d like the RB450G board to ‘step into the breach’ and fulfil the function of DHCP server for the other devices on the network.

Naturally, I’d also like the board to be able to detect for itself which of these three contexts it is in.

Can anyone comment on (a) whether this is possible, and (b) where I would start looking for instructions of how to implement it (e.g. a reference to the relevant part of the RouterOS documentation)?

Many thanks,
Eos Pengwern.