How do I configure an RB4011iGS+RM to have a static IP address? I'm using WinBox and I'm a complete beginner. Is there a step-by-step guide?

How do I configure an RB4011iGS+RM to have a static IP address? I'm using WinBox and I'm a complete beginner. Is there a step-by-step guide?

If you know which interface you want to set it for, go to IP, Addresses.

Click New, and enter in address/mask format. Like 192.168.94.22/24. Select the interface, such as ether1.

If you’re not sure about the mask part or it was given to you in a multi-number format there is a chart you can consult here.

Edit: In terms of step-by-step, there is info here: First Time Configuration - RouterOS - MikroTik Documentation

What does it mean?
The RouterBOARD must have a static IP where? In the LAN? In the WAN?
Do the devices that connect to the router have to have a static IP?

Does it have to have a fixed IP on the interface to the ISP or does it have to have a fixed IP for an internal network?

There are no details to give a more precise answer than the previous one.

When I accessed the IP address in the browser (192.168.88.248), the Mikrotik Web Router OS interface appeared.

And it would be on the "WAN"

I'll send a network architecture. In summary: we have 3 routers installed in a panel, each panel has an Aeris sensor. This sensor connects to the Intelbras application (router installed in the panels - Twibi 3). Each router has an IP range, with 2 routers in access point mode, and the third in DHCP. So, we have: Router 3 (DHCP): 10.1.1.60; Router 2 (Access Point): 10.1.1.80; and Router 1: 10.1.1.26. And in the network architecture, there is a Gateway (Aeris concentrator) that connects to the Mikrotik via Ethernet.

Ideally, all routers should be on the same network range.

Your problem again, Router 2, which was 10.1.1.80, changed to 192.168.88.248, meaning it left the network range.

Upon contacting the manufacturer of Aeris, they informed me that I will need to configure the Gateway (Aeris Concentrator) with a fixed IP address, and that I will have to do the same for the Mikrotik, which I have never used before, so that everything is on the same network range and the IP address doesn't keep changing.

OBS: I am Brazilian and I am using Google Translate.

1 Like

With the information you've provided, it's too complicated for me to help you. I'm sorry, I can't understand.

I am just skating through and not able to resolve your topic. But I think that there is a point quite central to your understanding which needs clearing up.

Routers 1, 2 and 3 do NOT have IP addresses. No router, switch, access point, phone or computer ever has an IP address. It is interfaces on those devices which have the IP addresses. It does not matter for computers which generally have only 1 interface [well they all have IP address 127.0.0.1 on the other interface]. This is entirely central to understanding a router which has interfaces on different IP subnets and uses those subnets for its routing function between interfaces.

So I suggest you rewrite your descriptions and say what interfaces have what address. If you do that, understanding of your problem might hit you - or people here may be able to work out what is wrong.

The gateway Is seemingly connected to ether1 and very likely this Is WAN.

Usually (but not always) a WAN Port runs a DHCP client that assigns an IP address leased by the DHCP server on the ISP line or gateway.

So, did you change the gateway device?

That would account for the situation you are in, the Mikrotik Is running a DHCP client but the new gateway Is not running a server.

The IP address you see in the web browser or Winbox Is likely another one, as likely you are connected to another Port, not ether1.

I made a drawing to see if you can understand:

Now, this Stuc 2 shows the IP: 192.168.88.248.

That is, it is not connecting to the same IP range (10.1.1.x).

Therefore, would I have to configure the Aeris Tecnologia Gateway as a static IP and also the Mikrotik as a static IP?

I believe that might be the case. In that case, the recommendation would be to configure both the gateway and the Mikrotik router to use a static IP address?

Well, this latter seems a different scheme from the one you originally posted, but you are still not providing enough information.

For EACH device we need to understand to WHICH ethernet port it is connected on the RB4011.

AND whether the device is running a DHCP client (and thus there is a DHCP server on the Mikrotik or on the gateway) or a DHCP server and how exactly these devices are connected between them.

In the last scheme you posted, it seems like the three Twibi's are connected in "daisy chain" (which would be - to say the least - unusual), it is more likely that each of them is connected to a port on the RB4011.

And - still from that scheme - it seems like out of the three Twibi's two are running a DHCP client (and so they get a "right" address in the 10.1.1.0/24 range) and the Stuc 2 has instead a static address, or - viceversa - the Stuc 1 and Stuc 3 have a "right" static address and the Stuc 2 is running a DHCP client and it is getting an Ip address from a "rogue" DHCP server somewhere on the network.

If one of the two hypothesis above is correct there should be nothing to change on the RB4011 and on the gateway, only the settings on the Twibi Stuc 2.

You need to tell us which device(s) run a DHCP server and which ones run a DHCP client (if any) to be able to understand how IP addresses are assigned.

And, please provide an export of the current configuration of the RB4011, instructions here:

The topic title probably should have been
"I need to insert a MikroTik router between an Aeris router and some fiber-to-copper media converters."

How can I make it behave like a simple switch?

Apparently, "Stuc 2" gets its IP from RouterBOARD, and the other two devices are static.

Maybe there was just a simple switch before...

It's the usual problem with how requests are made:
Asking questions to try to take the direction you thought, which is wrong,
instead of explaining what you ultimately want to achieve at the end and getting a solution suggested.

I had forgotten about the media converters (fiber optic to Ethernet) and the network architecture diagram to send you. My apologies.

With the image I sent now, can you understand the system?

Good afternoon. Please forgive me if I haven't phrased the question correctly, as it's a project I haven't done and I'm also trying to understand it in order to solve the problem. I'll be learning along with you all as well.

I'm sending the network architecture based on what I sent above. In the Stuc 2 diagram, they use a Fiber Optic to Ethernet Converter that sends to the Mikrotik.

If you have any further questions, feel free to ask. This "Gateway" is the Aeris Concentrator.

Rest assured we will, but ONLY ONCE you have answered the already asked questions:

  1. which device(s) run a DHCP server
  2. which device(s) run a DHCP client
  3. HOW are Stuc1, Stuc2 and Stuc3 IP addresses configured (are they configured EXACTLY the same? right now it seems like some have a static IP and other(s) a DHCP client)
  4. Current configuration of the RB4011

My guess is the latter and Stuc2 is getting an address from the Mikrotik DHCP, because it is in the Mikrotik default range

Actually, lets not pursue that line. Fixing what is broken is just as hard as starting afresh.

@Maiza You need to start with this:

  • Have you connected the internet to a WAN port on the RB4011? And the Stuc routers to a LAN port?
  • Now you need to decide whether you are going to run the Stuc devices on DHCP or on fixed IP. EITHER find the RB4011 LAN interface IP address and subnet and give the LAN interfaces on the Stuc devices IP addresses on the same subnet [taking care to respect existing allocations on the RB4011 lan] OR configure the RB4011 dhcp server and dhcp clients on each Stuc device
  • You have described the Stuc devices as Routers and if this is what they are, it is unusual to connect them in a daisy chain. However, this should not be a big problem. You must connect the RB4022 LAN to a LAN connection of Stuc 1 and daisy chain LAN to LAN and not WAN to LAN
  • You may find that the Stuc devices do not permit you to assign IP addresses to the LAN interface by dhcp [you will normally find you can do this with the WAN interface, but this will not help you]. In this case, assign fixed IP addresses to the Stuc devices LAN interfaces
  • In any case, turn off dhcp servers on the Stuc devices.

Thank you for your reply. I will do that and get back to you with feedback. :slight_smile: