Господа!
Тема не раз поднималась, но мне никак не удается выполнить настройку конфигурации, где курьер подключен к Serial0. Модемы связываются, устанавливают соединение, но при процессе авторизации (мне так кажется) соединение рвется.Дайте, плиз, пример реального конфига, или поправь те мой, пожалуйста !
!!
aaa authentication default ppp local
aaa authorization network default if-authenticated
!
username test password test!
!
interface Serial0
encapsulation ppp
async mode interactive
ppp authentication chap ms-chap pap callin
compress mppc
ip unnumbered FastEthernet0
peer default ip address pool modem-users
ip local pool modem-users 192.168.0.200 192.168.0.205
no ip route-cache
no ip mroute-cache
no shutdown
no cdp enable
!
!
!!
line 1
modem autoconfigure type usr_courier
modem dialin
autoselect ppp
autoselect during-login
!
!!
!
И еще... после загрузки, serial0 всегда становится shutdown.
И появляется какой то Virtual интерфейс... в состоянии UP.Почему так ?
конфиг полностью покажи..
>конфиг полностью покажи..
!
version 12.2
service config
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
enable secret 5 $1$2wAL$elz3Tslr0A8iEB.QiBTte.
enable password master
!
aaa authentication default ppp local
aaa authorization network default if-authenticated
!
username test password test
!
ip subnet-zero
no ip routing
!
!
mta receive maximum-recipients 0
!
!
!
interface Ethernet0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
half-duplex
no cdp enable
!
interface FastEthernet0
ip address 192.168.0.11 255.255.255.0
no ip route-cache
no ip mroute-cache
speed auto
full-duplex
no cdp enable
!
interface Serial0
description dialup pool on led.bizpak
encapsulation ppp
async mode interactive
ppp authentication chap ms-chap pap callin
compress mppc
ip unnumbered FastEthernet0
peer default ip address pool modem-users
ip local pool modem-users 192.168.0.200 192.168.0.205
no ip route-cache
no ip mroute-cache
no shutdown
no cdp enable
!
!
!
line 1
modem autoconfigure type usr_courier
modem dialin
autoselect ppp
autoselect during-login
!
line con 0
exec-timeout 0 0
password test
login
line aux 0
line vty 0 4
password test
login
!
end
>>конфиг полностью покажи..
>
>
>!
>version 12.2
>service config
>service timestamps debug uptime
>service timestamps log uptime
>no service password-encryption
>!
>hostname cisco
>!
>enable secret 5 $1$2wAL$elz3Tslr0A8iEB.QiBTte.
>enable password master
>!
>aaa authentication default ppp local
>aaa authorization network default if-authenticated
>!
>username test password test
>!
>ip subnet-zero
>no ip routing
>!
>!
>mta receive maximum-recipients 0
>!
>!
>!
>interface Ethernet0
> no ip address
> no ip route-cache
> no ip mroute-cache
> shutdown
> half-duplex
> no cdp enable
>!
>interface FastEthernet0
> ip address 192.168.0.11 255.255.255.0
> no ip route-cache
> no ip mroute-cache
> speed auto
> full-duplex
> no cdp enable
>!
>interface Serial0
> description dialup pool on led.bizpak
> encapsulation ppp
> async mode interactive
> ppp authentication chap ms-chap pap callin
> compress mppc
> ip unnumbered FastEthernet0
> peer default ip address pool modem-users
> ip local pool modem-users 192.168.0.200 192.168.0.205
> no ip route-cache
> no ip mroute-cache
> no shutdown
> no cdp enable
>!
>!
>!
>line 1
>modem autoconfigure type usr_courier
>modem dialin
>autoselect ppp
>autoselect during-login
>!
>line con 0
> exec-timeout 0 0
> password test
> login
>line aux 0
>line vty 0 4
> password test
> login
>!
>endline 1
modem InOut
>line 1
> modem InOutизменил... теперь в логах появилось
00:05:38: %LINK-3-UPDOWN: Interface Serial0, changed state to up
00:06:15: %LINK-3-UPDOWN: Interface Serial0, changed state to downчто дальше ? может с авторизацией что не так ?
Вот, что я получаю при загрузке :(((aaa authentication default ppp local
^
% Invalid input detected at '^' marker.aaa authorization network default if-authenticated
^
% Invalid input detected at '^' marker.
^
% Invalid input detected at '^' marker.async mode interactive
^
% Invalid input detected at '^' marker.
%Error: Line 1 is not in async mode
modem autoconfigure type usr_courier
^
% Invalid input detected at '^' marker.modem InOut
^
% Invalid input detected at '^' marker.autoselect ppp
^
% Invalid input detected at '^' marker.autoselect during-login
^
% Invalid input detected at '^' marker.
>Вот, что я получаю при загрузке :(((
>
>
>
>aaa authentication default ppp local
> ^
>% Invalid input detected at '^' marker.
>
>aaa authorization network default if-authenticated
> ^
>% Invalid input detected at '^' marker.
>
>
> ^
>% Invalid input detected at '^' marker.
>
> async mode interactive
> ^
>% Invalid input detected at '^' marker.
>%Error: Line 1 is not in async mode
>modem autoconfigure type usr_courier
> ^
>% Invalid input detected at '^' marker.
>
>modem InOut
> ^
>% Invalid input detected at '^' marker.
>
>autoselect ppp
> ^
>% Invalid input detected at '^' marker.
>
>autoselect during-login
> ^
>% Invalid input detected at '^' marker.
Проверь aaa new-model и на интерфейсе physical layer async
>>Вот, что я получаю при загрузке :(((
>>
>>
>>
>>aaa authentication default ppp local
>> ^
>>% Invalid input detected at '^' marker.
>>
>>aaa authorization network default if-authenticated
>> ^
>>% Invalid input detected at '^' marker.
>>
>>
>> ^
>>% Invalid input detected at '^' marker.
>>
>> async mode interactive
>> ^
>>% Invalid input detected at '^' marker.
>>%Error: Line 1 is not in async mode
>>modem autoconfigure type usr_courier
>> ^
>>% Invalid input detected at '^' marker.
>>
>>modem InOut
>> ^
>>% Invalid input detected at '^' marker.
>>
>>autoselect ppp
>> ^
>>% Invalid input detected at '^' marker.
>>
>>autoselect during-login
>> ^
>>% Invalid input detected at '^' marker.
>
>
>Проверь aaa new-model и на интерфейсе physical layer asyncКиса мне грит :
%Error: Line 1 is not in async mode
modem autoconfigure type usr_courierну и после этого куча ошибок конфигурации :((
>>>Вот, что я получаю при загрузке :(((
>>>
>>>
>>>
>>>aaa authentication default ppp local
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>>aaa authorization network default if-authenticated
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>>
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>> async mode interactive
>>> ^
>>>% Invalid input detected at '^' marker.
>>>%Error: Line 1 is not in async mode
>>>modem autoconfigure type usr_courier
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>>modem InOut
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>>autoselect ppp
>>> ^
>>>% Invalid input detected at '^' marker.
>>>
>>>autoselect during-login
>>> ^
>>>% Invalid input detected at '^' marker.
>>
>>
>>Проверь aaa new-model и на интерфейсе physical layer async
>
>Киса мне грит :
>
>%Error: Line 1 is not in async mode
>modem autoconfigure type usr_courier
>
>ну и после этого куча ошибок конфигурации :((так сделай -
conf t
int s0
physical-layer async
Получилось убрать ошибки конф. интерфейса..но счас:
aaa authentication default ppp local
^
% Invalid input detected at '^' marker.ppp authentication ms-chap chap pap callin
^
% Invalid input detected at '^' marker.
Что здесь не так ?
>Получилось убрать ошибки конф. интерфейса..
>
>но счас:
>
>aaa authentication default ppp local
>
> ^
>% Invalid input detected at '^' marker.
>
> ppp authentication ms-chap chap pap callin
> ^
>% Invalid input detected at '^' marker.
>
>
>Что здесь не так ?conf t
aaa new-model
сделал?
>conf t
>aaa new-model
>сделал?да. счас конфиг выглядит так:
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
logging queue-limit 100
enable secret 5 $1$2wAL$elz3Tslr0A8iEB.QiBTte.
enable password test
!
username test password 0 test
aaa new-model
aaa authentication ppp default local
aaa authorization network default if-authenticated
aaa session-id common
ip subnet-zero
no ip routing
!
!
interface Ethernet0
no ip address
no ip route-cache
no ip mroute-cache
shutdown
half-duplex
no cdp enable
!
interface FastEthernet0
ip address 192.168.0.11 255.255.255.0
no ip route-cache
no ip mroute-cache
speed auto
full-duplex
no cdp enable
!
interface Serial0
physical-layer async
ip unnumbered FastEthernet0
encapsulation ppp
async mode interactive
peer default ip address pool modem-users
no keepalive
ppp authentication ms-chap callin
!
ip local pool modem-users 192.168.0.200 192.168.13.205
ip classless
no ip http server
no ip http secure-server
!
!
!
no cdp run
!
radius-server authorization permit missing Service-Type
!
line con 0
exec-timeout 0 0
password test
speed 115200
line 1
no flush-at-activation
modem InOut
modem autoconfigure type usr_courier
autoselect during-login
autoselect ppp
speed 1200
flowcontrol hardware
line aux 0
line vty 0 4
password test
!
end
при такой конфе, киска не ругается, но
соединение не устанавливается, и в логах больше нет сообющений о попытках поднять Serial0.
>при такой конфе, киска не ругается, но
>соединение не устанавливается, и в логах больше нет сообющений о попытках поднять
>Serial0.
conf t
int s0
dialer in-bandlet's go!
>>при такой конфе, киска не ругается, но
>>соединение не устанавливается, и в логах больше нет сообющений о попытках поднять
>>Serial0.
>
>
>conf t
>int s0
>dialer in-band
>
>let's go!Поставил. Сейчас: Сериальный интерфейс поднят, соединение устанавливается... Винда начинает проверять имя и пароль, через некоторое время модем отключается и чуть позже винда грит, что удаленный хост не отвечает, время вышло... Может, что с авторизацией ? или ip не выдается ?
А я вощ должен ли что то видеть, если открываю окно терминала в коннекте клиента ? там пусто...
очень обидно, все коннектится, а авторизация не проходит... или ip не выдается...
>А я вощ должен ли что то видеть, если открываю окно терминала
>в коннекте клиента ? там пусто...
>очень обидно, все коннектится, а авторизация не проходит... или ip не выдается...
www.cisco.com - там всё есть....
скорость у вас на линии прыгает,
уберите автоконфигуре, поставтьте скорость 115200или хотя бы воспользуйтесь поиском по этому форуму...
>www.cisco.com - там всё есть....
>скорость у вас на линии прыгает,
>> внутренняя линия , через свою атс
>уберите автоконфигуре, поставтьте скорость 115200
>> убрал, поставил 19200>или хотя бы воспользуйтесь поиском по этому форуму...
>> да искал я... но ... а по какому ключу искать то ? в чем проблема я не знаю... винда грит модемы связываются , другая машина не отвечает...