kvirtu 315 Posted 2015-03-04 18:41:13 Share Posted 2015-03-04 18:41:13 всем привет ! Подскажите, что нужно подкрутить в конфиге mpd, скидывает мпд юзверов, у которых нет траффика. вот конфиг, спасибо startup: # enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients set global enable tcp-wrapper # configure the console set console self 127.0.0.1 5005 set user admin xxxxxx admin set console open #Coa/pod set radsrv peer 127.0.0.1 xxxxxx set radsrv self 127.0.0.1 3799 set radsrv open #set web self 0.0.0.0 5006 #set web open #Netflow options #set netflow peer %MPD_NETFLOW_IP% %MPD_NETFLOW_PORT% #set netflow self %MPD_NETFLOW_SOURCE_IP% %MPD_NETFLOW_SOURCE_PORT% #set netflow timeouts 15 15 #set netflow hook 9000 #set netflow node netflow log -echo -radius -rep default: load pppoe_server pppoe_server: create link template P pppoe set link disable multilink set link disable pap eap chap set link enable chap-md5 load radius set pppoe service * set link enable peer-as-calling set ippool add pool12 192.168.16.2 192.168.19.254 ##MULTI_SECTION:PPPOE_INTERFACES #%PPPOE_INTERFACE% %DESCRIBE% create bundle template igb1 set iface idle 1800 set iface enable tcpmssfix set iface up-script "/usr/abills/libexec/linkupdown mpd up" set iface down-script "/usr/abills/libexec/linkupdown mpd down" set ipcp dns 10.128.10.1 8.8.8.8 set ipcp ranges 193.xxx.xxx.xxx/32 ippool pool2 create link template igb1 P set link action bundle igb1 set pppoe iface igb1 set link enable incoming ##END_MULTI_SECTION server_common: set link no pap eap set link yes chap-md5 set link keep-alive 20 60 set link enable incoming set link no acfcomp protocomp load radius radius: set radius server 127.0.0.1 xxxxxxxxx 1812 1813 #set radius config /etc/radius.conf set radius retries 3 set radius timeout 10 set auth acct-update 300 set auth enable radius-auth set auth enable radius-acct set auth disable internal Link to post Share on other sites
l1ght 377 Posted 2015-03-04 18:50:22 Share Posted 2015-03-04 18:50:22 (edited) create bundle template igb1 set iface idle 1800 set link keep-alive 20 60 я думаю у цьому причина Edited 2015-03-04 18:50:41 by L1ght Link to post Share on other sites
kvirtu 315 Posted 2015-03-04 18:55:52 Author Share Posted 2015-03-04 18:55:52 create bundle template igb1 set iface idle 1800 set link keep-alive 20 60 я думаю у цьому причина ага, спс. set iface idle 0 щас set link keep-alive погуглю Абилс, блин ..... Link to post Share on other sites
kvirtu 315 Posted 2015-03-04 19:01:56 Author Share Posted 2015-03-04 19:01:56 set link keep-alive seconds maxвключает отправку LCP echo пакетов.Первый пакет отправляется через seconds секунд простоя (т.e., нет принятых пакетов от удаленной машины по связе).После более чем seconds,отправляется другой эхо пакет. Если после max секунд ответ не будет получен связь будет разорвана. Если seconds =0, эхо пакеты отключены. set link keep-alive 20 60 - можно так и оставить ? Link to post Share on other sites
Kto To 602 Posted 2015-03-04 19:16:59 Share Posted 2015-03-04 19:16:59 set iface idle 1800 уберите Link to post Share on other sites
kvirtu 315 Posted 2015-03-04 19:53:37 Author Share Posted 2015-03-04 19:53:37 set iface idle 1800 уберите вообще удалить из конфига ? Link to post Share on other sites
Kto To 602 Posted 2015-03-04 19:54:55 Share Posted 2015-03-04 19:54:55 у меня этой строчки в конфиге вообще нету. Link to post Share on other sites
masters 126 Posted 2015-03-04 20:01:23 Share Posted 2015-03-04 20:01:23 set iface idle 1800 уберите вообще удалить из конфига ? Эта строчка как раз и отвечает за отключение клиентов по неактивности. Если 1800 секунд от клиента нет траффика то он отключается. Уберите ее. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now