2 подключения на mpd

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Incogn1to
проходил мимо
Сообщения: 3
Зарегистрирован: 2007-08-18 17:29:29

2 подключения на mpd

Непрочитанное сообщение Incogn1to » 2007-08-18 18:09:48

Провайдер изменил условия подключения и вместо Static теперь 4 подключения PPPoE (4 разных логина/пассворда). Т.к. локальная сеть питается инетом через меня, то надо держать все 4.
Уверен, что можно подключать несколько одновременно, т.к. под виндой поднимал все 4 одновременно.
Так выглядит таблица маршрутов под виндой

Код: Выделить всё

c:\>netstat -rn

Таблица маршрутов
===========================================================================
Список интерфейсов
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 95 5c 7b be ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - D
eskSoft Miniport
0x10004 ...00 15 83 b3 d2 aa ...... Bluetooth Device (Personal Area Network)
0xf0005 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
0x100006 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
0x110007 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
0x120008 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Активные маршруты:
Сетевой адрес           Маска сети      Адрес шлюза       Интерфейс  Метрика
          0.0.0.0          0.0.0.0   87.103.196.217  87.103.196.217       1
          0.0.0.0          0.0.0.0      192.168.0.1     192.168.0.2       24
       62.33.48.0    255.255.254.0   87.103.194.142  87.103.194.142       1
     87.103.192.1  255.255.255.255   87.103.196.223  87.103.196.223       1
     87.103.192.1  255.255.255.255   87.103.196.235  87.103.196.235       1
.................................вырезал.....................................
   87.103.194.142  255.255.255.255        127.0.0.1       127.0.0.1       50
   87.103.196.217  255.255.255.255        127.0.0.1       127.0.0.1       50
   87.103.196.223  255.255.255.255        127.0.0.1       127.0.0.1       50
   87.103.196.235  255.255.255.255        127.0.0.1       127.0.0.1       50
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.0.0    255.255.255.0      192.168.0.2     192.168.0.2       20
      192.168.0.2  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.0.255  255.255.255.255      192.168.0.2     192.168.0.2       20
        224.0.0.0        240.0.0.0      192.168.0.2     192.168.0.2       20
        224.0.0.0        240.0.0.0   87.103.194.142  87.103.194.142       3
        224.0.0.0        240.0.0.0   87.103.196.217  87.103.196.217       4
        224.0.0.0        240.0.0.0   87.103.196.223  87.103.196.223       2
        224.0.0.0        240.0.0.0   87.103.196.235  87.103.196.235       1
  255.255.255.255  255.255.255.255   87.103.194.142  87.103.194.142       1
  255.255.255.255  255.255.255.255   87.103.196.217  87.103.196.217       1
  255.255.255.255  255.255.255.255   87.103.196.223           10004       1
  255.255.255.255  255.255.255.255   87.103.196.223  87.103.196.223       1
  255.255.255.255  255.255.255.255   87.103.196.235  87.103.196.235       1
  255.255.255.255  255.255.255.255      192.168.0.2     192.168.0.2       1
Основной шлюз:      87.103.196.217
===========================================================================
Постоянные маршруты:
  Отсутствует
Теперь нужно поднять это же на фрихе
По одному поднимаю без проблем.
В процессе экспериментов поднять 2 соединения не получилось (там где 2 там будет и 4 :D )

Код: Выделить всё

#uname -a
FreeBSD cactus.sunglade 6.2-RELEASE FreeBSD 6.2-RELEASE #0: ...

Код: Выделить всё

#mpd4 -v
Version 4.2.2 (root@cactus.sunglade 14:34 14-Aug-2007)
-=mpd.conf=-

Код: Выделить всё

default:
    load zone1
    load zone2
zone1:
    new -i ng0 CTK1 zone1
    set auth authname xxxxx@city
    load PPPoE_standart
zone2:
    new -i ng1 CTK2 zone2
    set auth authname xxxxx@data
    load PPPoE_standart
PPPoE_standart:
#    set iface route default
    set iface disable on-demand
    set iface idle 0
    set ipcp yes vjcomp
    set ipcp ranges 0.0.0.0/0 0.0.0.0/0
    set bundle disable multilink
    set auth password <пароль>
    set link yes acfcomp protocomp
    set link disable pap chap
    set link accept chap
    set link keep-alive 10 60
    open
-=mpd.links=-

Код: Выделить всё

zone1:
    set phys type pppoe
    set pppoe iface dc0
    set pppoe service "whatever"
    set pppoe disable incoming
    set pppoe enable originate
zone2:
    set phys type pppoe
    set pppoe iface dc0
    set pppoe service "whatever"
    set pppoe disable incoming
    set pppoe enable originate

После запуска создается ng0 и ng1

Код: Выделить всё

#ifconfig
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:11:95:cb:e5:b8
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        ether 00:02:44:bf:c2:2b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1492
        inet 87.103.195.43 --> 87.103.192.1 netmask 0xffffffff
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 1492
#
только у ng1 IP отсутствует.

судя по вебморде mpd - все хорошо (ng0 и ng1 неотличаются и во вкладках тоже)

Код: Выделить всё

Iface    IPCP  IPV6CP  CCP     ECP     Bund Link  LCP    User  Device  Peer   
ng0 Up  Opened Initial Initial Initial CTK1 zone1 Opened      pppoe UP 000000000000  => 000000000000 [Open][Close] 
ng1 Up  Opened Initial Initial Initial CTK2 zone2 Opened      pppoe UP 000000000000  => 000000000000 [Open][Close] 
вот что в логах нагажено

Код: Выделить всё

Aug 16 15:10:14 cactus mpd: process 5697 started, version 4.2.2 (root@cactus.sunglade 14:34 14-Aug-2007)
Aug 16 15:10:14 cactus mpd: CONSOLE: listening on 0.0.0.0 5005
Aug 16 15:10:14 cactus mpd: web: listening on 0.0.0.0 5006
Aug 16 15:10:14 cactus mpd: [CTK1] using interface ng0
Aug 16 15:10:14 cactus mpd: [CTK2] using interface ng1
Aug 16 15:10:14 cactus mpd: [zone1] link: OPEN event
Aug 16 15:10:14 cactus mpd: [zone1] LCP: Open event
Aug 16 15:10:14 cactus mpd: [zone1] LCP: state change Initial --> Starting
Aug 16 15:10:14 cactus mpd: [zone1] LCP: LayerStart
Aug 16 15:10:14 cactus mpd: [zone2] link: OPEN event
Aug 16 15:10:14 cactus mpd: [zone2] LCP: Open event
Aug 16 15:10:14 cactus mpd: [zone2] LCP: state change Initial --> Starting
Aug 16 15:10:14 cactus mpd: [zone2] LCP: LayerStart
Aug 16 15:10:14 cactus mpd: [zone1] PPPoE: Connecting to 'whatever'
Aug 16 15:10:14 cactus mpd: [zone2] PPPoE: Connecting to 'whatever'
Aug 16 15:10:14 cactus mpd: PPPoE: rec'd ACNAME "BAR-BBAR1"
Aug 16 15:10:14 cactus mpd: [zone1] PPPoE: connection successful
Aug 16 15:10:14 cactus mpd: [zone1] link: UP event
Aug 16 15:10:14 cactus mpd: [zone1] link: origination is local
Aug 16 15:10:14 cactus mpd: [zone1] LCP: Up event
Aug 16 15:10:14 cactus mpd: [zone1] LCP: state change Starting --> Req-Sent
Aug 16 15:10:14 cactus mpd: [zone1] LCP: SendConfigReq #1
Aug 16 15:10:14 cactus mpd:  PROTOCOMP
Aug 16 15:10:14 cactus mpd:  MRU 1492
Aug 16 15:10:14 cactus mpd:  MAGICNUM a435e6c0
Aug 16 15:10:14 cactus mpd: [zone1] LCP: rec'd Configure Request #239 (Req-Sent)
Aug 16 15:10:14 cactus mpd:  MRU 1492
Aug 16 15:10:14 cactus mpd:  AUTHPROTO PAP
Aug 16 15:10:14 cactus mpd:  MAGICNUM 12338c84
Aug 16 15:10:14 cactus mpd: [zone1] LCP: SendConfigAck #239
Aug 16 15:10:14 cactus mpd:  MRU 1492
Aug 16 15:10:14 cactus mpd:  AUTHPROTO PAP
Aug 16 15:10:14 cactus mpd:  MAGICNUM 12338c84
Aug 16 15:10:14 cactus mpd: [zone1] LCP: state change Req-Sent --> Ack-Sent
Aug 16 15:10:14 cactus mpd: [zone1] LCP: rec'd Configure Ack #1 (Ack-Sent)
Aug 16 15:10:14 cactus mpd:  PROTOCOMP
Aug 16 15:10:14 cactus mpd:  MRU 1492
Aug 16 15:10:14 cactus mpd:  MAGICNUM a435e6c0
Aug 16 15:10:14 cactus mpd: [zone1] LCP: state change Ack-Sent --> Opened
Aug 16 15:10:14 cactus mpd: [zone1] LCP: auth: peer wants PAP, I want nothing
Aug 16 15:10:14 cactus mpd: [zone1] PAP: using authname "xxxxx@city"
Aug 16 15:10:14 cactus mpd: [zone1] PAP: sending REQUEST len:20
Aug 16 15:10:14 cactus mpd: [zone1] LCP: LayerUp
Aug 16 15:10:15 cactus mpd: [zone1] PAP: rec'd ACK #1
Aug 16 15:10:15 cactus mpd: [zone1] LCP: authorization successful
Aug 16 15:10:15 cactus mpd: [CTK1] Bundle up: 1 link, total bandwidth 64000 bps
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: Open event
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: state change Initial --> Starting
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: LayerStart
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: Up event
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: state change Starting --> Req-Sent
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: SendConfigReq #1
Aug 16 15:10:15 cactus mpd:  IPADDR 0.0.0.0
Aug 16 15:10:15 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Aug 16 15:10:15 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: SendConfigReq #2
Aug 16 15:10:15 cactus mpd:  IPADDR 0.0.0.0
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: rec'd Configure Nak #2 (Req-Sent)
Aug 16 15:10:15 cactus mpd:  IPADDR 87.103.195.43
Aug 16 15:10:15 cactus mpd:    87.103.195.43 is OK
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: SendConfigReq #3
Aug 16 15:10:15 cactus mpd:  IPADDR 87.103.195.43
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: rec'd Configure Ack #3 (Req-Sent)
Aug 16 15:10:15 cactus mpd:  IPADDR 87.103.195.43
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: state change Req-Sent --> Ack-Rcvd
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: rec'd Configure Request #65 (Ack-Rcvd)
Aug 16 15:10:15 cactus mpd:  IPADDR 87.103.192.1
Aug 16 15:10:15 cactus mpd:    87.103.192.1 is OK
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: SendConfigAck #65
Aug 16 15:10:15 cactus mpd:  IPADDR 87.103.192.1
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: state change Ack-Rcvd --> Opened
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: LayerUp
Aug 16 15:10:15 cactus mpd:   87.103.195.43 -> 87.103.192.1
Aug 16 15:10:15 cactus mpd: [CTK1] IFACE: Up event
Aug 16 15:10:16 cactus mpd: PPPoE: rec'd ACNAME "BAR-BBAR1"
Aug 16 15:10:16 cactus mpd: [zone2] PPPoE: connection successful
Aug 16 15:10:16 cactus mpd: [zone2] link: UP event
Aug 16 15:10:16 cactus mpd: [zone2] link: origination is local
Aug 16 15:10:16 cactus mpd: [zone2] LCP: Up event
Aug 16 15:10:16 cactus mpd: [zone2] LCP: state change Starting --> Req-Sent
Aug 16 15:10:16 cactus mpd: [zone2] LCP: SendConfigReq #1
Aug 16 15:10:16 cactus mpd:  PROTOCOMP
Aug 16 15:10:16 cactus mpd:  MRU 1492
Aug 16 15:10:16 cactus mpd:  MAGICNUM 83662e8d
Aug 16 15:10:16 cactus mpd: [zone2] LCP: rec'd Configure Request #85 (Req-Sent)
Aug 16 15:10:16 cactus mpd:  MRU 1492
Aug 16 15:10:16 cactus mpd:  AUTHPROTO PAP
Aug 16 15:10:16 cactus mpd:  MAGICNUM 6088b0b3
Aug 16 15:10:16 cactus mpd: [zone2] LCP: SendConfigAck #85
Aug 16 15:10:16 cactus mpd:  MRU 1492
Aug 16 15:10:16 cactus mpd:  AUTHPROTO PAP
Aug 16 15:10:16 cactus mpd:  MAGICNUM 6088b0b3
Aug 16 15:10:16 cactus mpd: [zone2] LCP: state change Req-Sent --> Ack-Sent
Aug 16 15:10:16 cactus mpd: [zone2] LCP: rec'd Configure Ack #1 (Ack-Sent)
Aug 16 15:10:16 cactus mpd:  PROTOCOMP
Aug 16 15:10:16 cactus mpd:  MRU 1492
Aug 16 15:10:16 cactus mpd:  MAGICNUM 83662e8d
Aug 16 15:10:16 cactus mpd: [zone2] LCP: state change Ack-Sent --> Opened
Aug 16 15:10:16 cactus mpd: [zone2] LCP: auth: peer wants PAP, I want nothing
Aug 16 15:10:16 cactus mpd: [zone2] PAP: using authname "xxxxx@data"
Aug 16 15:10:16 cactus mpd: [zone2] PAP: sending REQUEST len:20
Aug 16 15:10:16 cactus mpd: [zone2] LCP: LayerUp
Aug 16 15:10:17 cactus mpd: [zone2] PAP: rec'd ACK #1
Aug 16 15:10:17 cactus mpd: [zone2] LCP: authorization successful
Aug 16 15:10:17 cactus mpd: [CTK2] Bundle up: 1 link, total bandwidth 64000 bps
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: Open event
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: state change Initial --> Starting
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: LayerStart
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: Up event
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: state change Starting --> Req-Sent
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: SendConfigReq #1
Aug 16 15:10:17 cactus mpd:  IPADDR 0.0.0.0
Aug 16 15:10:17 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: rec'd Configure Reject #1 (Req-Sent)
Aug 16 15:10:17 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: SendConfigReq #2
Aug 16 15:10:17 cactus mpd:  IPADDR 0.0.0.0
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: rec'd Configure Nak #2 (Req-Sent)
Aug 16 15:10:17 cactus mpd:  IPADDR 87.103.195.54
Aug 16 15:10:17 cactus mpd:    87.103.195.54 is OK
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: SendConfigReq #3
Aug 16 15:10:17 cactus mpd:  IPADDR 87.103.195.54
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: rec'd Configure Ack #3 (Req-Sent)
Aug 16 15:10:17 cactus mpd:  IPADDR 87.103.195.54
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: state change Req-Sent --> Ack-Rcvd
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: rec'd Configure Request #201 (Ack-Rcvd)
Aug 16 15:10:17 cactus mpd:  IPADDR 87.103.192.1
Aug 16 15:10:17 cactus mpd:    87.103.192.1 is OK
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: SendConfigAck #201
Aug 16 15:10:17 cactus mpd:  IPADDR 87.103.192.1
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: state change Ack-Rcvd --> Opened
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: LayerUp
Aug 16 15:10:17 cactus mpd:   87.103.195.54 -> 87.103.192.1
Aug 16 15:10:17 cactus mpd: [CTK2] IFACE: Adding IPv4 address to ng1 failed: File exists
Aug 16 15:10:17 cactus mpd: [CTK2] IFACE: Up event
Курить маны уже не помогает. Есть подозрения, что mpd ругается на то, что точка подключения одна и та же

Код: Выделить всё

...
Aug 16 15:10:15 cactus mpd: [CTK1] IPCP: LayerUp
Aug 16 15:10:15 cactus mpd:   87.103.195.43 -> 87.103.192.1
...
Aug 16 15:10:17 cactus mpd: [CTK2] IPCP: LayerUp
Aug 16 15:10:17 cactus mpd:   87.103.195.54 -> 87.103.192.1
...
После чего решил попробовать мультилинк
-=mpd.conf=-

Код: Выделить всё

mPPPoE:
        new -i ng0 CTK zone1 zone2
#       set iface route default
        set iface disable on-demand
        set iface idle 0
        set ipcp yes vjcomp
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0
        set bundle enable multilink
        link zone1
        set auth authname xxxxxx@city
        set auth password пассворд
        set link no acfcomp protocomp
        set link disable pap chap
        set link accept chap
        set link keep-alive 10 60
        open
        link zone2
        set auth authname xxxxxx@data
        set auth password пассворд
        set link no acfcomp protocomp
        set link disable pap chap
        set link accept chap
        set link keep-alive 10 60
        open
-=mpd.links=-

Код: Выделить всё

mPPPoE:
    set phys type pppoe
    set pppoe iface dc0
    set pppoe service "whatever"
    set pppoe disable incoming
    set pppoe enable originate
Логи

Код: Выделить всё

Aug 18 10:41:10 cactus mpd: process 47114 started, version 4.2.2 (root@cactus.sunglade 14:34 14-Aug-2007)
Aug 18 10:41:10 cactus mpd: CONSOLE: listening on 0.0.0.0 5005
Aug 18 10:41:10 cactus mpd: web: listening on 0.0.0.0 5006
Aug 18 10:41:10 cactus mpd: [CTK] using interface ng0
Aug 18 10:41:10 cactus mpd: [zone1] link: OPEN event
Aug 18 10:41:10 cactus mpd: [zone1] LCP: Open event
Aug 18 10:41:10 cactus mpd: [zone1] LCP: state change Initial --> Starting
Aug 18 10:41:10 cactus mpd: [zone1] LCP: LayerStart
Aug 18 10:41:10 cactus mpd: [zone2] link: OPEN event
Aug 18 10:41:10 cactus mpd: [zone2] LCP: Open event
Aug 18 10:41:10 cactus mpd: [zone2] LCP: state change Initial --> Starting
Aug 18 10:41:10 cactus mpd: [zone2] LCP: LayerStart
Aug 18 10:41:10 cactus mpd: [zone2] link: OPEN event
Aug 18 10:41:10 cactus mpd: [zone2] LCP: Open event
Aug 18 10:41:10 cactus mpd: [zone2] link: OPEN event
Aug 18 10:41:10 cactus mpd: [zone2] LCP: Open event
Aug 18 10:41:10 cactus mpd: [zone1] PPPoE: Connecting to 'whatever'
Aug 18 10:41:10 cactus mpd: [zone2] PPPoE: Connecting to 'whatever'
Aug 18 10:41:10 cactus mpd: PPPoE: rec'd ACNAME "BAR-BBAR1"
Aug 18 10:41:10 cactus mpd: [zone1] PPPoE: connection successful
Aug 18 10:41:10 cactus mpd: [zone1] link: UP event
Aug 18 10:41:10 cactus mpd: [zone1] link: origination is local
Aug 18 10:41:10 cactus mpd: [zone1] LCP: Up event
Aug 18 10:41:10 cactus mpd: [zone1] LCP: state change Starting --> Req-Sent
Aug 18 10:41:10 cactus mpd: [zone1] LCP: SendConfigReq #1
Aug 18 10:41:10 cactus mpd:  MRU 1492
Aug 18 10:41:10 cactus mpd:  MAGICNUM 728247e2
Aug 18 10:41:10 cactus mpd:  MP MRRU 1600
Aug 18 10:41:10 cactus mpd:  MP SHORTSEQ
Aug 18 10:41:10 cactus mpd:  ENDPOINTDISC [802.1] 00 11 95 cb e5 b8
Aug 18 10:41:10 cactus mpd: [zone1] LCP: rec'd Configure Request #116 (Req-Sent)
Aug 18 10:41:10 cactus mpd:  MRU 1492
Aug 18 10:41:10 cactus mpd:  AUTHPROTO PAP
Aug 18 10:41:10 cactus mpd:  MAGICNUM 2f546307
Aug 18 10:41:10 cactus mpd: [zone1] LCP: SendConfigAck #116
Aug 18 10:41:10 cactus mpd:  MRU 1492
Aug 18 10:41:10 cactus mpd:  AUTHPROTO PAP
Aug 18 10:41:10 cactus mpd:  MAGICNUM 2f546307
Aug 18 10:41:10 cactus mpd: [zone1] LCP: state change Req-Sent --> Ack-Sent
Aug 18 10:41:10 cactus mpd: [zone1] LCP: rec'd Configure Reject #1 (Ack-Sent)
Aug 18 10:41:10 cactus mpd:  MP MRRU 1600
Aug 18 10:41:10 cactus mpd:  MP SHORTSEQ
Aug 18 10:41:10 cactus mpd:  ENDPOINTDISC [802.1] 00 11 95 cb e5 b8
Aug 18 10:41:10 cactus mpd: [zone1] LCP: SendConfigReq #2
Aug 18 10:41:10 cactus mpd:  MRU 1492
Aug 18 10:41:10 cactus mpd:  MAGICNUM 728247e2
Aug 18 10:41:10 cactus mpd: [zone1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Aug 18 10:41:10 cactus mpd:  MRU 1492
Aug 18 10:41:10 cactus mpd:  MAGICNUM 728247e2
Aug 18 10:41:10 cactus mpd: [zone1] LCP: state change Ack-Sent --> Opened
Aug 18 10:41:10 cactus mpd: [zone1] LCP: auth: peer wants PAP, I want nothing
Aug 18 10:41:10 cactus mpd: [zone1] PAP: using authname "xxxxxx@city"
Aug 18 10:41:10 cactus mpd: [zone1] PAP: sending REQUEST len:20
Aug 18 10:41:10 cactus mpd: [zone1] LCP: LayerUp
Aug 18 10:41:10 cactus mpd: [zone1] PAP: rec'd ACK #1
Aug 18 10:41:10 cactus mpd: [zone1] LCP: authorization successful
Aug 18 10:41:10 cactus mpd: [CTK] Bundle up: 1 link, total bandwidth 64000 bps
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: Open event
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: state change Initial --> Starting
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: LayerStart
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: Up event
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: state change Starting --> Req-Sent
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: SendConfigReq #1
Aug 18 10:41:10 cactus mpd:  IPADDR 0.0.0.0
Aug 18 10:41:10 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: rec'd Configure Reject #1 (Req-Sent)
Aug 18 10:41:10 cactus mpd:  COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: SendConfigReq #2
Aug 18 10:41:10 cactus mpd:  IPADDR 0.0.0.0
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: rec'd Configure Nak #2 (Req-Sent)
Aug 18 10:41:10 cactus mpd:  IPADDR 87.103.192.204
Aug 18 10:41:10 cactus mpd:    87.103.192.204 is OK
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: SendConfigReq #3
Aug 18 10:41:10 cactus mpd:  IPADDR 87.103.192.204
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: rec'd Configure Ack #3 (Req-Sent)
Aug 18 10:41:10 cactus mpd:  IPADDR 87.103.192.204
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: state change Req-Sent --> Ack-Rcvd
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: rec'd Configure Request #66 (Ack-Rcvd)
Aug 18 10:41:10 cactus mpd:  IPADDR 87.103.192.1
Aug 18 10:41:10 cactus mpd:    87.103.192.1 is OK
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: SendConfigAck #66
Aug 18 10:41:10 cactus mpd:  IPADDR 87.103.192.1
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: state change Ack-Rcvd --> Opened
Aug 18 10:41:10 cactus mpd: [CTK] IPCP: LayerUp
Aug 18 10:41:10 cactus mpd:   87.103.192.204 -> 87.103.192.1
Aug 18 10:41:10 cactus mpd: [CTK] IFACE: Up event
Aug 18 10:41:12 cactus mpd: PPPoE: rec'd ACNAME "BAR-BBAR1"
Aug 18 10:41:12 cactus mpd: [zone2] PPPoE: connection successful
Aug 18 10:41:12 cactus mpd: [zone2] link: UP event
Aug 18 10:41:12 cactus mpd: [zone2] link: origination is local
Aug 18 10:41:12 cactus mpd: [zone2] LCP: Up event
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Starting --> Req-Sent
Aug 18 10:41:12 cactus mpd: [zone2] LCP: SendConfigReq #1
Aug 18 10:41:12 cactus mpd:  MRU 1492
Aug 18 10:41:12 cactus mpd:  MAGICNUM a4468d20
Aug 18 10:41:12 cactus mpd:  MP MRRU 0
Aug 18 10:41:12 cactus mpd:  ENDPOINTDISC [802.1] 00 11 95 cb e5 b8
Aug 18 10:41:12 cactus mpd: [zone2] LCP: rec'd Configure Request #149 (Req-Sent)
Aug 18 10:41:12 cactus mpd:  MRU 1492
Aug 18 10:41:12 cactus mpd:  AUTHPROTO PAP
Aug 18 10:41:12 cactus mpd:  MAGICNUM 45d5b0cd
Aug 18 10:41:12 cactus mpd: [zone2] LCP: SendConfigAck #149
Aug 18 10:41:12 cactus mpd:  MRU 1492
Aug 18 10:41:12 cactus mpd:  AUTHPROTO PAP
Aug 18 10:41:12 cactus mpd:  MAGICNUM 45d5b0cd
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Req-Sent --> Ack-Sent
Aug 18 10:41:12 cactus mpd: [zone2] LCP: rec'd Configure Reject #1 (Ack-Sent)
Aug 18 10:41:12 cactus mpd:  MP MRRU 0
Aug 18 10:41:12 cactus mpd:  ENDPOINTDISC [802.1] 00 11 95 cb e5 b8
Aug 18 10:41:12 cactus mpd: [zone2] LCP: SendConfigReq #2
Aug 18 10:41:12 cactus mpd:  MRU 1492
Aug 18 10:41:12 cactus mpd:  MAGICNUM a4468d20
Aug 18 10:41:12 cactus mpd: [zone2] LCP: rec'd Configure Ack #2 (Ack-Sent)
Aug 18 10:41:12 cactus mpd:  MRU 1492
Aug 18 10:41:12 cactus mpd:  MAGICNUM a4468d20
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Ack-Sent --> Opened
Aug 18 10:41:12 cactus mpd: [zone2] LCP: auth: peer wants PAP, I want nothing
Aug 18 10:41:12 cactus mpd: [zone2] PAP: using authname "xxxxxx@data"
Aug 18 10:41:12 cactus mpd: [zone2] PAP: sending REQUEST len:19
Aug 18 10:41:12 cactus mpd: [zone2] LCP: LayerUp
Aug 18 10:41:12 cactus mpd: [zone2] PAP: rec'd ACK #1
Aug 18 10:41:12 cactus mpd: [zone2] LCP: authorization successful
Aug 18 10:41:12 cactus mpd: [zone2] multi-link is not active on this bundle
Aug 18 10:41:12 cactus mpd: [zone2] link did not validate in bundle "CTK"
Aug 18 10:41:12 cactus mpd: [zone2] link: CLOSE event
Aug 18 10:41:12 cactus mpd: [zone2] LCP: Close event
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Opened --> Closing
Aug 18 10:41:12 cactus mpd: [zone2] AUTH: Cleanup
Aug 18 10:41:12 cactus mpd: [zone2] LCP: SendTerminateReq #3
Aug 18 10:41:12 cactus mpd: [zone2] LCP: LayerDown
Aug 18 10:41:12 cactus mpd: [zone2] LCP: rec'd Terminate Ack #3 (Closing)
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Closing --> Closed
Aug 18 10:41:12 cactus mpd: [zone2] LCP: LayerFinish
Aug 18 10:41:12 cactus mpd: [zone2] link: DOWN event
Aug 18 10:41:12 cactus mpd: [zone2] LCP: Down event
Aug 18 10:41:12 cactus mpd: [zone2] LCP: state change Closed --> Initial
И опять получили болт. Возможно кто-то сможет сказать где я делаю не так?

Пользователи уже мозк склевали - инет, оказывается, хороший наркотик ;)

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2460 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

lutik
мл. сержант
Сообщения: 75
Зарегистрирован: 2007-04-24 13:56:23
Откуда: Odessa

Re: 2 подключения на mpd

Непрочитанное сообщение lutik » 2007-08-19 0:26:05

курить в сторону мультилинка однозначно..
тока у прова вашего должен тоже мультилинк быть настроен.
щас нет под рукой рабочей системы с мультилинком, но конфиг ваш на первый взгляд нормален, да и лог соединения ОК. отказ на зацеп второго линка - у прова нет для вас мульти а есть тока 4-ре отдельных.

чесно говоря не понимаю накуя вам четыре линка в одном ethernet шнурке. Это-ж вам не TDM транспорт где может в одном шнурке часть каналов терятся а часть нет.
Вы что собираетесь DiffServ пользователям предоставлять??? Это единственное применение мультилинка в PPPoE.
Однако...

Incogn1to
проходил мимо
Сообщения: 3
Зарегистрирован: 2007-08-18 17:29:29

Re: 2 подключения на mpd

Непрочитанное сообщение Incogn1to » 2007-08-19 7:37:43

4 линка нужны, чтобы предоставлять инет в лок сеть.
по каждому линку - своя стоимость траффика ("городской" инет 2 коп, "краевой" 10 коп, глоб 1-2 рубля и т.д.)

Incogn1to
проходил мимо
Сообщения: 3
Зарегистрирован: 2007-08-18 17:29:29

Re: 2 подключения на mpd

Непрочитанное сообщение Incogn1to » 2007-08-19 21:20:49

Судя по тому, как цепляется все под виндой - действительно 4 отдельных.
А судя по тому, что точка подключения у линков одна - логично предположить мультилинк.
Вот и гадай.