Fixing a 0.0.0.0 IP address so that WebFig works

I have a CRS504-RXQ-IN that I had to do a factory reset of. (See attached screenshot). I discovered the hard ware that this more or less bricks the device.

How can fix that and restore the IP address of the CRS504 back to its default of 192.168.88.1?

If I have to resort to console commands, I’ll need the exact sequence of commands.

Does Mikrotik monitor these forums, or are we on our own?

– Doug

Just click on the MAC address of the switch and log in using the MAC instead of the IP. This is a common operation with Winbox.

Double-click the MAC address in WinBox and login using that MAC address. Once inside, go to System -> Reset Configuration, enable only Keep Users and Do Not Backup. Click the Reset Configuration button and wait for the CRS to reboot. The switch will be back on the default configuration with the ports in a bridge bridge and bridge has 192.168.88.1/24 assigned.

You sound like you want the default configuration. You have quite a few choices:

  • the button-press config reset is available
  • netinstall has the ability to apply the default conf, you just have to select it (I think it's -r without -e on the cli)
  • use the MAC feature of Winbox

if you have access to the device, /system/reset-configuration is the command for restoring the default conf. If you just want an address, /ip address add interface=etherX address=192.168.88.1/24 is the command for setting it.

It is always a surprise what config a new device has. But often there will be a dhcp client on port 1.

So when you connect it to an existing network via port1 it may get an address, and you can work from there.

The button-press reset to defaults may get a completely different config (usually more complete).

According to docs, as CRS504-RXQ-IN is be a switch, this: Default configurations - RouterOS - MikroTik Documentation

Lately I have found that e.g. LHG devices new out of the box, that should come with “CPE Router” configuration so you should be able to connect any device and get an IP address in the 192.168.88.0/24 network and use a browser to open http://192.168.88.1 or telnet to that address, actually come with completely empty config and a DHCP client running on the ethernet port. So you need to connect them to an existing network with DHCP server to get access via IP (of course it is possible to use winbox and MAC access).

I guess LHGs are usually not used as routers and Mikrotik changed the default configuration to match real world use-cases.

Well, I can tell you that my “real world use-case” is to recommend people to buy an LHG and then configure it using a short manual that says to telnet to 192.168.88.1 in a connected computer and paste a config I have auto-generated for them, and in this real world it is not OK that for every new user there is a new procedure to acces their device…

It is not OK to not update documentation when such changes happen. Maybe it is mentioned in a changelog? Or is it an undocumented change? Default configurations - RouterOS - MikroTik Documentation says LHG is CPE router.

Indeed. What makes it more complicated is that you receive the device with some installed RouterOS that lags behind the current version, and the online documentation almost never mentions version numbers.

So it may be that the current documentation is valid for 7.20 or 7.21, but the device was shipped with 7.18 and we do not know how the config was back then.

Folks, I can’t thank you enough for helping me out and getting me reconnected!