[FUG-BR] MPD5 instável.
Ricardo Souza
ricardo.souza em ti.cmtsp.com.br
Segunda Junho 15 12:02:30 BRT 2009
Bom dia pessoal,
tenho 2 servidores FreeBSD com carp pronto e funcionando. Porem o carp não
está funcionando 100% com o mpd5.
Para tentar resolver esta pendencia, abandonei o carp neste momento, ou
seja, o mpd esta listen no IP físico do servidor.
Eu estou utilizando Mikrotiks como clientes deste MPD e o problema é que a
conexão fica caindo com mt frequencia:
Logs de hoje no Mikrotik:
[admin em MK CISPE Bras] /log> print
02:41:06 pptp,ppp,info VPN: authenticated
02:41:06 pptp,ppp,info VPN: connected
02:45:46 pptp,ppp,info VPN: terminating... - disconnected
02:45:46 pptp,ppp,info VPN: disconnected
02:45:46 pptp,ppp,info VPN: initializing...
02:45:46 pptp,ppp,info VPN: dialing...
02:45:47 pptp,ppp,info VPN: authenticated
02:45:48 pptp,ppp,info VPN: connected
03:23:18 pptp,ppp,info VPN: terminating... - disconnected
03:23:18 pptp,ppp,info VPN: disconnected
03:23:18 pptp,ppp,info VPN: initializing...
03:23:18 pptp,ppp,info VPN: dialing...
03:23:20 pptp,ppp,info VPN: authenticated
03:23:20 pptp,ppp,info VPN: connected
04:00:50 pptp,ppp,info VPN: terminating... - disconnected
04:00:50 pptp,ppp,info VPN: disconnected
04:00:50 pptp,ppp,info VPN: initializing...
04:00:50 pptp,ppp,info VPN: dialing...
04:00:53 pptp,ppp,info VPN: authenticated
04:00:53 pptp,ppp,info VPN: connected
04:38:23 pptp,ppp,info VPN: terminating... - disconnected
04:38:23 pptp,ppp,info VPN: disconnected
04:38:23 pptp,ppp,info VPN: initializing...
04:38:23 pptp,ppp,info VPN: dialing...
04:38:25 pptp,ppp,info VPN: authenticated
04:38:25 pptp,ppp,info VPN: connected
05:15:55 pptp,ppp,info VPN: terminating... - disconnected
05:15:55 pptp,ppp,info VPN: disconnected
05:15:55 pptp,ppp,info VPN: initializing...
05:15:55 pptp,ppp,info VPN: dialing...
05:15:56 pptp,ppp,info VPN: authenticated
05:15:56 pptp,ppp,info VPN: connected
05:20:56 pptp,ppp,info VPN: terminating... - disconnected
05:20:56 pptp,ppp,info VPN: disconnected
05:20:56 pptp,ppp,info VPN: initializing...
05:20:56 pptp,ppp,info VPN: dialing...
05:20:56 pptp,ppp,info VPN: authenticated
05:20:56 pptp,ppp,info VPN: connected
05:58:26 pptp,ppp,info VPN: terminating... - disconnected
05:58:26 pptp,ppp,info VPN: disconnected
05:58:26 pptp,ppp,info VPN: initializing...
05:58:26 pptp,ppp,info VPN: dialing...
05:58:26 pptp,ppp,info VPN: authenticated
05:58:27 pptp,ppp,info VPN: connected
06:43:27 pptp,ppp,info VPN: terminating... - disconnected
06:43:27 pptp,ppp,info VPN: disconnected
06:43:27 pptp,ppp,info VPN: initializing...
06:43:27 pptp,ppp,info VPN: dialing...
06:43:27 pptp,ppp,info VPN: authenticated
06:43:27 pptp,ppp,info VPN: connected
07:20:57 pptp,ppp,info VPN: terminating... - disconnected
07:20:57 pptp,ppp,info VPN: disconnected
07:20:57 pptp,ppp,info VPN: initializing...
07:20:57 pptp,ppp,info VPN: dialing...
07:20:57 pptp,ppp,info VPN: authenticated
07:20:58 pptp,ppp,info VPN: connected
07:58:28 pptp,ppp,info VPN: terminating... - disconnected
07:58:28 pptp,ppp,info VPN: disconnected
07:58:28 pptp,ppp,info VPN: initializing...
07:58:28 pptp,ppp,info VPN: dialing...
07:58:30 pptp,ppp,info VPN: authenticated
07:58:30 pptp,ppp,info VPN: connected
08:01:10 pptp,ppp,info VPN: terminating... - disconnected
08:01:10 pptp,ppp,info VPN: disconnected
08:01:10 pptp,ppp,info VPN: initializing...
08:01:10 pptp,ppp,info VPN: dialing...
08:01:12 pptp,ppp,info VPN: authenticated
08:01:12 pptp,ppp,info VPN: connected
08:38:42 pptp,ppp,info VPN: terminating... - disconnected
08:38:43 pptp,ppp,info VPN: disconnected
08:38:43 pptp,ppp,info VPN: initializing...
08:38:43 pptp,ppp,info VPN: dialing...
08:38:46 pptp,ppp,info VPN: authenticated
08:38:47 pptp,ppp,info VPN: connected
09:16:17 pptp,ppp,info VPN: terminating... - disconnected
09:16:17 pptp,ppp,info VPN: disconnected
09:16:17 pptp,ppp,info VPN: initializing...
09:16:17 pptp,ppp,info VPN: dialing...
09:16:18 pptp,ppp,info VPN: authenticated
09:16:18 pptp,ppp,info VPN: connected
09:18:38 pptp,ppp,info VPN: terminating... - disconnected
09:18:38 pptp,ppp,info VPN: disconnected
09:18:38 pptp,ppp,info VPN: initializing...
09:18:38 pptp,ppp,info VPN: dialing...
09:18:40 pptp,ppp,info VPN: authenticated
09:18:40 pptp,ppp,info VPN: connected
09:19:40 pptp,ppp,info VPN: terminating... - disconnected
[admin em MK CISPE Bras] /log>
Meu mpd5.conf:
startup:
set user admin senhasenha admin
set console self 127.0.0.1 5005
set console open
set web self 0.0.0.0 5006
set web open
default:
load pptp_server
pptp_server:
create bundle template PPTP
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
# set ipcp dns 172.16.0.1
set ippool add LANPOOL 172.16.0.2 172.16.0.10
set ipcp ranges 172.16.0.1/32 ippool LANPOOL
# set bundle disable compression
create link template Clients pptp
set link latency 0
set link action bundle PPTP
set link enable multilink
#set link yes acfcomp protocomp
set link no pap chap
set link enable chap
# load radius
set link keep-alive 10 60
set link mtu 1460
set pptp self 0.0.0.0
set link enable incoming
set bundle enable compression
set bundle enable crypt-reqd
#set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
Meu dmesg infelizmente só mostra:
arp: 10.100.0.126 moved from 00:1a:64:7a:65:cc to 00:1a:64:7a:65:ca on bce1
arp: 10.100.0.126 moved from 00:1a:64:7a:65:ca to 00:1a:64:7a:65:cc on bce1
arp: 10.100.0.126 moved from 00:1a:64:7a:65:cc to 00:1a:64:7a:65:ca on bce1
arp: 10.100.0.126 moved from 00:1a:64:7a:65:ca to 00:1a:64:7a:65:cc on bce1
arp: 10.100.0.126 moved from 00:1a:64:7a:65:cc to 00:1a:64:7a:65:ca on bce1
Eu tentei desabilitar isso no sysctl mais nao rolou.
Logs do mpd: http://200.143.33.136/logs/mpd5.txt
Só conectei um mikrotik para realizar este teste e qd a conexao cai, o log
mostrou:
[PPTP-1] IPCP: state change Ack-Rcvd --> Opened
[PPTP-1] IPCP: LayerUp
[PPTP-1] 172.16.0.1 -> 172.16.0.10
[PPTP-1] IFACE: No interface to proxy arp on for 172.16.0.10
[PPTP-1] IFACE: Up event
[PPTP-1] IFACE: Idle timeout
[PPTP-1] Bundle: CLOSE event in state OPENED
[PPTP-1] Bundle: closing link "Clients-1"...
[Clients-1] Link: CLOSE event
[Clients-1] LCP: Close event
[Clients-1] LCP: state change Opened --> Closing
[Clients-1] Link: Leave bundle "PPTP-1"
[PPTP-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
[PPTP-1] IPCP: Close event
[PPTP-1] IPCP: state change Opened --> Closing
[PPTP-1] IPCP: SendTerminateReq #3
[PPTP-1] IPCP: LayerDown
[PPTP-1] IFACE: Down event
[PPTP-1] IPCP: Down event
[PPTP-1] IPCP: LayerFinish
[PPTP-1] Bundle: No NCPs left. Closing links...
[PPTP-1] IPCP: state change Closing --> Initial
[PPTP-1] Bundle: Shutdown
[Clients-1] LCP: SendTerminateReq #4
[Clients-1] LCP: LayerDown
[Clients-1] LCP: rec'd Terminate Ack #4 (Closing)
[Clients-1] LCP: state change Closing --> Closed
[Clients-1] LCP: LayerFinish
[Clients-1] PPTP call terminated
[Clients-1] Link: DOWN event
[Clients-1] LCP: Down event
[Clients-1] LCP: state change Closed --> Initial
[Clients-1] Link: SHUTDOWN event
[Clients-1] Link: Shutdown
Alguem sabe como posso resolver isso?
Obrigado
Mais detalhes sobre a lista de discussão freebsd