Please help me. I have an RB2011UiAS-2HnD act as my main router after my ISP modem (at my parents house) and a Newifi D2 router (dumb switch with AP) use at my house (200m apart from my parents house and used fiber to connect). In my RB2011UiAS-2HnD, I have 4 subnet, 192.168.1.x, 192.168.10.x, 192.168.20.x and 192.168.40.x.
The 192.168.10.x subnet is extended to my Newifi D2 router (dumb switch with AP). Issue is that a few wireless devices is getting the IP from subnet 192.168.1.x (subnet for my neighbor) and having wifi connectivity issue.
Can help how to mitigate this issue? Other devices is getting correct IP’s and other’s don’t.
Would greatly appreciate your technical expertise.
The 192.168.10.x subnet is extended to my Newifi D2 router
We’re going to need to see your configuration to know what you mean by vague statements like that. Use the /export command in RouterOS. In v7, it hides sensitive info by default, but if you’re still on v6, add “hide-sensitive”. You might want to hand-edit the result afterward, but beware editing out too much: if you knew what was relevant, you might have the problem solved already.
Wild guess until then: you’ve got a DHCP server on each subnet, and you haven’t used VLANs or routing boundaries to prevent these DHCP servers from responding to random broadcast queries on your flat LAN. If you don’t set up a separate broadcast domain per DHCP server, you create a race condition for which competing server responds first.
If your device is a dumb switch it should only be receiving one subnet??
A diagram would be helpful AND of course the config
/export hide-sensitive file=anynameyouwish
RouterOS does not reward the willfully ignorant. Here, being “regular” means being willing to learn.
I do apologize for this.
A display of willingness to learn and to help those spending their time helping you goes farther than apologies.
How am I going to do this “Separate broadcast domain”?
You didn’t read even the introduction section of that Wikipedia article, did you? If you had, you’d realize it’s a catch-all term for the main methods for achieving it: “…broadcast domains are only divided by layer 3 network devices such as routers or layer 3 switches. Separating VLANs divides broadcast domains as well.”
Referring to “separate broadcast domains” is a shorter way of saying what I wrote just before that: “…you haven’t used VLANs or routing boundaries to prevent these DHCP servers from responding to random broadcast queries on your flat LAN.”
There is no GUI checkbox you can click or wizard you can run to achieve this. We need your configuration and a network diagram to know how to advise you.
Or, better, start reading the RouterOS documentation on routing and VLAN fundamentals. Even if those articles (and those linked from them) fail to guide you to a working solution, the knowledge you gain will at least allow you to ask better questions.
For a good non-vendor specific background about vlans, (and networkiing fundamentais), I recommend Ed Harmoush’s Practical Networking site https://www.practicalnetworking.net since he has understandable but accurate descriptions.
While that does look useful, a search there for “broadcast domain” turns up one article on OSPF and another on a recommendation for someone else’s CCNA course. A search for DHCP doesn’t turn up much of relevance to this thread.
The closest article I found there is this one, which doesn’t explain the OP’s problem directly. It’s a good foundation for understanding the answer, but it won’t guide him to the solution.
@tangent, you are correct. I should have pruned the last line. I was talking specifically about vlans, and I think Ed’s explanation is very good. And for someone that doesn’t work in the networking profession, his Network Fundamentals youtube course is great. Oddly, he does not cover DHCP in that, and I don’t understand why, since it is a fundamental.
It has been a while. Kindly see below the requested my rb2011 config and simple network diagram. On the diagram. like I mentioned before, some of my wireless device is getting the other IP subnet which resulting to unable to browse the internet.
Well the picture says it all, how do you think you will get 192.168.1.x network on your laptop if ONLY the 192.168.10.0 network is being sent to the WIFI device??
What is the make and model of the AP/Switch that is feeding the mobile devices and laptop?
That then lets the OP set up VLANs with OpenWRT, which is the only way I can see for the OP to get the desired behavior with the network diagram shown. According to the sparse Newifi D2 manual, there is no factory-provided VLAN functionality.
If you’re willing to reflash your Newifi D2’s firmware, mykelm03, it will allow you to configure OpenWRT to assign a different VLAN tag to packets coming from that laptop in the lower right corner of the network diagram, which then lets you configure the RB2011 on the left to direct the DHCP client requests to a different DHCP server than serves the rest of the network.
The OpenWRT parts of this are quite beyond the scope for this forum. Once you have your packets VLAN-tagged as desired, if you have trouble configuring your RB2011 model to respond to them properly per the basic VLAN switching guide, you can come back with a new configuration and ask for more detailed help then.
Note that in that last link, I’ve directed you to the section of the docs covering devices like the RB2011. Don’t use the guides meant for other classes of device; they either won’t work, or they’ll devolve to software bridging, slowing things down.
Take special note of the warning at the bottom of that section about the RB2011 having a pair of switch chips inside. (See the product block diagram for details.) This affects VLAN configurations and other things. Splitting your VLANs across those internal switch chips can be helpful, or it can cause problems, depending on your goals.
If you want a fixed 100 Mbit/sec port, I’d put that in the second switch group, which is already limited to that speed. I wouldn’t burn one of your scant few gigabit ports like that.
Ditto for your WAN link if its speed is 100 Mbit/sec or less.
It’s too bad “Laptop0” in your diagram can’t connect directly to the RB2011 instead, since then you could assign a VLAN to a separate SSID.
Another option is to replace the Newifi device with a second RouterOS device so you get this level of configurability. Then the matter would be on-topic here.