:oops: Em đã nhận được nhiều hướng dẫn nhưng vẫn chưa thành công.Đây là cấu hình hiện tại trên 2511 của e.Mong các sư huynh dành chút thời gian xem và chỉ dùm e.
Hiện tại em dựng lên như sau:Dùng octal cable nối vào async(9-16).
Trong đó e chọn dây có đánh số 2 để gắn vào modem.
Như vậy line e đang dùng là line 10 phải k?
DB25 khi connect với modem phải có đủ pin k?Hiện e đang có 2 DB25(male)nhưng chỉ có 5 pin.Có use chúng được k?
Modem đang dùng là Robotics.
Đây là cấu hình hiện tại của e.
sh runBuilding configuration...
Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RAS
!
enable password cisco
!
username test password 0 123
ip host modem 2010 192.168.1.101
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT\T" TIMEOUT 30 \c CONNECT \c
!
!
interface Loopback0
ip address 192.168.10.2 255.255.255.0
!
interface Ethernet0
ip address 192.168.1.101 255.255.255.0
!
--More-- interface Serial0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface Async1
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
no ip route-cache
ip tcp header-compression
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap pap
!
--More-- interface Async2
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
!
interface Async3
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
--More-- !
interface Async4
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
!
interface Async10
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
no ip route-cache
ip tcp header-compression
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
--More-- no cdp enable
ppp authentication chap pap
!
interface Group-Async1
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
group-range 5 8
!
ip local pool test-pool 192.168.1.200 192.168.1.220
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
line con 0
exec-timeout 0 0
--More-- line 1
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
transport input all
speed 115200
flowcontrol hardware
line 2 9
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line 10
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
--More-- transport input all
speed 115200
flowcontrol hardware
line 11 16
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
end
RAS#sh d line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
* 0 CTY - - - - - 0 0 0/0
1 TTY 115200/115200 - inout - - - 0 0 0/0
2 TTY 115200/115200 - inout - - - 0 0 0/0
3 TTY 115200/115200 - inout - - - 0 0 0/0
4 TTY 115200/115200 - inout - - - 0 0 0/0
5 TTY 115200/115200 - inout - - - 0 0 0/0
6 TTY 115200/115200 - inout - - - 0 0 0/0
7 TTY 115200/115200 - inout - - - 0 0 0/0
8 TTY 115200/115200 - inout - - - 0 0 0/0
9 TTY 115200/115200 - inout - - - 0 0 0/0
10 TTY 115200/115200 - inout - - - 0 0 0/0
11 TTY 115200/115200 - inout - - - 0 0 0/0
12 TTY 115200/115200 - inout - - - 0 0 0/0
13 TTY 115200/115200 - inout - - - 0 0 0/0
14 TTY 115200/115200 - inout - - - 0 0 0/0
15 TTY 115200/115200 - inout - - - 0 0 0/0
16 TTY 115200/115200 - inout - - - 0 0 0/0
17 AUX 9600/9600 - - - - - 0 0 0/0
18 VTY - - - - - 0 0 0/0
19 VTY - - - - - 0 0 0/0
20 VTY - - - - - 0 0 0/0
21 VTY - - - - - 0 0 0/0
--More-- Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
22 VTY - - - - - 0 0 0/0
RAS#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
C 192.168.10.0/24 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet0
S* 0.0.0.0/0 [1/0] via 192.168.1.1
RAS#
RAS con0 is now availableLoopback0, changed sta
Press RETURN to get started.Autoselect during-login disa
RAS>enine 13
Password:ogin' i
0
Password:LINEPROTO
RAS#sh runine protoco
Building configuration...anged statect during-logi
Current configuration:ntil 'login' is setion
!.
version 11.3
to dow
service timestamps debug uptime-UPDOWN: Linect during-login di
service timestamps log uptimel on Interface Serial1, chang
no service password-encryption
keepaliv
%Autoselect du
!n
hostname RAS00:37: %LINK
!-
enable password ciscoial0, changed state t
!a
username test password 0 123
Buildi
Press RETURN
ip host modem 2010 192.168.1.101
downS
00:00:38: %LINK-5-
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT\T" TIMEOUT 30 \c CONNECig-if)#group-
00:00:34: %LINK-3-UPDOWN:
downface
00:00:41: %
T \c3-UP
!W
!
interface Loopback0anged state to up
ip address 192.168.10.2 255.255
no ip directed-broadcast
to down
00:00:3
encapsulation ppp0: %LINK-3-UPDOWN:
no ip route-cachechanged state to u
ip tcp header-compressionnfig-if)#ip tcp header-co
no ip mroute-cache: %LINK-3-UPDOWN: I
async dynamic routingd state to upLinearp t
async mode dedicated
RAS> protoco
peer default ip address pool test-poolnterface Async1, changed state to reset
no cdp enable
00:00
ppp authentication chap papce Serial
00:01:07: %LINK-3-
!D
interface Async2ync8, changed st
ip unnumbered Loopback0odem InOut
encapsulatiownEth
peer default ip address pool test-pool
WORD
00:00
IOS (tm) 2
no cdp enable2500-IS-L), Ve
ppp authentication chapSOFTWARE (fc1)rsign a cu
!o
interface Async3n interface
00:
ip unnumbered Loopback0terface
Copyright (c) 19
encapsulation pppstems, Inc.
no ip route-cache
RAS(co
ip tcp header-compression passivejjgreen4, changed state to up
no ip mroute-cache9: %LINK-5-CHANGED:
async dynamic routingged state to resetOWN:
async mode dedicatednged state to upe)#tr
peer default ip address pool test-poolPDOWN: Interface Async1, changed state
no cdp enable Async6, chang
ppp authentication chapprotocolsay
00:01
!3
interface Async4: Interface Asyn
ip unnumbered Loopback0ace Async7, cha
d
encapsulation ppp
00:01:
!:
interface Async10 %LINK-5-CHANGED:
ip unnumbered Ethernet0d state to reset
RA
Ci
no ip directed-broadcast System Software
00:22:
encapsulation ppp%LINK-5-CHANGED: I
no ip route-cacheanged state to res
ip tcp header-compressionOFTWARE (fc1) 19
no ip mroute-cache01:16: %LINK-5-CHAN
async dynamic routingchanged state to reset
async mode dedicated, Inc.
Building co
peer default ip address pool test-pool-3-UPDOWN: Interface Async3, changed st
no cdp enableair-
R
ppp authentication chap pap Interface Async2,
00:01:20:
!L
interface Group-Async1 Async4,
ip unnumbered
ppp authentication chap %LINK-3-UPDOWN: Interfa
group-range 5 8d state to down
!s
ip local pool test-pool 192.168.1.200 192.168.1.220
RAS>en
00:0
Password:K-5-CHANG
Password:
ip classlesssword: state
ip route 0.0.0.0 0.0.0.0 192.168.1.1onfiguration...nout - - -
!
!
line con 0figuration
exec-timeout 0 0c6, c
!n
version
line 1et
autoselect during-loginbug uptime
autoselect ppp0
service times
login localimeface Asyn
modem InOuttate to
no s
modem autoconfigure type usr_sportster 0/0ion for an
!t
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
transport input all
speed 115200
flowcontrol hardware
line 11 16
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
end
Em dùng lệnh telnet modem 2010 192.168.1.101.
Khi đó username có phải là "test" và password "123" mà e đã cấu hình bêntrên k?Các a có thể chỉcho e các lệng để test modem không?
Rát mong chờ sự giúp đỡ của diễn đàn.
Mến.
"Người đi trước rước người đi sau"
Hiện tại em dựng lên như sau:Dùng octal cable nối vào async(9-16).
Trong đó e chọn dây có đánh số 2 để gắn vào modem.
Như vậy line e đang dùng là line 10 phải k?
DB25 khi connect với modem phải có đủ pin k?Hiện e đang có 2 DB25(male)nhưng chỉ có 5 pin.Có use chúng được k?
Modem đang dùng là Robotics.
Đây là cấu hình hiện tại của e.
sh runBuilding configuration...
Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RAS
!
enable password cisco
!
username test password 0 123
ip host modem 2010 192.168.1.101
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT\T" TIMEOUT 30 \c CONNECT \c
!
!
interface Loopback0
ip address 192.168.10.2 255.255.255.0
!
interface Ethernet0
ip address 192.168.1.101 255.255.255.0
!
--More-- interface Serial0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Serial1
no ip address
shutdown
!
interface Async1
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
no ip route-cache
ip tcp header-compression
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap pap
!
--More-- interface Async2
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
!
interface Async3
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
--More-- !
interface Async4
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
!
interface Async10
ip unnumbered Ethernet0
no ip directed-broadcast
encapsulation ppp
no ip route-cache
ip tcp header-compression
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
--More-- no cdp enable
ppp authentication chap pap
!
interface Group-Async1
ip unnumbered Loopback0
encapsulation ppp
no ip route-cache
ip tcp header-compression passive
no ip mroute-cache
async dynamic routing
async mode dedicated
peer default ip address pool test-pool
no cdp enable
ppp authentication chap
group-range 5 8
!
ip local pool test-pool 192.168.1.200 192.168.1.220
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
line con 0
exec-timeout 0 0
--More-- line 1
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
transport input all
speed 115200
flowcontrol hardware
line 2 9
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line 10
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
--More-- transport input all
speed 115200
flowcontrol hardware
line 11 16
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
end
RAS#sh d line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
* 0 CTY - - - - - 0 0 0/0
1 TTY 115200/115200 - inout - - - 0 0 0/0
2 TTY 115200/115200 - inout - - - 0 0 0/0
3 TTY 115200/115200 - inout - - - 0 0 0/0
4 TTY 115200/115200 - inout - - - 0 0 0/0
5 TTY 115200/115200 - inout - - - 0 0 0/0
6 TTY 115200/115200 - inout - - - 0 0 0/0
7 TTY 115200/115200 - inout - - - 0 0 0/0
8 TTY 115200/115200 - inout - - - 0 0 0/0
9 TTY 115200/115200 - inout - - - 0 0 0/0
10 TTY 115200/115200 - inout - - - 0 0 0/0
11 TTY 115200/115200 - inout - - - 0 0 0/0
12 TTY 115200/115200 - inout - - - 0 0 0/0
13 TTY 115200/115200 - inout - - - 0 0 0/0
14 TTY 115200/115200 - inout - - - 0 0 0/0
15 TTY 115200/115200 - inout - - - 0 0 0/0
16 TTY 115200/115200 - inout - - - 0 0 0/0
17 AUX 9600/9600 - - - - - 0 0 0/0
18 VTY - - - - - 0 0 0/0
19 VTY - - - - - 0 0 0/0
20 VTY - - - - - 0 0 0/0
21 VTY - - - - - 0 0 0/0
--More-- Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
22 VTY - - - - - 0 0 0/0
RAS#sh ip ro
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
C 192.168.10.0/24 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Ethernet0
S* 0.0.0.0/0 [1/0] via 192.168.1.1
RAS#
RAS con0 is now availableLoopback0, changed sta
Press RETURN to get started.Autoselect during-login disa
RAS>enine 13
Password:ogin' i
0
Password:LINEPROTO
RAS#sh runine protoco
Building configuration...anged statect during-logi
Current configuration:ntil 'login' is setion
!.
version 11.3
to dow
service timestamps debug uptime-UPDOWN: Linect during-login di
service timestamps log uptimel on Interface Serial1, chang
no service password-encryption
keepaliv
%Autoselect du
!n
hostname RAS00:37: %LINK
!-
enable password ciscoial0, changed state t
!a
username test password 0 123
Buildi
Press RETURN
ip host modem 2010 192.168.1.101
downS
00:00:38: %LINK-5-
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT\T" TIMEOUT 30 \c CONNECig-if)#group-
00:00:34: %LINK-3-UPDOWN:
downface
00:00:41: %
T \c3-UP
!W
!
interface Loopback0anged state to up
ip address 192.168.10.2 255.255
no ip directed-broadcast
to down
00:00:3
encapsulation ppp0: %LINK-3-UPDOWN:
no ip route-cachechanged state to u
ip tcp header-compressionnfig-if)#ip tcp header-co
no ip mroute-cache: %LINK-3-UPDOWN: I
async dynamic routingd state to upLinearp t
async mode dedicated
RAS> protoco
peer default ip address pool test-poolnterface Async1, changed state to reset
no cdp enable
00:00
ppp authentication chap papce Serial
00:01:07: %LINK-3-
!D
interface Async2ync8, changed st
ip unnumbered Loopback0odem InOut
encapsulatiownEth
peer default ip address pool test-pool
WORD
00:00
IOS (tm) 2
no cdp enable2500-IS-L), Ve
ppp authentication chapSOFTWARE (fc1)rsign a cu
!o
interface Async3n interface
00:
ip unnumbered Loopback0terface
Copyright (c) 19
encapsulation pppstems, Inc.
no ip route-cache
RAS(co
ip tcp header-compression passivejjgreen4, changed state to up
no ip mroute-cache9: %LINK-5-CHANGED:
async dynamic routingged state to resetOWN:
async mode dedicatednged state to upe)#tr
peer default ip address pool test-poolPDOWN: Interface Async1, changed state
no cdp enable Async6, chang
ppp authentication chapprotocolsay
00:01
!3
interface Async4: Interface Asyn
ip unnumbered Loopback0ace Async7, cha
d
encapsulation ppp
00:01:
!:
interface Async10 %LINK-5-CHANGED:
ip unnumbered Ethernet0d state to reset
RA
Ci
no ip directed-broadcast System Software
00:22:
encapsulation ppp%LINK-5-CHANGED: I
no ip route-cacheanged state to res
ip tcp header-compressionOFTWARE (fc1) 19
no ip mroute-cache01:16: %LINK-5-CHAN
async dynamic routingchanged state to reset
async mode dedicated, Inc.
Building co
peer default ip address pool test-pool-3-UPDOWN: Interface Async3, changed st
no cdp enableair-
R
ppp authentication chap pap Interface Async2,
00:01:20:
!L
interface Group-Async1 Async4,
ip unnumbered
ppp authentication chap %LINK-3-UPDOWN: Interfa
group-range 5 8d state to down
!s
ip local pool test-pool 192.168.1.200 192.168.1.220
RAS>en
00:0
Password:K-5-CHANG
Password:
ip classlesssword: state
ip route 0.0.0.0 0.0.0.0 192.168.1.1onfiguration...nout - - -
!
!
line con 0figuration
exec-timeout 0 0c6, c
!n
version
line 1et
autoselect during-loginbug uptime
autoselect ppp0
service times
login localimeface Asyn
modem InOuttate to
no s
modem autoconfigure type usr_sportster 0/0ion for an
!t
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
transport input all
speed 115200
flowcontrol hardware
line 11 16
autoselect during-login
autoselect ppp
login local
modem InOut
modem autoconfigure type usr_sportster
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
password cisco
login
!
end
Em dùng lệnh telnet modem 2010 192.168.1.101.
Khi đó username có phải là "test" và password "123" mà e đã cấu hình bêntrên k?Các a có thể chỉcho e các lệng để test modem không?
Rát mong chờ sự giúp đỡ của diễn đàn.
Mến.
"Người đi trước rước người đi sau"
Comment