高手帮助啊,谢谢了~!

[复制链接]
查看11 | 回复1 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
请帮帮小第~!
小第在做一个东西~!
要用到PPP CHAP验证
帮帮我
把配置的全部代码给我发过来,谢谢了~!
给小第发到邮箱也可以~!
[email protected]














回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
why这种帖子都没人回???


路由器1

!
isdn switch-type basic-5ess
!
hostname r1
!
username r2 password 0 cisco
! -- hostname of other router and shared secret

!
interface BRI0/0
ip address 20.1.1.1 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer map ip 20.1.1.2 name r2 broadcast 5772222
dialer-group 1
isdn switch-type basic-5ess
ppp authentication chap callin
! -- authentication on incoming calls only

ppp chap hostname alias-r1
! -- alternate CHAP hostname

!
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
!


路由器 2

!
isdn switch-type basic-5ess
!
hostname r2
!
username alias-r1 password 0 cisco
! -- alternate CHAP hostname and shared secret
! -- The username must match the one in the ppp chap hostname command
! -- on the remote router

!
interface BRI0/0
ip address 20.1.1.2 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer map ip 20.1.1.1 name
alias-r1 broadcast 5771111

! -- dialer map name matches alternate hostname "alias-r1"

dialer-group 1
isdn switch-type basic-5ess
ppp authentication chap
!
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
!

注:不一定是BRI接口,只要支持PPP的接口都可以。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行