reload

IPoE related questions
brodayga
Posts: 94
Joined: 23 Oct 2014, 06:13

Re: reload

Post by brodayga » 21 Jan 2018, 16:05

ребутаю машину. Загружаю модуль без параметров . Релоад без проблем.

brodayga
Posts: 94
Joined: 23 Oct 2014, 06:13

Re: reload

Post by brodayga » 21 Jan 2018, 16:59

Конфиг

Code: Select all

[ipoe]
verbose=10
lua-file=/etc/accel-ppp.lua
username=lua:username
password=username1
l4-redirect-on-reject=360
l4-redirect-ip-pool=unauth
lease-time=30
renew-time=10
max-lease-time=3600
unit-cache=10
shared=1
ifcfg=1
mode=L2
start=dhcpv4
ip-pool=ipoe
gw-ip-address=172.16.48.1/20
interface=re:^eth1\..*$
vlan-mon=eth1,1-255
root@ipoe-mt:/etc# accel-cmd -V
accel-cmd af82c18fe8985b706740614d5ed738026ae68878
не большой лог эксперимента. конфиг и интерфейсы не трогаю.
Спойлер
root@ipoe-mt:/etc/init.d# rmmod vlan-mon
root@ipoe-mt:/etc/init.d# modprobe vlan-mon
root@ipoe-mt:/etc/init.d# ./accel-ppp start
Starting ACCEL server :root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# accel-cmd show sessions
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+-------------+-------------+------+------+--------+----------
ipoe0 | NOOPTION | 00:13:e8:bc:17:e5 | 172.16.48.2 | 18072/18072 | ipoe | | active | 00:00:07
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# accel-cmd reload
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# accel-cmd show sessions
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+-------------+-------------+------+------+--------+----------
ipoe0 | NOOPTION | 00:13:e8:bc:17:e5 | 172.16.48.2 | 18072/18072 | ipoe | | active | 00:00:52
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# ./accel-ppp stop
Shutting down MS VPN server pptpd 0:1:root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# rmmod vlan-mon
root@ipoe-mt:/etc/init.d# modprobe vlan_mon autoclean=1
root@ipoe-mt:/etc/init.d# ./accel-ppp start
Starting ACCEL server :root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# accel-cmd show sessions
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+-------------+-------------+------+------+--------+----------
ipoe0 | NOOPTION | 00:13:e8:bc:17:e5 | 172.16.48.2 | 18072/18072 | ipoe | | active | 00:00:03
root@ipoe-mt:/etc/init.d# accel-cmd reload

Message from syslogd@ipoe-mt at Jan 21 19:33:32 ...
kernel:[ 801.996022] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:33:43 ...
kernel:[ 812.236021] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:33:53 ...
kernel:[ 822.476031] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1
^C
root@ipoe-mt:/etc/init.d#
Message from syslogd@ipoe-mt at Jan 21 19:34:03 ...
kernel:[ 832.716019] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:34:13 ...
kernel:[ 842.956019] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:34:24 ...
kernel:[ 853.196019] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:34:34 ...
kernel:[ 863.436018] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:34:44 ...
kernel:[ 873.676018] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:34:54 ...
kernel:[ 883.916018] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:35:05 ...
kernel:[ 894.156022] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:35:15 ...
kernel:[ 904.396019] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:35:25 ...
kernel:[ 914.636019] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:35:35 ...
kernel:[ 924.876027] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

Message from syslogd@ipoe-mt at Jan 21 19:35:46 ...
kernel:[ 935.120021] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1
^C
root@ipoe-mt:/etc/init.d#
Message from syslogd@ipoe-mt at Jan 21 19:35:56 ...
kernel:[ 945.360022] unregister_netdevice: waiting for eth1.26 to become free. Usage count = 1

root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d#
root@ipoe-mt:/etc/init.d# reboot

Broadcast message from root@ipoe-mt (pts/1) (Sun Jan 21 19:36:02 2018):

The system is going down for reboot NOW!

dimka88
Posts: 431
Joined: 13 Oct 2014, 05:51
Contact:

Re: reload

Post by dimka88 » 21 Jan 2018, 18:14

Да, вы правы, на стенде удалось достичь результата с shared=1.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest