diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2025-11-26 16:46:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-26 16:46:34 +0200 |
| commit | 48d9bf6d26087a6e23f1e4419b18009efc0e98b7 (patch) | |
| tree | 82997746fe5b3499c1f05de3dfe0ca01fb684c07 | |
| parent | d2fb2d5b465808a606ead0131450d5664682c260 (diff) | |
| parent | e4d8b9090eb558ab9e36f3d7a58e03a884f24515 (diff) | |
| download | accel-ppp-48d9bf6d26087a6e23f1e4419b18009efc0e98b7.tar.gz accel-ppp-48d9bf6d26087a6e23f1e4419b18009efc0e98b7.zip | |
Merge pull request #266 from nuclearcat/docs-ippool
docs: Improve ippool documentation
| -rw-r--r-- | accel-pppd/accel-ppp.conf.5 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 05ade262..c9666206 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -135,6 +135,7 @@ Specifies maximum concurrent session attempts which server may processed (defaul .TP .BI "check-ip=" 0|1 Specifies whether accel-ppp should check if IP already assigned to other client interface (default 0). +Check is global (not VRF-aware); with check-ip=1 the same IPv4/IPv6 address will be rejected even if sessions are in different VRFs/netns. With check-ip=0 overlapping addresses can be assigned (useful for isolated VRFs, but take care with overlapping pools). .TP .BI "nl-snd-buffer=" n Specifies netlink maximum send buffer size (SO_SNDBUF option) (default 32768). @@ -1156,12 +1157,18 @@ Specifies range of remote address of ppp interfaces if form: .TP .BI "x.x.x.x/mask[,name=pool_name][,next=next_pool_name] or x.x.x.x-y[,name=pool_name][,next=next_pool_name]" Also specifies range of remote address of ppp interfaces. +.br +You may also omit the "name=" key and use a shorthand pool name after the comma, e.g. +.br +.B 10.0.0.0/24,pool1 .TP .BI "attr=" attribute Specifies which Radius attribute contains pool name. .TP .BI "vendor=" vendor If attribute is vendor-specific then specify vendor name in this option. +.PP +Note: overlapping ranges in different pools are not de-duplicated. If two pools cover the same address, that IP can be allocated from each pool independently. Use non-overlapping ranges (or a single pool with next= chaining) to avoid duplicate assignments. .SH [ipv6-dhcp] .TP .BI "aftr-gw=" name |
