Add more docs

This commit is contained in:
Denys Fedoryshchenko
2023-06-17 19:11:36 +03:00
parent afd8053c55
commit 3a39f87630
2 changed files with 18 additions and 4 deletions
+17 -3
View File
@@ -5,19 +5,33 @@
### Adding new vlan interface
You need to add following line in /etc/accel-ppp.conf
```
interface=bond0.2529,{"services":["zone1","Flexnet","ferrari2","fi","rp","pr","dotnet"],"service-blank":1}
interface=bond0.2529,{"services":["zone1","Flexnet","IDM","fi","rp","pr","dotnet"],"service-blank":1}
```
Possible options:
* services - list of PPPoE services to be added to the interface
* services - list of PPPoE services to be added to the interface, if you dont want any omit this parameter
* service-blank - if set to 1, then user that didnt specify service can connect to this pppoe
* service-any - if set to 1, then user that specified any service can connect to this pppoe
* service-any - if set to 1, then user that specified any service can connect to this pppoe, if not needed - omit this parameter
After updating accel-ppp config, you need to run script that will create vlans and add vlans to accel without restart:
```
sh /etc/add_accel_vlans.sh
```
You can verify vlan is created by using following command:
```
ip link show bond0.2529
```
Make sure it is activated in accel-ppp:
```
accel-cmd pppoe interface show
```
Also you can check mac addresses on /proc/net/pppoe, and exclude only those you want for specific vlan using grep:
```
grep bond0.2529 /proc/net/pppoe
```
### Monitoring vlan utilization
```