Jump to content

Recommended Posts

Posted
5 часов назад, minaevsergei сказал:

Перепроверил конфиг, перепроверил кросс - вроде все Ок. А VWIC-1MFT-E1 горит в AL и все тут. Show isdn status показывает что Layer 1 не поднят.

Распиновка E1 заметно отличается от Ethernet. И кроссовый кабель тоже свой.

  • Replies 288
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

@sol я делал кросовый кабель по схеме https://www.voip-info.org/crossover-t1-cable/

По выводу вроде все ок:

Цитата

sh isdn status
Global ISDN Switchtype = primary-net5
ISDN Serial0/1/0:15 interface
        dsl 0, interface ISDN Switchtype = primary-net5
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x80007FFF
    Number of L2 Discards = 0, L2 Session ID = 4
ISDN Serial2/0:15 interface
        dsl 1, interface ISDN Switchtype = primary-net5
    Layer 1 Status:
        ACTIVE
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 1 CCBs = 0
    The Free Channel Mask:  0x80007FFF
    Number of L2 Discards = 0, L2 Session ID = 4
ISDN Serial2/1:15 interface
        ******* Network side configuration *******
        dsl 2, interface ISDN Switchtype = primary-net5
    Layer 1 Status:
        DEACTIVATED
    Layer 2 Status:
        TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
    Layer 3 Status:
        0 Active Layer 3 Call(s)
    Active dsl 2 CCBs = 0
    The Free Channel Mask:  0x00000000
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 0

 

Но, если соединить VWIC-1MFT-E1 с первым портом NM-2CE1T1-PRI, при звонке на 9 - выдает сразу занято. Если подключить второй порт NM-2CE1T1-PRI, то при звонке на 9 после паузы тоже выдает занято %)

Posted

Бааалин, несколько ошибок в конфигах и вот оно:

 

Цитата

atdt9
CONNECT 52000/ARQ/V90/LAPM/V42BIS

ati6
USRobotics Courier V.Everything Link Diagnostics...

Chars sent                    0      Chars Received               42
Chars lost                    0
Octets sent                   0      Octets Received              42
Blocks sent                   0      Blocks Received               1
Blocks resent                 0

Retrains Requested            0      Retrains Granted              0
Line Reversals                0      Blers                         3
Link Timeouts                 0      Link Naks                     0

Data Compression       V42BIS 2048/32
Equalization           Long
Fallback               Enabled
Protocol               LAPM 244/15
Speed                  52000/31200
Last Call              00:00:03

Disconnect Reason is Talk/Data Switch Depressed
 

 

Posted (edited)

@kiltum у меня такая сборка: CISCO 3825:[VIC3-4FXS/DID+PVDM2-32]->[VWIC-1MFT-E1]->[NM-2CE1T1-PRI]->[NM-30DM]

Самое сложное найти NM-xxDM, на Авито они редко появляются, цены космические. Можно пробовать искать по MICA, я так 30DM нашел, оказалось что это не только карточки MICA, но и сам модуль.

 

Конфиг

Скрытый текст

service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Dial-UP_S
!
boot-start-marker
boot-end-marker
!
!
card type e1 2
no logging console
!
no aaa new-model
!
no process cpu extended history
no process cpu autoprofile hog
clock timezone MOS 3 0
network-clock-participate slot 2
network-clock-participate wic 1
network-clock-select 5 E1 2/1
network-clock-select 8 E1 2/0
!
modem call-record terse
modem country mica e1-default
dot11 syslog
ip source-route
no ip routing
!
!
!
no ip cef
!
!
ip domain name dialup.net
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
async-bootp dns-server 8.8.8.8
isdn switch-type primary-net5
!
modemcap entry v12-v92:MSC=&W+qc=1,1;
voice-card 0
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
!
username dialup password 0 123456
!
redundancy
!
!
controller E1 0/1/0
 framing NO-CRC4
 pri-group timeslots 1-16
!
controller E1 2/0
 framing NO-CRC4
 pri-group timeslots 1-16
!
controller E1 2/1
 framing NO-CRC4
 pri-group timeslots 1-5,16
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 11.1.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
!
interface GigabitEthernet0/0
 ip address dhcp
 ip nat outside
 ip virtual-reassembly in
 no ip route-cache
 shutdown
 duplex auto
 speed auto
 media-type rj45
 no cdp enable
!
interface GigabitEthernet0/1
 no ip address
 no ip route-cache
 shutdown
 duplex auto
 speed auto
 media-type rj45
 no cdp enable
 no mop enabled
!
interface Serial0/1/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface Serial2/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice modem 64
 no cdp enable
!
interface Serial2/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice modem 64
 no cdp enable
!
interface Group-Async0
 ip unnumbered Loopback0
 ip nat inside
 ip virtual-reassembly in
 encapsulation ppp
 no ip route-cache
 load-interval 30
 dialer in-band
 dialer idle-timeout 300
 dialer-group 2
 peer default ip address pool dialin
 async mode interactive
 no keepalive
 ppp authentication chap
 group-range 1/0 1/4
 routing dynamic
!
ip local pool dialin 11.1.1.10 11.1.1.30
ip forward-protocol nd
!
!
ip http server
ip http authentication local
no ip http secure-server
ip nat inside source list 2 interface GigabitEthernet0/0 overload
ip route 11.1.1.0 255.255.255.0 GigabitEthernet0/0
ip route 0.0.0.0 0.0.0.0 dhcp
!
logging esm config
access-list 2 permit 11.1.1.0 0.0.0.255
dialer-list 2 protocol ip permit
no cdp run

!
!
!
!
!
!
control-plane
!
!
voice-port 0/0/0
 compand-type a-law
 cptone RU
!
voice-port 0/0/1
 compand-type a-law
 cptone RU
!
voice-port 0/0/2
 compand-type a-law
 cptone RU
!
voice-port 0/0/3
 compand-type a-law
 cptone RU
!
voice-port 0/1/0:15
!
!
!
mgcp profile default
!
!
dial-peer voice 401 pots
 destination-pattern 11
 port 0/0/0
!
dial-peer voice 402 pots
 destination-pattern 12
 port 0/0/1
!
dial-peer voice 403 pots
 destination-pattern 13
 port 0/0/2
!
dial-peer voice 404 pots
 destination-pattern 14
 port 0/0/3
!
dial-peer voice 901 pots
 destination-pattern 91T
 no digit-strip
 direct-inward-dial
 forward-digits all
!
dial-peer voice 902 pots
 destination-pattern 92T
 no digit-strip
 direct-inward-dial
 forward-digits all
!
dial-peer voice 903 pots
 destination-pattern 9T
 no digit-strip
 direct-inward-dial
 port 0/1/0:15
 forward-digits all
!
!
!
!
!
line con 0
 exec-timeout 0 0
line aux 0
line 1/0 1/11
 exec-timeout 0 0
 no flush-at-activation
 logging synchronous
 login local
 modem InOut
 modem autoconfigure type v12-v92
 rotary 1
 exec-character-bits 8
 special-character-bits 8
 transport preferred none
 transport input all
 transport output all
 autoselect during-login
 autoselect ppp
 no ip tcp input-coalesce-threshold
line 1/12 1/29
line vty 0 4
 exec-timeout 0 0
 login
 transport input all
!
scheduler allocate 20000 1000
end

 

При настройке главное смотреть на слот в котором вставлен NM-2CE1T1-PRI, от этого зависят настройки card type e1 и последующие ISDN. При загрузке, циска подсказывает в каком слоте карта. Проверить статус ISDN можно командой show isdn status. Должно выдавать что Layer 1 активен.

Я еще напутал с Group-Async0, ошибся в group-range 1/0 1/4 - пока не понимаю что означает настройка, у меня 30 модемов, а конфиг брал от сборки где 12 модемов.

Звонить надо atdt9 после паузы, модем ответит. Я так понимаю что нумерацию можно перенастроить и отвечать будет быстрее https://serialport.org/blog/cisco-isp-in-a-box-option-2-cisco-3825/

Звонки на модемы уходят в моем случае на порт port 0/1/0:15

 

 

Из того что планирую на будущее: закупить либо 2811, либо уже панас NCP500. Попробовать между двумя железками подключиться, возможно даже в SIP загнать. В теме видел что у кого-то получалось. В принципе, хоть и тяжело, можно TDMoE сделать, есть шлюзы, есть SFP. Но область ограничена, в ТФоП так не выйти.

 

@kiltum видео https://disk.yandex.ru/i/0o7iwDC1M_VJFA

 

UPD: у меня возможно маршрутизация не работает в конфиге.

Edited by minaevsergei
.
Posted

Где-то полчаса поскачивал файлы, получилась такая статистика:

 

Со стороны 3825 MICA

Скрытый текст

Mdm   Typ    Status     Tx/Rx     G  Duration  TX  RX  RTS  CTS  DSR  DCD  DTR
1/4   V90/92 Idle    52000/31200  0  00:31:52   -   -             x

Modem 1/4 [line 70], Async1/4, TTY70
MICA-6DM Firmware: CP ver 2940 - 7/24/2002, SP ver 2940 - 7/24/2002.
Modem config: Incoming and Outgoing
Protocol: Async, Compression: None

  Last clearing of "show modem" counters: never
    1 incoming completes, 0 incoming failures
    0 outgoing completes, 0 outgoing failures
    0 failed dial attempts, 0 ring no answers, 0 busied outs
    0 no dial tones, 0 dial timeouts, 0 watchdog timeouts
    0 no carriers, 0 link failures, 0 resets, 0 recover oob
    0 protocol timeouts, 0 protocol errors, 0 lost events
    0 TDM errors, 3 speed shifts (up/dn - 1/2), 0 retrains (hi/lo - 0/0)
    0 MOH

Modulation type       V90/92
# of connections           1

Protocol type          Async
# of connections           1

Transmit Speed Counters:

Connection Speeds      52000
# of connections           1

Receive Speed Counters:

Connection Speeds      31200
# of connections           1
 

 

Со сторону Курьера

Скрытый текст

USRobotics Courier V.Everything Link Diagnostics...

Chars sent               332493      Chars Received          8346967
Chars lost                    0
Octets sent                   0      Octets Received               0
Blocks sent                   0      Blocks Received               0
Blocks resent                 0

Retrains Requested            0      Retrains Granted              1
Line Reversals                0      Blers                         0
Link Timeouts                 0      Link Naks                     0

Data Compression       NONE
Equalization           Long
Fallback               Enabled
Protocol               NONE
Speed                  52000/31200
Last Call              00:31:34

Disconnect Reason is DTR dropped
 

 

Posted
1 минуту назад, minaevsergei сказал:

около 320мс

 

Странно. Это очень много. Вот свидетельства тех времен, смотрите на задержки на первом хопе. Да, и скорость там для Dial-Up даже не выше 33600. Сам я тоже хорошо помню о позволяющих комфортно сидеть через telnet 100-120 мс.

 

http://www.stuartcheshire.org/rants/LatencyResults.html

Posted

@Умник проверил пингами шлюз (3825) - в среднем 130мс. Яндекс около 230.

 

Обновил курьер:

USRobotics Courier V.Everything Configuration Profile...

Product type           Russia External
Product ID             00345300
Options                HST,V32bis,Terbo,VFC,V34+,V90,V92
Fax Options            Class 1,Class 2.0
Clock Freq             25 Mhz
Flash ROM              1024k
Ram                    256k

Supervisor date        01/10/03
DSP date               01/10/03

Supervisor rev         2.1.1
DSP rev                2.1.1
DAA rev                0013
 

 

По статистике получается:

USRobotics Courier V.Everything Link Diagnostics...

Chars sent                    3      Chars Received               45
Chars lost                    0
Octets sent                   0      Octets Received               0
Blocks sent                   0      Blocks Received               0
Blocks resent                 0

Retrains Requested            0      Retrains Granted              0
Line Reversals                0      Blers                         0
Link Timeouts                 0      Link Naks                     0

Data Compression       NONE
Equalization           Long
Fallback               Enabled
Protocol               NONE
Speed                  50666/28800
Last Call              00:00:26
 

Но не пишет какой протокол. На слух, т.к. быстрое подключение - V.92

По обратке, получается что V.90 прошивка лучше.

Posted
52 минуты назад, minaevsergei сказал:

шлюз (3825) - в среднем 130мс. Яндекс около 230.

 

Если до первого хопа 130 мс - это нормально. Не понятно, почему до Яндекса сразу +100 мс. Это шлюз при форвардинге такие задержки вносит или вы просто далеко? Если пинговать тот же адрес Яндекса через современное проводное подключение или с самого шлюза, то сколько получается?

Posted

На диалапе пинг до DNS-сервера провайдера был меньше 100 мс. Точные цифры уже не помню, что смутно вспоминается что-то вроде 80 мс.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...