Hi Dmitry,
I have several pools defined. In pool99 do I need to put a next=pool1 to go back to the first pool or do not need?
When pool99 is finished, will it restart automatically in pool1?
[pppoe]
ip-pool=pool1
[ip-pool]
gw-ip-address=10.232.232.1
attr=Framed-Pool
172.21.0.0/24,name=pool99
177.xxx.254.0/24,name=pool19,next=pool99
177.xxx.249.0/24,name=pool18,next=pool19
191.xxx.124.128/25,name=pool17,next=pool18
191.xxx.118.0/26,name=pool16,next=pool17
186.xxx.179.0/24,name=pool15,next=pool16
186.xxx.181.128/25,name=pool14,next=pool15
177.xxx.252.0/24,name=pool13,next=pool14
186.xxx.54.96/27,name=pool12,next=pool13
186.xxx.50.0/24,name=pool11,next=pool12
186.xxx.49.0/24,name=pool10,next=pool11
186.xxx.48.128/25,name=pool9,next=pool10
170.xxx.187.0/24,name=pool8,next=pool9
170.xxx.186.0/24,name=pool7,next=pool8
170.xxx.185.0/24,name=pool6,next=pool7
170.xxx.184.0/24,name=pool5,next=pool6
131.xxx.95.0/24,name=pool4,next=pool5
131.xxx.94.0/24,name=pool3,next=pool4
131.xxx.93.0/24,name=pool2,next=pool3
131.xxx.92.0/24,name=pool1,next=pool2
Doubt about setting the ip-pool
Re: Doubt about setting the ip-pool
hi
don't make loops, it is impossible however
it will always try to allocate ip from root pool and fall to next if there is no free ip
don't make loops, it is impossible however
it will always try to allocate ip from root pool and fall to next if there is no free ip
Re: Doubt about setting the ip-pool
Hi Dmitry,
The impression I had is that accel-ppp is not using 100% of the initial pool before going to the next pool. When I was using two /22 are 2048 IPs. But I only have 1900 users connected to this server and even then after a while the users received private IPs 172.21.0.0/24. As if the IPs got stuck.
My another conf:
[ppp]
single-session=deny
min-mtu=1280
mtu=1480
mru=1480
ccp=0
check-ip=0
ipv4=require
ipv6=allow
lcp-echo-interval=20
lcp-echo-timeout=120
[pppoe]
sid-uppercase=1
verbose=1
ac-name=accel01
ip-pool=pool1
interface=re:eth5\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-4][0-9][0-9][0-9])
vlan-mon=eth5,1-4095
vlan-timeout=600
mac-filter=/etc/mac-blacklist,deny
[ip-pool]
gw-ip-address=10.232.232.1
attr=Framed-Pool
172.21.0.0/24,name=pool99
170.xxx.187.0/24,name=pool8,next=pool99
170.xxx.186.0/24,name=pool7,next=pool8
170.xxx.185.0/24,name=pool6,next=pool7
170.xxx.184.0/24,name=pool5,next=pool6
131.xxx.95.0/24,name=pool4,next=pool5
131.xxx.94.0/24,name=pool3,next=pool4
131.xxx.93.0/24,name=pool2,next=pool3
131.xxx.92.0/24,name=pool1,next=pool2
Best regards,
The impression I had is that accel-ppp is not using 100% of the initial pool before going to the next pool. When I was using two /22 are 2048 IPs. But I only have 1900 users connected to this server and even then after a while the users received private IPs 172.21.0.0/24. As if the IPs got stuck.
My another conf:
[ppp]
single-session=deny
min-mtu=1280
mtu=1480
mru=1480
ccp=0
check-ip=0
ipv4=require
ipv6=allow
lcp-echo-interval=20
lcp-echo-timeout=120
[pppoe]
sid-uppercase=1
verbose=1
ac-name=accel01
ip-pool=pool1
interface=re:eth5\.([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-4][0-9][0-9][0-9])
vlan-mon=eth5,1-4095
vlan-timeout=600
mac-filter=/etc/mac-blacklist,deny
[ip-pool]
gw-ip-address=10.232.232.1
attr=Framed-Pool
172.21.0.0/24,name=pool99
170.xxx.187.0/24,name=pool8,next=pool99
170.xxx.186.0/24,name=pool7,next=pool8
170.xxx.185.0/24,name=pool6,next=pool7
170.xxx.184.0/24,name=pool5,next=pool6
131.xxx.95.0/24,name=pool4,next=pool5
131.xxx.94.0/24,name=pool3,next=pool4
131.xxx.93.0/24,name=pool2,next=pool3
131.xxx.92.0/24,name=pool1,next=pool2
Best regards,
Re: Doubt about setting the ip-pool
how you determine that only 1900 was allocated ?
Re: Doubt about setting the ip-pool
Hi Dmitry,
Because here we work with ftth and we create vlans per port pon in GPON equipment. In this case we put a quantity of vlans whose number of subscribers does not exceed 1900.
# accel-cmd pppoe interface show
interface: connections: state:
-----------------------------------
eth5.667 1 active
eth5.238 119 active
eth5.217 369 active
eth5.235 259 active
eth5.218 249 active
eth5.230 137 active
eth5.236 32 active
eth5.171 55 active
eth5.214 13 active
eth5.213 39 active
eth5.229 74 active
eth5.70 15 active
eth5.239 67 active
eth5.240 57 active
eth5.7 346 active
Because here we work with ftth and we create vlans per port pon in GPON equipment. In this case we put a quantity of vlans whose number of subscribers does not exceed 1900.
# accel-cmd pppoe interface show
interface: connections: state:
-----------------------------------
eth5.667 1 active
eth5.238 119 active
eth5.217 369 active
eth5.235 259 active
eth5.218 249 active
eth5.230 137 active
eth5.236 32 active
eth5.171 55 active
eth5.214 13 active
eth5.213 39 active
eth5.229 74 active
eth5.70 15 active
eth5.239 67 active
eth5.240 57 active
eth5.7 346 active
Re: Doubt about setting the ip-pool
Hi Dmitry,
It may be that I am wrong and actually the pool is full for some reason. I'll keep watching and anything notice.
It may be that I am wrong and actually the pool is full for some reason. I'll keep watching and anything notice.