I would like your feedback if this is possible with RouterOS on a RB600 (as an example)
To start with I have 16 users at the work location.
Then i have 4 PPPoE accounts for internet access from the provider.
What i want is to create 4 subnets each allowing ONLY 4 (ips) users. so i figured i'd use the /29 network bit.
192.168.1.x/29
192.168.2.x/29
192.168.3.x/29
and
192.168.4.x/29.
this should allow me enough IPs in the /29 network.
Now, when a new user joins he randomly pulls an ip from lets 192.168.1.x/29 until that fills up then the router should give IPs from the next subnet 192.168.2.x/29 and so on.
The most imporatnt part here thats required is each subnet has to have its own PPPoE dialout client login and work on that with its own route and so on.
so for
192.168.1.x/29 we give pppoeDial1 and it has to use that.
192.168.2.x/29 we give pppoeDial2 and it has to use that.
and so on
we dont want a user from 192.168.2.x to be using the internet from 192.168.1.x.
is this workable? if so can you please assist me on how to do this ?
[edit] my current idea is as follows:
- 1 dhcp server with multiple pools each pool with 4 ip limits
i add then a prerouting mangle rule that actions "mark-routing" with a new-mark-routing mark then in the /ip route i select that routing mark
2 obviously set masquerade to the subnets in the poolsCode: Select all/ip firewall mangle add action=mark-routing chain=prerouting new-routing-mark=192.168.100.x-people passthrough=no src-address=\ 192.168.100.0/24
3 add the pppoe accounts
please help!