PDA

View Full Version : auto disconnect??? help me please!



sensitive
26-06-2005, 10:04 AM
Đồng chí nào đã cấu hình 2620 cho phép mỗi user 1 ip cho xin ý kiến với:
Em có 1 file cấu hình như sau:


!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco2620
!
enable password cisco
!
!
username test1 password 0 test1
username test2 password 0 test2
username test3 password 0 test3
!
ip subnet-zero
!
no ip domain-lookup

!
interface FastEthernet0/0
ip address 192.168.0.254 255.255.255.0
no ip directed-broadcast
no shutdown
!
interface Group-Async1
no ip address
no ip directed-broadcast
encapsulation ppp
dialer in-band
dialer pool-member 1
async default routing
async dynamic routing
async mode dedicated
no fair-queue
ppp authentication chap ms-chap
group-range 33 40
!
interface Dialer1
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer remote-name skhdt
dialer pool 1
dialer-group 1
peer default ip address 192.168.0.10
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer2
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer remote-name stc
dialer pool 1
dialer-group 1
peer default ip address 192.168.0.20
no cdp enable
ppp authentication ms-chap chap
!
interface Dialer3
ip unnumbered FastEthernet0/0
encapsulation ppp
dialer pool 1
dialer remote-name skhcn
dialer-group 1
peer default ip address 192.168.0.30
no cdp enable
ppp authentication ms-chap chap
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1
ip http server
!
no cdp run
!
line con 0
line 33 40
autoselect during-login
autoselect ppp
modem InOut
transport input all
speed 38400
flowcontrol hardware
line aux 0
line vty 0 4
access-class 1 in
password cisco
login
!
end

với cấu hình trên thì kết nối OK, tuy nhiên vấn đề xảy ra khi kết nối được 1-2 phút hệ thống tự động bị ngắt kết nốii???
Các bác xem hộ em phát, cấu hình trên còn thiếu gì???
Please help me!

infin
26-06-2005, 12:09 PM
trong cấu hình line, bỏ hai dòng này

autoselect during-login
autoselect ppp

Thêm vào dòng này

modem autoconfigure discovery

chắc chắn sẽ chạy.

sensitive
26-06-2005, 06:34 PM
trong cấu hình line, bỏ hai dòng này

autoselect during-login
autoselect ppp

Thêm vào dòng này

modem autoconfigure discovery

chắc chắn sẽ chạy.


Mình đã thử kiểu đó rùi, nhưng nếu làm như vậy thì con cisco không điều khiển được modem. Nếu có kết nối tới thì bắt đầu xác thực "verify username..." là kết nối die!
Bạn có cách khác ô :P

sskkb
29-11-2005, 05:33 PM
(sorry vi ko co chuong trinh go tieng Viet)

Minh go lai cau hinh cua ban vao router cua minh. Nhung KHONG dung cac cau lenh sau :
- async default routing
- async dynamic routing
- autoselect during-login
- autoselect ppp
- Chi su dung kieu chung thuc la CHAP.

va them cau lenh "modem autoconfigure type ....." xac dinh chinh xac kieu modem noi vao line. Chay binh thuong, ko bi disconnect.

Do thoi gian co han nen minh ko the test them. Nhung ban thu bo bot nhung cau lenh minh list ben tren, sau do add them tung cau lenh va test lai. Se biet duoc nguyen nhan do thang nao :-)