Tôi có một con 2509, hiện tại đã config như sau :
Current configuration:
!
version 10.3
service udp-small-servers
service tcp-small-servers
!
hostname DBDT
!
enable secret 5 $1$xwpC$dwwF/NPM5HltzOvx98HUg.
!
username tien password 7 0612062442
no ip domain-lookup
chat-script cisco-default ABORT ERROR "" "AT Z" OK "ATDT \T" TIMEOUT 30 \c CONN
chat-script 1 AT OK "ATZ" OK
!
interface Ethernet0
ip address 192.168.0.20 255.255.255.0
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
interface Async1
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.21
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async2
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.22
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async3
ip unnumbered Ethernet0
encapsulation ppp
--More-- async default ip address 192.168.0.23
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async4
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.24
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async5
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.25
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async6
ip unnumbered Ethernet0
--More-- encapsulation ppp
async default ip address 192.168.0.26
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async7
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.27
async mode interactive
ppp authentication chap callin
no cdp enable
!
interface Async8
ip unnumbered Ethernet0
encapsulation ppp
async default ip address 192.168.0.28
async mode interactive
ppp authentication chap callin
no cdp enable
!
!
--More-- line con 0
line 1 8
login local
modem InOut
autoselect ppp
script reset cisco-cisco-default
transport input all
stopbits 1
rxspeed 57600
txspeed 57600
flowcontrol hardware
line aux 0
transport input all
line vty 0 4
password tien
login
!
end
===========================================
Client cấu hình dial up bình thường và chạy 1 script như sau :
proc main
delay 2
transmit "^^M ppp 192.168.0.51 ^M^M"
delay 2
endproc
+++++++++++++++++++++++++++++++++
Thế nhưng khi Dialup thì Client không nhận được địa chỉ 192.168.0.51 như mong muốn mà lại nhận được địa chỉ 192.168.0.21 (đến 28) là địa chỉ gán bởi lệnh async default ip address 192.168.0.x (x=21 đến 28)
Thế mới buồn chứ !
Rất mong các bạn chỉ cho tôi làm sao để có thể nhận được địa chỉ mà Client yêu cầu?
Cảm ơn nhiều !




Reply With Quote


