Chao cac ban,
Minh rat la moi voi BCSI nen gặp nhiểu vấn để cẩn các bạn chi giáo dùm. Mình dùng Dynamips software để học tập nhưng gặp problem và mong các bạn giúp đở.
Còn đây la yeu cầu cua authentication
-Config the serial link between R4 and R5 using ppp encapsulation
-Config the R4 request R5 to authenticate via ppp
-R5 should respond with the username TestR5 and the clear-text password CISCO
-Config R5 to request R4 to authenticate via PPP
-R4 should reply with the username TestR4 and the MD5 hash value that represent the password CISCO
File .net của dynamips
************************
[cuteo]
[[7200]]
image = C:\Program Files\Dynamips\images\C7200-JK.bin
idlepc = 0x60750bf0
ram = 96
confreg = 0x2142
npe = npe-200
mmap = True
[[Router R4]]
autostart = False
console = 2004
slot1 = PA-8T
S1/0 = FR 4
S1/1 = R5 S1/1
[[Router R5]]
autostart = False
console = 2005
slot1 = PA-8T
S1/0 = FR 5
[[FRSW FR ]]
4:405 = 5:504
************************
Minh đã config Frame relay và chạy tốt. Nhung khi config cái authentication thì lại có vấn đề.
**********************************************
Cái error message nó cứ nhảy liên tục trong R5
R5#
*Dec 28 10:06:29.333: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
R5#
*Dec 28 10:06:32.033: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R5#
*Dec 28 10:06:34.441: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
R5#
*Dec 28 10:06:44.889: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
************************************************** ****
Và ở phía dưới là kết qua mình debug
( mình ko hieu cai debug nay, ba.n nao co the giai thich cho minh duoc ko)
################################################## ###
R5(config-if)#
*Dec 28 10:03:14.121: Se1/1 PPP: Authorization required
*Dec 28 10:03:14.201: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:14.201: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:14.205: Se1/1 PAP: O AUTH-REQ id 232 len 18 from "TestR5"
*Dec 28 10:03:14.205: Se1/1 CHAP: O CHALLENGE id 232 len 23 from "R5"
*Dec 28 10:03:14.305: Se1/1 PAP: I AUTH-ACK id 232 len 5
R5(config-if)#
*Dec 28 10:03:16.561: Se1/1 PPP: Authorization required
*Dec 28 10:03:16.917: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:16.921: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:16.921: Se1/1 PAP: O AUTH-REQ id 233 len 18 from "TestR5"
*Dec 28 10:03:16.925: Se1/1 CHAP: O CHALLENGE id 233 len 23 from "R5"
*Dec 28 10:03:17.121: Se1/1 PAP: I AUTH-ACK id 233 len 5
R5(config-if)#
*Dec 28 10:03:19.161: Se1/1 PPP: Authorization required
*Dec 28 10:03:19.261: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:19.261: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:19.265: Se1/1 PAP: O AUTH-REQ id 234 len 18 from "TestR5"
*Dec 28 10:03:19.265: Se1/1 CHAP: O CHALLENGE id 234 len 23 from "R5"
*Dec 28 10:03:19.365: Se1/1 PAP: I AUTH-ACK id 234 len 5
R5(config-if)#
*Dec 28 10:03:19.445: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R5(config-if)#
*Dec 28 10:03:21.801: Se1/1 PPP: Authorization required
*Dec 28 10:03:22.185: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:22.185: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:22.189: Se1/1 PAP: O AUTH-REQ id 235 len 18 from "TestR5"
*Dec 28 10:03:22.189: Se1/1 CHAP: O CHALLENGE id 235 len 23 from "R5"
*Dec 28 10:03:22.353: Se1/1 PAP: I AUTH-ACK id 235 len 5
R5(config-if)#
*Dec 28 10:03:24.705: Se1/1 PPP: Authorization required
*Dec 28 10:03:24.893: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:24.893: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:24.897: Se1/1 PAP: O AUTH-REQ id 236 len 18 from "TestR5"
*Dec 28 10:03:24.897: Se1/1 CHAP: O CHALLENGE id 236 len 23 from "R5"
*Dec 28 10:03:25.101: Se1/1 PAP: I AUTH-ACK id 236 len 5
################################################## ##
Và đây la configuration cua R4, R5
R5 configuation
username TestR4 password 0 CISCO
!
interface Serial1/0
ip address 141.1.54.5 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 141.1.54.4 504 broadcast
no frame-relay inverse-arp
interface Serial1/1
ip address 141.1.45.5 255.255.255.0
encapsulation ppp
serial restart-delay 0
clock rate 64000
ppp authentication chap
ppp pap sent-username TestR5 password 0 CISCO
R4 configuration
username TestR5 password 0 CISCO
!
interface Serial1/0
ip address 141.1.54.4 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 141.1.54.5 405 broadcast
no frame-relay inverse-arp
!
interface Serial1/1
ip address 141.1.45.4 255.255.255.0
encapsulation ppp
serial restart-delay 0
ppp authentication pap
Mình có 2 câu hỏi muốn hỏi các bạn
1) Có phải do mình config authentication tren 2 router R4, R5 khác nhau ( PAP va CHAP ) nên mới xảy ra như vậy đúng ko? Va khi minh config 2 con router nay theo cung mot kieu authentication (PAP hoac CHAP) thi ko thay gi ca nhưng nếu minh debug nó bang lệnh debug ppp authenticate thi hình như nó van chưa hoạt động.
Error debug tren 2 router la giong nhau
R5#
*Dec 28 18:23:09.047: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:11.047: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:13.063: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:15.063: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:18.199: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:20.167: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:22.231: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:24.231: Se1/1 PPP: Authorization required
Ko biet mình làm sai khúc nào. Mong các bạn chi giáo.
2) Cau hoi thu 2 nay co the rat la bờm nhưng mình muốn biết có khi nào 2 đầu config authenticate khác nhau mà vẫn chạy khong ?
Xin cảm ơn.
TN
Minh rat la moi voi BCSI nen gặp nhiểu vấn để cẩn các bạn chi giáo dùm. Mình dùng Dynamips software để học tập nhưng gặp problem và mong các bạn giúp đở.
Còn đây la yeu cầu cua authentication
-Config the serial link between R4 and R5 using ppp encapsulation
-Config the R4 request R5 to authenticate via ppp
-R5 should respond with the username TestR5 and the clear-text password CISCO
-Config R5 to request R4 to authenticate via PPP
-R4 should reply with the username TestR4 and the MD5 hash value that represent the password CISCO
File .net của dynamips
************************
[cuteo]
[[7200]]
image = C:\Program Files\Dynamips\images\C7200-JK.bin
idlepc = 0x60750bf0
ram = 96
confreg = 0x2142
npe = npe-200
mmap = True
[[Router R4]]
autostart = False
console = 2004
slot1 = PA-8T
S1/0 = FR 4
S1/1 = R5 S1/1
[[Router R5]]
autostart = False
console = 2005
slot1 = PA-8T
S1/0 = FR 5
[[FRSW FR ]]
4:405 = 5:504
************************
Minh đã config Frame relay và chạy tốt. Nhung khi config cái authentication thì lại có vấn đề.
**********************************************
Cái error message nó cứ nhảy liên tục trong R5
R5#
*Dec 28 10:06:29.333: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
R5#
*Dec 28 10:06:32.033: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R5#
*Dec 28 10:06:34.441: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up
R5#
*Dec 28 10:06:44.889: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
************************************************** ****
Và ở phía dưới là kết qua mình debug
( mình ko hieu cai debug nay, ba.n nao co the giai thich cho minh duoc ko)
################################################## ###
R5(config-if)#
*Dec 28 10:03:14.121: Se1/1 PPP: Authorization required
*Dec 28 10:03:14.201: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:14.201: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:14.205: Se1/1 PAP: O AUTH-REQ id 232 len 18 from "TestR5"
*Dec 28 10:03:14.205: Se1/1 CHAP: O CHALLENGE id 232 len 23 from "R5"
*Dec 28 10:03:14.305: Se1/1 PAP: I AUTH-ACK id 232 len 5
R5(config-if)#
*Dec 28 10:03:16.561: Se1/1 PPP: Authorization required
*Dec 28 10:03:16.917: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:16.921: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:16.921: Se1/1 PAP: O AUTH-REQ id 233 len 18 from "TestR5"
*Dec 28 10:03:16.925: Se1/1 CHAP: O CHALLENGE id 233 len 23 from "R5"
*Dec 28 10:03:17.121: Se1/1 PAP: I AUTH-ACK id 233 len 5
R5(config-if)#
*Dec 28 10:03:19.161: Se1/1 PPP: Authorization required
*Dec 28 10:03:19.261: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:19.261: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:19.265: Se1/1 PAP: O AUTH-REQ id 234 len 18 from "TestR5"
*Dec 28 10:03:19.265: Se1/1 CHAP: O CHALLENGE id 234 len 23 from "R5"
*Dec 28 10:03:19.365: Se1/1 PAP: I AUTH-ACK id 234 len 5
R5(config-if)#
*Dec 28 10:03:19.445: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to down
R5(config-if)#
*Dec 28 10:03:21.801: Se1/1 PPP: Authorization required
*Dec 28 10:03:22.185: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:22.185: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:22.189: Se1/1 PAP: O AUTH-REQ id 235 len 18 from "TestR5"
*Dec 28 10:03:22.189: Se1/1 CHAP: O CHALLENGE id 235 len 23 from "R5"
*Dec 28 10:03:22.353: Se1/1 PAP: I AUTH-ACK id 235 len 5
R5(config-if)#
*Dec 28 10:03:24.705: Se1/1 PPP: Authorization required
*Dec 28 10:03:24.893: Se1/1 PAP: Using hostname from interface PAP
*Dec 28 10:03:24.893: Se1/1 PAP: Using password from interface PAP
*Dec 28 10:03:24.897: Se1/1 PAP: O AUTH-REQ id 236 len 18 from "TestR5"
*Dec 28 10:03:24.897: Se1/1 CHAP: O CHALLENGE id 236 len 23 from "R5"
*Dec 28 10:03:25.101: Se1/1 PAP: I AUTH-ACK id 236 len 5
################################################## ##
Và đây la configuration cua R4, R5
R5 configuation
username TestR4 password 0 CISCO
!
interface Serial1/0
ip address 141.1.54.5 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 141.1.54.4 504 broadcast
no frame-relay inverse-arp
interface Serial1/1
ip address 141.1.45.5 255.255.255.0
encapsulation ppp
serial restart-delay 0
clock rate 64000
ppp authentication chap
ppp pap sent-username TestR5 password 0 CISCO
R4 configuration
username TestR5 password 0 CISCO
!
interface Serial1/0
ip address 141.1.54.4 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 141.1.54.5 405 broadcast
no frame-relay inverse-arp
!
interface Serial1/1
ip address 141.1.45.4 255.255.255.0
encapsulation ppp
serial restart-delay 0
ppp authentication pap
Mình có 2 câu hỏi muốn hỏi các bạn
1) Có phải do mình config authentication tren 2 router R4, R5 khác nhau ( PAP va CHAP ) nên mới xảy ra như vậy đúng ko? Va khi minh config 2 con router nay theo cung mot kieu authentication (PAP hoac CHAP) thi ko thay gi ca nhưng nếu minh debug nó bang lệnh debug ppp authenticate thi hình như nó van chưa hoạt động.
Error debug tren 2 router la giong nhau
R5#
*Dec 28 18:23:09.047: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:11.047: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:13.063: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:15.063: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:18.199: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:20.167: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:22.231: Se1/1 PPP: Authorization required
R5#
*Dec 28 18:23:24.231: Se1/1 PPP: Authorization required
Ko biet mình làm sai khúc nào. Mong các bạn chi giáo.
2) Cau hoi thu 2 nay co the rat la bờm nhưng mình muốn biết có khi nào 2 đầu config authenticate khác nhau mà vẫn chạy khong ?
Xin cảm ơn.
TN
Comment