Hi,
I just want to know, its possible or not?
I have 3 IP pools (pool-1 192.168.1.0 - pool-2 192.168.2.0 - pool-3 192.168.3.0)
pppoe server assigns IP-Pools randomly to my clients, 33% clints to each pool
If it is possible, can you please tell me how?
Thanks
Hi
I have one Script with Schedule
Script:
Code:
/system script add name=changepool policy=
ftp,reboot,read,write,policy,test,winbox,password,sniff source=“# ‘testpro
file’ is the name of the profile which contains the remote-address\r
\n# we want to access/change.\r
\n#\r
\n# Get the current one\r
\n:local curpool [/ppp profile get testprofile remote-address];\r
\n#\r
\n# And then change it.\r
\n:if ($curpool="dhcp_pool1") do={/ppp profile set
_testprofile remote-address="dhcp_pool2"};\r
\n:if ($curpool="dhcp_pool2") do={/ppp profile set testprofile remote-a
ddress="dhcp_pool3"};\r
\n:if ($curpool="dhcp_pool3") do={/ppp profile set testprofile remote-a
ddress="dhcp_pool1"};\r
\n”
Schedule:
Code:
add comment=“” disabled=no interval=10s name=changepool on-event=changepool
policy=test start-date=jan/01/1970 start-time=00:00:00
I try this Script: is working fine
but near 60% to 70%, not 100%
And after this script, established connections (some time: pool-1 200 clints pool-2 215 or pool-3 just 90) or i can’t disconnect clients for reassign new IP-Pool
it is possible? 33% on each pool, can you please tell me how
Thanks