# Possible to map networks per WiFi client? If so, how?

**URL:** <https://forum.mikrotik.com/t/possible-to-map-networks-per-wifi-client-if-so-how/273402>\
**Category:** RouterOS\
**Created:** [September 26, 2026, 2:40pm UTC](https://forum.mikrotik.com/t/possible-to-map-networks-per-wifi-client-if-so-how/273402 "2026-09-26T14:40:48Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![CGGXANNX](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/cggxannx/32/55490_2.png) [@CGGXANNX](https://forum.mikrotik.com/u/CGGXANNX)\
**Post date:** [October 21, 2026, 4:32am UTC](https://forum.mikrotik.com/t/possible-to-map-networks-per-wifi-client-if-so-how/273402/25 "2026-10-21T04:32:10Z")

</div>

The reason you are able to ping the `192.168.32.1`-`192.168.72.1` addresses and they all land on the 192.168.2.1 test router currently plugged into `ether2` is because the other ports are currently not in the _running_ state (no `R` next to the `ether3`-`ether7` interfaces in the interface list).

As a result, all the routes that you've added to `out-ether3`-`out-ether7` with:

> [@MakroTok](#):
>
> ```auto
> add disabled=no distance=1 dst-address=192.168.2.0/24 gateway=ether3 \
> routing-table=out-ether3
> add disabled=no distance=1 dst-address=192.168.2.0/24 gateway=ether4 \
> routing-table=out-ether4
> add disabled=no distance=1 dst-address=192.168.2.0/24 gateway=ether5 \
> routing-table=out-ether5
> add disabled=no distance=1 dst-address=192.168.2.0/24 gateway=ether6 \
> routing-table=out-ether6
> add disabled=no distance=1 dst-address=192.168.2.0/24 gateway=ether7 \
> routing-table=out-ether7
> 
> ```

are currently invalid and unreachable (the have the `USI` flag if you look at them in WinBox under IP -\> Routes, and have the `I` flag when you use `/ip route print` to view them). Which means those tables `out-ether3`-`out-ether7` have no active routes anymore (no route with `A` flag).

When a routing table has no active flag, and packet is directed by mangle `mark-routing` to use that table, the routing lookup falls back to the `main` table as backup. And because this DHCP client instance is currently running and bound:

> [@MakroTok](#):
>
> ```auto
> add add-default-route=no comment="Router client - ether2" interface=ether2 \
> name=client1 use-peer-dns=no use-peer-ntp=no
> 
> ```

there is currently an active route added by this DHCP client in `main` with `dst-address=192.168.2.0/24 gateway=ether2`.

So all the packets that have routing mark `out-ether3`-`out-ether7` can still fallback to `main` and find a valid active route, and will all use `ether2` as egress interface.

If you don't like that, and want that when nothing is plugged to one of the `ether2`-`ether7` interface, accessing `192.168.22.0/24`-`192.168.72.0/24` respectively should not be possible (not falling back to the route in `main`) then the fix is very easy, just add these additional blackhole routes in those custom routing tables:

```routeros
/ip route
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether2
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether3
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether4
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether5
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether6
add blackhole dst-address=0.0.0.0/0 routing-table=out-ether7

```

Now when you look at the routing table in WinBox (don't forget to make the _Blackhole_ column visible first), or use `/ip route print`, you'll see that even when those `ether2`-`ether7` interfaces are down (unplugged), the respective routing tables that are tied to them still all have at least one active route with `dst-address=0.0.0.0/0` that can satisfy every IPv4 addresses. This will make sure that there is no more falling back to `main`.

These default active routes are `blackhole` routes, so the packets will be dropped if they are used. And they have the prefix length `/0` which means they have lower priority than the other `/24` route in the same table. If that `/24` route is active (not `USI`) it will always have precedence.

Now if `ether3` is unplugged and you try to reach `192.168.32.x` you'll get the unreachable/timeout result as expected, this one:

> [@MakroTok](#):
>
> So pinging `192.168.22.1` would ping the test router on `ether2`, and pinging `192.168.32.1` would fail, as there is no test router connected yet to `ether3`.

---

_[View the full topic](https://forum.mikrotik.com/t/possible-to-map-networks-per-wifi-client-if-so-how/273402)._
