Автор |
Сообщение |
k0stE Гуру |
|
ДобрыйФей писал(а): |
Я не знаю, как в Фряхе, но что-то типа того |
Я Linux и имел ввиду О_о. |
|
|
|
|
Plaguer Эксперт |
|
Решил проблему радикально: не стал заморачиваться с патчами и прочим, просто перенёс роль шлюза на железяку с 11 фрёй - всё отлично отрабатывает.
Всем спасибо за помощь. |
|
|
|
|
Plaguer Эксперт |
|
Всё таки не решена проблема: скрипт завязанный на встроенный ppp успешно восстанавливает большинство разрывов, но где-то раз в 1-2 недели происходит разрыв (как правило в рабочее время, блжад!) после которого линк не восстанавливается в течение 4-5 минут, причём и ppp и mpd5 ведут себя одинаково: 5 минут пытаются восстановить линк и на 5-й минуте им это удаётся. При общении с ТП выяснилось что разрывает линк Ростелекомовский биллинг, детали выяснить не удалось
Вот что происходит на физическом интерфейсе во время попыток восстановления линка:
Код: |
...
PPPoE PADI [Host-Uniq 0x805B0A0600F8FFFF] [Service-Name]
PPPoE PADI [Host-Uniq 0x805B0A0600F8FFFF] [Service-Name]
PPPoE PADI [Host-Uniq 0x805B0A0600F8FFFF] [Service-Name]
PPPoE PADI [Host-Uniq 0x805B0A0600F8FFFF] [Service-Name]
... |
mpd.log:
Нажмите сюда, чтобы просмотреть текст
Код: |
Jul 5 08:35:34 dg09 mpd: [L1] LCP: no reply to 1 echo request(s)
Jul 5 08:35:44 dg09 mpd: [L1] LCP: no reply to 2 echo request(s)
Jul 5 08:35:54 dg09 mpd: [L1] LCP: no reply to 3 echo request(s)
Jul 5 08:36:04 dg09 mpd: [L1] LCP: no reply to 4 echo request(s)
Jul 5 08:36:14 dg09 mpd: [L1] LCP: no reply to 5 echo request(s)
Jul 5 08:36:14 dg09 mpd: [L1] LCP: peer not responding to echo requests
Jul 5 08:36:14 dg09 mpd: [L1] LCP: state change Opened --> Stopping
Jul 5 08:36:14 dg09 mpd: [L1] Link: Leave bundle "B1"
Jul 5 08:36:14 dg09 mpd: [B1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: Close event
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: state change Opened --> Closing
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: SendTerminateReq #4
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: LayerDown
Jul 5 08:36:14 dg09 mpd: [B1] IFACE: Down event
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: Down event
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: LayerFinish
Jul 5 08:36:14 dg09 mpd: [B1] Bundle: No NCPs left. Closing links...
Jul 5 08:36:14 dg09 mpd: [B1] IPCP: state change Closing --> Initial
Jul 5 08:36:14 dg09 mpd: [L1] LCP: SendTerminateReq #2
Jul 5 08:36:14 dg09 mpd: [L1] LCP: LayerDown
Jul 5 08:36:16 dg09 mpd: [L1] LCP: SendTerminateReq #3
Jul 5 08:36:18 dg09 mpd: [L1] LCP: state change Stopping --> Stopped
Jul 5 08:36:18 dg09 mpd: [L1] LCP: LayerFinish
Jul 5 08:36:18 dg09 mpd: [L1] PPPoE: connection closed
Jul 5 08:36:18 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:36:18 dg09 mpd: [L1] LCP: Down event
Jul 5 08:36:18 dg09 mpd: [L1] LCP: state change Stopped --> Starting
Jul 5 08:36:18 dg09 mpd: [L1] LCP: LayerStart
Jul 5 08:36:18 dg09 mpd: [L1] Link: reconnection attempt 1 in 4 seconds
Jul 5 08:36:22 dg09 mpd: [L1] Link: reconnection attempt 1
Jul 5 08:36:22 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:36:31 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:36:31 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:36:31 dg09 mpd: [L1] LCP: Down event
Jul 5 08:36:31 dg09 mpd: [L1] Link: reconnection attempt 2 in 3 seconds
Jul 5 08:36:34 dg09 mpd: [L1] Link: reconnection attempt 2
Jul 5 08:36:34 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:36:43 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:36:43 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:36:43 dg09 mpd: [L1] LCP: Down event
Jul 5 08:36:43 dg09 mpd: [L1] Link: reconnection attempt 3 in 2 seconds
Jul 5 08:36:45 dg09 mpd: [L1] Link: reconnection attempt 3
Jul 5 08:36:45 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:36:54 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:36:54 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:36:54 dg09 mpd: [L1] LCP: Down event
Jul 5 08:36:54 dg09 mpd: [L1] Link: reconnection attempt 4 in 1 seconds
Jul 5 08:36:55 dg09 mpd: [L1] Link: reconnection attempt 4
Jul 5 08:36:55 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:37:05 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:37:05 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:37:05 dg09 mpd: [L1] LCP: Down event
Jul 5 08:37:05 dg09 mpd: [L1] Link: reconnection attempt 5 in 1 seconds
Jul 5 08:37:06 dg09 mpd: [L1] Link: reconnection attempt 5
Jul 5 08:37:06 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:37:15 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:37:15 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:37:15 dg09 mpd: [L1] LCP: Down event
Jul 5 08:37:15 dg09 mpd: [L1] Link: reconnection attempt 6 in 3 seconds
Jul 5 08:37:18 dg09 mpd: [L1] Link: reconnection attempt 6
Jul 5 08:37:18 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:37:27 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:37:27 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:37:27 dg09 mpd: [L1] LCP: Down event
Jul 5 08:37:27 dg09 mpd: [L1] Link: reconnection attempt 7 in 4 seconds
Jul 5 08:37:31 dg09 mpd: [L1] Link: reconnection attempt 7
Jul 5 08:37:31 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:37:40 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:37:40 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:37:40 dg09 mpd: [L1] LCP: Down event
Jul 5 08:37:40 dg09 mpd: [L1] Link: reconnection attempt 8 in 2 seconds
Jul 5 08:37:42 dg09 mpd: [L1] Link: reconnection attempt 8
Jul 5 08:37:42 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:37:51 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:37:51 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:37:51 dg09 mpd: [L1] LCP: Down event
Jul 5 08:37:51 dg09 mpd: [L1] Link: reconnection attempt 9 in 4 seconds
Jul 5 08:37:55 dg09 mpd: [L1] Link: reconnection attempt 9
Jul 5 08:37:55 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:38:04 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:38:04 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:38:04 dg09 mpd: [L1] LCP: Down event
Jul 5 08:38:04 dg09 mpd: [L1] Link: reconnection attempt 10 in 2 seconds
Jul 5 08:38:06 dg09 mpd: [L1] Link: reconnection attempt 10
Jul 5 08:38:06 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:38:15 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:38:15 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:38:15 dg09 mpd: [L1] LCP: Down event
Jul 5 08:38:15 dg09 mpd: [L1] Link: reconnection attempt 11 in 4 seconds
Jul 5 08:38:19 dg09 mpd: [L1] Link: reconnection attempt 11
Jul 5 08:38:19 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:38:28 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:38:28 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:38:28 dg09 mpd: [L1] LCP: Down event
Jul 5 08:38:28 dg09 mpd: [L1] Link: reconnection attempt 12 in 2 seconds
Jul 5 08:38:30 dg09 mpd: [L1] Link: reconnection attempt 12
Jul 5 08:38:30 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:38:39 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:38:39 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:38:39 dg09 mpd: [L1] LCP: Down event
Jul 5 08:38:39 dg09 mpd: [L1] Link: reconnection attempt 13 in 2 seconds
Jul 5 08:38:41 dg09 mpd: [L1] Link: reconnection attempt 13
Jul 5 08:38:41 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:38:50 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:38:50 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:38:50 dg09 mpd: [L1] LCP: Down event
Jul 5 08:38:50 dg09 mpd: [L1] Link: reconnection attempt 14 in 1 seconds
Jul 5 08:38:51 dg09 mpd: [L1] Link: reconnection attempt 14
Jul 5 08:38:51 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:00 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:00 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:00 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:00 dg09 mpd: [L1] Link: reconnection attempt 15 in 1 seconds
Jul 5 08:39:01 dg09 mpd: [L1] Link: reconnection attempt 15
Jul 5 08:39:01 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:10 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:10 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:10 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:10 dg09 mpd: [L1] Link: reconnection attempt 16 in 1 seconds
Jul 5 08:39:11 dg09 mpd: [L1] Link: reconnection attempt 16
Jul 5 08:39:11 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:20 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:20 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:20 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:20 dg09 mpd: [L1] Link: reconnection attempt 17 in 1 seconds
Jul 5 08:39:21 dg09 mpd: [L1] Link: reconnection attempt 17
Jul 5 08:39:21 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:30 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:30 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:30 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:30 dg09 mpd: [L1] Link: reconnection attempt 18 in 4 seconds
Jul 5 08:39:35 dg09 mpd: [L1] Link: reconnection attempt 18
Jul 5 08:39:35 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:44 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:44 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:44 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:44 dg09 mpd: [L1] Link: reconnection attempt 19 in 1 seconds
Jul 5 08:39:45 dg09 mpd: [L1] Link: reconnection attempt 19
Jul 5 08:39:45 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:39:54 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:39:54 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:39:54 dg09 mpd: [L1] LCP: Down event
Jul 5 08:39:54 dg09 mpd: [L1] Link: reconnection attempt 20 in 2 seconds
Jul 5 08:39:56 dg09 mpd: [L1] Link: reconnection attempt 20
Jul 5 08:39:56 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:40:05 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:40:05 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:40:05 dg09 mpd: [L1] LCP: Down event
Jul 5 08:40:05 dg09 mpd: [L1] Link: reconnection attempt 21 in 1 seconds
Jul 5 08:40:06 dg09 mpd: [L1] Link: reconnection attempt 21
Jul 5 08:40:06 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:40:15 dg09 mpd: [L1] PPPoE connection timeout after 9 seconds
Jul 5 08:40:15 dg09 mpd: [L1] Link: DOWN event
Jul 5 08:40:15 dg09 mpd: [L1] LCP: Down event
Jul 5 08:40:15 dg09 mpd: [L1] Link: reconnection attempt 22 in 1 seconds
Jul 5 08:40:16 dg09 mpd: [L1] Link: reconnection attempt 22
Jul 5 08:40:16 dg09 mpd: [L1] PPPoE: Connecting to ''
Jul 5 08:40:22 dg09 mpd: PPPoE: rec'd ACNAME "NVSK-BRAS8"
Jul 5 08:40:22 dg09 mpd: [L1] PPPoE: connection successful
Jul 5 08:40:22 dg09 mpd: [L1] Link: UP event
Jul 5 08:40:22 dg09 mpd: [L1] LCP: Up event
Jul 5 08:40:22 dg09 mpd: [L1] LCP: state change Starting --> Req-Sent
Jul 5 08:40:22 dg09 mpd: [L1] LCP: SendConfigReq #4
Jul 5 08:40:22 dg09 mpd: [L1] PROTOCOMP
Jul 5 08:40:22 dg09 mpd: [L1] MRU 1492
Jul 5 08:40:22 dg09 mpd: [L1] MAGICNUM 0x888f9340
Jul 5 08:40:22 dg09 mpd: [L1] LCP: rec'd Configure Request #105 (Req-Sent)
Jul 5 08:40:22 dg09 mpd: [L1] MRU 1492
Jul 5 08:40:22 dg09 mpd: [L1] AUTHPROTO PAP
Jul 5 08:40:22 dg09 mpd: [L1] MAGICNUM 0x78338607
Jul 5 08:40:22 dg09 mpd: [L1] LCP: SendConfigAck #105
Jul 5 08:40:22 dg09 mpd: [L1] MRU 1492
Jul 5 08:40:22 dg09 mpd: [L1] AUTHPROTO PAP
Jul 5 08:40:22 dg09 mpd: [L1] MAGICNUM 0x78338607
Jul 5 08:40:22 dg09 mpd: [L1] LCP: state change Req-Sent --> Ack-Sent
Jul 5 08:40:22 dg09 mpd: [L1] LCP: rec'd Configure Ack #4 (Ack-Sent)
Jul 5 08:40:22 dg09 mpd: [L1] PROTOCOMP
Jul 5 08:40:22 dg09 mpd: [L1] MRU 1492
Jul 5 08:40:22 dg09 mpd: [L1] MAGICNUM 0x888f9340
Jul 5 08:40:22 dg09 mpd: [L1] LCP: state change Ack-Sent --> Opened
Jul 5 08:40:22 dg09 mpd: [L1] LCP: auth: peer wants PAP, I want nothing
Jul 5 08:40:22 dg09 mpd: [L1] PAP: using authname "login"
Jul 5 08:40:22 dg09 mpd: [L1] PAP: sending REQUEST #1 len: 30
Jul 5 08:40:22 dg09 mpd: [L1] LCP: LayerUp
Jul 5 08:40:23 dg09 mpd: [L1] PAP: rec'd ACK #1 len: 5
Jul 5 08:40:23 dg09 mpd: [L1] LCP: authorization successful
Jul 5 08:40:23 dg09 mpd: [L1] Link: Matched action 'bundle "B1" ""'
Jul 5 08:40:23 dg09 mpd: [L1] Link: Join bundle "B1"
Jul 5 08:40:23 dg09 mpd: [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: Open event
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: state change Initial --> Starting
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: LayerStart
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: Up event
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: state change Starting --> Req-Sent
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: SendConfigReq #5
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 0.0.0.0
Jul 5 08:40:23 dg09 mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: rec'd Configure Reject #5 (Req-Sent)
Jul 5 08:40:23 dg09 mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: SendConfigReq #6
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 0.0.0.0
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: rec'd Configure Nak #6 (Req-Sent)
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 212.164.229.78
Jul 5 08:40:23 dg09 mpd: [B1] 212.164.229.78 is OK
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: SendConfigReq #7
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 212.164.229.78
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: rec'd Configure Ack #7 (Req-Sent)
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 212.164.229.78
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: state change Req-Sent --> Ack-Rcvd
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: rec'd Configure Request #249 (Ack-Rcvd)
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 213.228.116.22
Jul 5 08:40:23 dg09 mpd: [B1] 213.228.116.22 is OK
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: SendConfigAck #249
Jul 5 08:40:23 dg09 mpd: [B1] IPADDR 213.228.116.22
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: state change Ack-Rcvd --> Opened
Jul 5 08:40:23 dg09 mpd: [B1] IPCP: LayerUp
Jul 5 08:40:23 dg09 mpd: [B1] 212.164.229.78 -> 213.228.116.22
Jul 5 08:40:23 dg09 mpd: [B1] IFACE: Up event
|
|
ppp.log:
Нажмите сюда, чтобы просмотреть текст
Код: |
Jul 17 04:48:15 dg09 ppp[99335]: Phase: Signal 15, terminate.
Jul 17 04:48:21 dg09 ppp[64719]: Phase: Using interface: tun0
Jul 17 04:48:21 dg09 ppp[64719]: Phase: deflink: Created in closed state
Jul 17 04:48:21 dg09 ppp[64721]: Phase: PPP Started (ddial mode).
Jul 17 04:48:21 dg09 ppp[64721]: Phase: bundle: Establish
Jul 17 04:48:21 dg09 ppp[64721]: Phase: deflink: closed -> opening
Jul 17 04:48:21 dg09 ppp[64721]: Phase: deflink: Connected!
Jul 17 04:48:21 dg09 ppp[64721]: Phase: deflink: opening -> dial
Jul 17 04:48:21 dg09 ppp[64721]: Phase: deflink: dial -> carrier
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: Disconnected!
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: carrier -> hangup
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: 0 packets in, 0 packets out
Jul 17 04:48:26 dg09 ppp[64721]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 17 04:48:21 2017
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: hangup -> opening
Jul 17 04:48:26 dg09 ppp[64721]: Phase: deflink: Enter pause (5) for redialing.
Jul 17 04:48:31 dg09 ppp[64721]: Phase: deflink: Connected!
Jul 17 04:48:31 dg09 ppp[64721]: Phase: deflink: opening -> dial
Jul 17 04:48:31 dg09 ppp[64721]: Phase: deflink: dial -> carrier
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: Disconnected!
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: carrier -> hangup
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: 0 packets in, 0 packets out
Jul 17 04:48:36 dg09 ppp[64721]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 17 04:48:31 2017
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: hangup -> opening
Jul 17 04:48:36 dg09 ppp[64721]: Phase: deflink: Enter pause (5) for redialing.
Jul 17 04:48:41 dg09 ppp[64721]: Phase: deflink: Connected!
Jul 17 04:48:41 dg09 ppp[64721]: Phase: deflink: opening -> dial
Jul 17 04:48:41 dg09 ppp[64721]: Phase: deflink: dial -> carrier
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: Disconnected!
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: carrier -> hangup
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: 0 packets in, 0 packets out
Jul 17 04:48:46 dg09 ppp[64721]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jul 17 04:48:41 2017
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: hangup -> opening
Jul 17 04:48:46 dg09 ppp[64721]: Phase: deflink: Enter pause (5) for redialing.
Jul 17 04:48:51 dg09 ppp[64721]: Phase: deflink: Connected!
Jul 17 04:48:51 dg09 ppp[64721]: Phase: deflink: opening -> dial
Jul 17 04:48:51 dg09 ppp[64721]: Phase: deflink: dial -> carrier
Jul 17 04:48:56 dg09 ppp[64721]: Phase: deflink: Disconnected!
|
|
mpd.conf
Нажмите сюда, чтобы просмотреть текст
Код: |
startup:
set user admin admin admin
set user user user
set console self 127.0.0.1 5005
set console close
set web self 0.0.0.0 5006
set web close
default:
load pppoe_client
pppoe_client:
create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set iface enable tcpmssfix
create link static L1 pppoe
set link action bundle B1
set auth authname login
set auth password password
set link max-redial 0
set link mtu 1492
set link keep-alive 10 60
set pppoe iface em1
set pppoe service "rtc"
open
|
|
ppp.conf
Нажмите сюда, чтобы просмотреть текст
Код: |
default:
set device PPPoE:em1
set speed sync
set mru 1492
set mtu 1492
enable lqr
set ctsrts off
set timeout 0
set redial 5 10000
set reconnect 10 10000
rtc:
set authname login
set authkey password
add default HISADDR
|
|
|
|
|
|
|
ДобрыйФей Мечтатель Предупреждений : 5
|
|
Выглядит как разрыв какой-то - нет LCP, нет ответа на Termination Request и на последующие PADI. |
|
|
|
|
Plaguer Эксперт |
|
Перенёс всё это дело на другую железяку, буду наблюдать. |
|
|
|
|
Plaguer Эксперт |
|
Некропостинг конечно, но правда дороже.
Долго мучил ТП РТК, собирал инфу по крупицам, наблюдал и выяснил: некоторые виды оптических терминалов (у нас был какой-то популярный ONT) имеют свойство накапливать ошибки, что напрямую влияет на стабильность их работы, в какой-то момент после долгого аптайма (недели 3) разрывы стали происходить по 4 и больше раз на дню, временно помогала только перезагрузка ONT.
Договорились с РТК заменить ONT на ONU (другое железо и прошивка) - помогло: где-то раз в 2 недели в логах происходит
Код: |
mpd: [L1] LCP: rec'd Terminate Request #83 (Opened) |
после чего в течение одной секунды mpd5 поднимает линк.
Надеюсь кому-нить пригодится эта инфа. |
|
|
|
|
|
Аватары: Вкл|Выкл ЮзерИнфо: Вкл|Выкл Подписи: Вкл|Выкл
|
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете голосовать в опросах Вы не можете вкладывать файлы Вы можете скачивать файлы
|
|