summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-03-18 16:49:14 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-03-18 16:49:18 +0300
commit550d631e9aad3ffac3ab4c2953021182ab2eb0c3 (patch)
treecfd9cafee968b65c4308bcf146b3fede166300aa /accel-pppd/accel-ppp.conf.5
parent546e33e6f4d03f81341c0da91eac9fef8aa94f29 (diff)
downloadaccel-ppp-550d631e9aad3ffac3ab4c2953021182ab2eb0c3.tar.gz
accel-ppp-550d631e9aad3ffac3ab4c2953021182ab2eb0c3.zip
ipoe: implemented new option "start=auto"
If start=auto is specified then accel-pppd automatically starts session with username = interface name on shared=0 interfaces. Use it with conjuction vlan_mon. So any packet may start session.
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r--accel-pppd/accel-ppp.conf.56
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index 648fd247..eefbe6be 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -272,7 +272,7 @@ Specifies default value for per-interface
.B mode
parameter.
.TP
-.BI "start=" dhcpv4|up
+.BI "start=" dhcpv4|up|auto
Specifies default value for per-interface
.B start
parameter.
@@ -292,7 +292,7 @@ Specifies default value for per-interface
.B proxy-arp
parameter.
.TP
-.BI "interface=" [re:]name[,mode=L2|L3][,shared=0|1][,start=dhcpv4|up]
+.BI "interface=" [re:]name[,mode=L2|L3][,shared=0|1][,start=dhcpv4|up|auto]
.BI "" [,range=x.x.x.x/mask][,ifcfg=0|1]
.BI "" [,relay=x.x.x.x]
.BI "" [,giaddr=x.x.x.x]
@@ -328,6 +328,8 @@ The
.B start
parameter specifies which way session starts (up - unclassified packet).
.br
+auto - means automatically start session with username = interface name. Use it with conjuction vlan_mon.
+.br
The
.B range
parameter specifies local range of ip address to give to dhcp clients. First IP in range is router IP.