The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Проблема - линк между FreeBSD 4.7 - Mikrotik"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Проблема - линк между FreeBSD 4.7 - Mikrotik"  
Сообщение от kaa79 email(ok) on 15-Ноя-07, 16:41 
Уважаемые господа, поиском решить проблему не смог так что пишу сюда (первый раз сильно не пинайте)
Проблема следующая: есть небольшой роутер на FreeBSD 4.7. Внешний интерфейс rl0 подключен к радио точке доступа провайдера Mikrotik. До этого стоял радио-бридж Cisco BR350 после замены его на микротик начались проблемы с линком. Пинг от роутера (FreeBSD) до шлюза (Mikrotik) постоянно прыгает от 1.5 мс до 2000 мс с постоянными потерями. Провайдер говорит что проблемы у меня. Физически устройства стоят в одном помещении, кабель заменил, сетевую карту менял.
Вот логи с фряхи, ip микротика 89.18.128.161 :
ping -c 10 89.18.128.161
PING 89.18.128.161 (89.18.128.161): 56 data bytes
64 bytes from 89.18.128.161: icmp_seq=0 ttl=64 time=718.232 ms
64 bytes from 89.18.128.161: icmp_seq=1 ttl=64 time=196.505 ms
64 bytes from 89.18.128.161: icmp_seq=2 ttl=64 time=895.791 ms
64 bytes from 89.18.128.161: icmp_seq=3 ttl=64 time=16.400 ms
64 bytes from 89.18.128.161: icmp_seq=4 ttl=64 time=1165.746 ms
64 bytes from 89.18.128.161: icmp_seq=5 ttl=64 time=494.749 ms
64 bytes from 89.18.128.161: icmp_seq=6 ttl=64 time=1.712 ms
64 bytes from 89.18.128.161: icmp_seq=7 ttl=64 time=265.120 ms
64 bytes from 89.18.128.161: icmp_seq=8 ttl=64 time=884.575 ms
64 bytes from 89.18.128.161: icmp_seq=9 ttl=64 time=874.133 ms

--- 89.18.128.161 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.712/551.296/1165.746/392.240 ms

ping -c 10 -f 89.18.128.161
PING 89.18.128.161 (89.18.128.161): 56 data bytes
..........
--- 89.18.128.161 ping statistics ---
10 packets transmitted, 1 packets received, 90% packet loss
round-trip min/avg/max/stddev = 2418.386/2418.386/2418.386/0.000 ms

netstat -m
1/1040/34816 mbufs in use (current/peak/max):
        1 mbufs allocated to data
0/192/8704 mbuf clusters in use (current/peak/max)
644 Kbytes allocated to network (2% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link#1>    00:80:ad:8f:06:b3   501188     1   590421     0 40833
ed0   1500  192.168.1     192.168.1.1       153572     -   159153     -     -
rl0   1500  <Link#2>    00:05:1c:09:7e:e5   552169     0   586632     0  2329
rl0   1500  89.18.128.160 mx                158160     -   575532     -     -
rl1*  1500  <Link#3>    00:00:11:00:0f:eb        0     0        0     0     0
lo0   16384 <Link#4>                           261     0      261     0     0
lo0   16384 your-net      localhost              0     -        0     -     -
ppp0* 1500  <Link#5>                             0     0        0     0     0

netstat -s
tcp:
        95403 packets sent
                49214 data packets (36011548 bytes)
                1635 data packets (1293197 bytes) retransmitted
                0 resends initiated by MTU discovery
                34949 ack-only packets (11163 delayed)
                0 URG only packets
                23 window probe packets
                3272 window update packets
                6310 control packets
        96318 packets received
                35801 acks (for 33763711 bytes)
                5954 duplicate acks
                0 acks for unsent data
                36084 packets (31791636 bytes) received in-sequence
                937 completely duplicate packets (605727 bytes)
                0 old duplicate packets
                23 packets with some dup. data (14989 bytes duped)
                4437 out-of-order packets (5494212 bytes)
                46 packets (46 bytes) of data after window
                46 window probes
                59 window update packets
                1038 packets received after close
                5 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        2920 connection requests
        2469 connection accepts
        11 bad connection attempts
        0 listen queue overflows
        5043 connections established (including accepts)
        5393 connections closed (including 1633 drops)
                91 connections updated cached RTT on close
                91 connections updated cached RTT variance on close
                57 connections updated cached ssthresh on close
        0 embryonic connections dropped
        21299 segments updated rtt (of 23692 attempts)
        684 retransmit timeouts
                6 connections dropped by rexmit timeout
        25 persist timeouts
                0 connections dropped by persist timeout
        28 keepalive timeouts
                25 keepalive probes sent
                3 connections dropped by keepalive
        78 correct ACK header predictions
        29808 correct data packet header predictions
        4729 syncache entries added
                630 retransmitted
                463 dupsyn
                0 dropped
                2469 completed
                0 bucket overflow
                0 cache overflow
                2255 reset
                5 stale
                0 aborted
                0 badack
                0 unreach
                0 zone failures
        0 cookies sent
        0 cookies received
udp:
        13117 datagrams received
        0 with incomplete header
        0 with bad data length field
        0 with bad checksum
        0 with no checksum
        50 dropped due to no socket
        8660 broadcast/multicast datagrams dropped due to no socket
        3659 dropped due to full socket buffers
        0 not for hashed pcb
        748 delivered
        601 datagrams output
ip:
        1729778 total packets received
        0 bad header checksums
        0 with size smaller than minimum
        0 with data size < data length
        0 with ip length > max ip packet size
        0 with header length < data size
        0 with data length < header length
        0 with bad options
        0 with incorrect version number
        11404 fragments received
        0 fragments dropped (dup or out of space)
        0 fragments dropped after timeout
        5511 packets reassembled ok
        857708 packets for this host
        736 packets for unknown/unsupported protocol
        865435 packets forwarded (0 packets fast forwarded)
        4 packets not forwardable
        0 packets received for unknown multicast group
        102965 redirects sent
        288270 packets sent from this host
        562061 packets sent with fabricated ip header
        3065 output packets dropped due to no bufs, etc.
        0 output packets discarded due to no route
        16302 output datagrams fragmented
        33364 fragments created
        0 datagrams that can't be fragmented
        0 tunneling packets that can't find gif
        0 datagrams with bad address in header
icmp:
        53 calls to icmp_error
        0 errors not generated 'cuz old message was icmp
        Output histogram:
                echo reply: 3376
                destination unreachable: 52
                source quench: 1
                routing redirect: 102965
        0 messages with bad code fields
        0 messages < minimum length
        0 bad checksums
        0 messages with bad length
        0 multicast echo requests ignored
        0 multicast timestamp requests ignored
        Input histogram:
                echo reply: 66454
                destination unreachable: 82
                echo: 3376
                time exceeded: 41
        3376 message responses generated
        0 invalid return addresses
        0 no return routes
        ICMP address mask responses are disabled
igmp:
        736 messages received
        0 messages received with too few bytes
        0 messages received with bad checksum
        736 membership queries received
        0 membership queries received with invalid field(s)
        0 membership reports received
        0 membership reports received with invalid field(s)
        0 membership reports received for groups to which we belong
        0 membership reports sent
ipsec:
        128823 inbound packets processed successfully
        0 inbound packets violated process security policy
        0 inbound packets with no SA available
        0 invalid inbound packets
        0 inbound packets failed due to insufficient memory
        0 inbound packets failed getting SPI
        0 inbound packets failed on AH replay check
        0 inbound packets failed on ESP replay check
        0 inbound packets considered authentic
        0 inbound packets failed on authentication
        ESP input histogram:
                3des-cbc: 128823
        153973 outbound packets processed successfully
        0 outbound packets violated process security policy
        110 outbound packets with no SA available
        0 invalid outbound packets
        0 outbound packets failed due to insufficient memory
        0 outbound packets with no route
        ESP output histogram:
                3des-cbc: 153973
pfkey:
        308 requests sent to userland
        36032 bytes sent to userland
        histogram by message type:
                getspi: 65
                update: 58
                add: 58
                delete: 52
                acquire: 12
                register: 4
                flush: 1
                dump: 52
                x_spdadd: 4
                x_spddump: 1
                x_spdflush: 1
        0 messages with invalid length field
        0 messages with invalid version field
        0 messages with invalid message type field
        0 messages too short
        0 messages with memory allocation failure
        0 messages with duplicate extension
        0 messages with invalid extension type
        0 messages with invalid sa type
        0 messages with invalid address extension
        1075 requests sent from userland
        228568 bytes sent from userland
        histogram by message type:
                getspi: 65
                update: 58
                add: 58
                delete: 52
                acquire: 17
                register: 4
                expire: 82
                flush: 1
                dump: 729
                x_spdadd: 4
                x_spddump: 4
                x_spdflush: 1
        729 messages toward single socket
        6 messages toward all sockets
        99 messages toward registered sockets
        0 messages with memory allocation failure

Буду очень признателен если кто-нибудь толком расскажет как продиагностировать эту проблему ну и конечно решить.

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Проблема - линк между FreeBSD 4.7 - Mikrotik"  
Сообщение от kaa79 email(ok) on 15-Ноя-07, 16:55 
добавлю еще для полноты картины что роутер вроде как совсем не перегружен:
last pid:  1694;  load averages:  0.00,  0.00,  0.00               up 1+01:15:17  16:53:30
34 processes:  1 running, 33 sleeping
CPU states:  0.4% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.2% idle
Mem: 44M Active, 104M Inact, 30M Wired, 7560K Cache, 29M Buf, 620K Free
Swap: 1008M Total, 1008M Free

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "Проблема - линк между FreeBSD 4.7 - Mikrotik"  
Сообщение от blk (??) on 16-Ноя-07, 11:07 
>[оверквотинг удален]
>
>last pid:  1694;  load averages:  0.00,  0.00,  
>0.00          
>    up 1+01:15:17  16:53:30
>34 processes:  1 running, 33 sleeping
>CPU states:  0.4% user,  0.0% nice,  0.0% system,  
>0.4% interrupt, 99.2% idle
>Mem: 44M Active, 104M Inact, 30M Wired, 7560K Cache, 29M Buf, 620K
>Free
>Swap: 1008M Total, 1008M Free

1) Убей rl0(те выкинь сетевку поставь нормальную).
2) Поиграйся со скростями (те 10/100 Full/Half)

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "Проблема - линк между FreeBSD 4.7 - Mikrotik"  
Сообщение от kaa79 email(ok) on 16-Ноя-07, 11:24 
>1) Убей rl0(те выкинь сетевку поставь нормальную).

Какую карточку лучше поставить?
Комп старый но до этого проблем с ним не было.
>2) Поиграйся со скростями (те 10/100 Full/Half)

Скорости пробовал все, не помогает. Причем зависимости когда наступают провалы не вижу.
Может все таки это сама точка доступа грузится? Проверить её не могу т.к. пароли провайдера. Они когда ставили пингали с винды - проблем вроде не было.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру