文档视界 最新最全的文档下载
当前位置:文档视界 › PPP配置认证

PPP配置认证

PPP配置认证
PPP配置认证

实践报告:如图

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host RA

RA(config)#int f0/0

RA(config-if)#ip add 192.168.1.1 255.255.255.0

RA(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

RA(config-if)#int s0/0/0

RA(config-if)#ip add 192.168.2.1 255.255.255.0

RA(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

RA(config-if)#clock rate 64000

RA(config-if)#no shut

RA(config-if)#

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

RA>

RA>

RA>en

RA#conf t

Enter configuration commands, one per line. End with CNTL/Z. RA(config)#rout

RA(config)#router e

RA(config)#router eigrp 100

RA(config-router)#net 192.168.1.0

RA(config-router)#

RA(config-router)#net 192.168.2.0

RA(config-router)#

RA(config-router)#exit

RA(config)#user

RA(config)#username RB pass cisco

RA(config)#int s0/0/0

RB(config-if)#encapsulation ppp

RA(config-if)#ppp authentication chap

Must set encapsulation to PPP before using PPP subcommands

RA(config-if)#exit

RA(config)#exit

RB>

RB>en

RB#conf t

Enter configuration commands, one per line. End with CNTL/Z. RB(config)#int f0/0

RB(config-if)#ip add 192.168.3.1 255.255.255.0

RB(config-if)#no shut

RB(config-if)#int s0/0/1

RB(config-if)#ip add 192.168.4.1 255.255.255.0

RB(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down RB(config-if)#clock rate 64000

RB(config-if)#no shut

RB(config-if)#

RB(config-if)#

RB(config-if)#int s0/0/0

RB(config-if)#ip add 192.168.2.2 255.255.255.0

RB(config-if)#no shut

RB(config-if)#exit

RB(config)#router eig

RB(config)#router eigrp 100

RB(config-router)#net 192.168.2.0

RB(config-router)#

RB(config-router)#

RB(config-router)#net 192.168.3.0

RB(config-router)#

RB(config-router)#net 192.168.4.0

RB(config-router)#

RB>

RB>en

RB#conf t

RB(config)#username RA pass cisco

RB(config)#int s0/0/0

RB(config-if)#encapsulation ppp

RB(config-if)#ppp authentication chap

Must set encapsulation to PPP before using PPP subcommands

RC

RC (config)#int f0/0

RC(config-if)#ip add 192.168.5.1 255.255.255.0

RC(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

RC(config-if)#int s0/0/1

RC(config-if)#ip add 192.168.4.2 255.255.255.0

RC(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

RC(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

RC(config-if)#exit

RC(config)#router e

RC(config)#router eigrp 100

RC(config-router)#net 192.168.4.0

RC(config-router)#

%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.4.1 (Serial0/0/1) is up: new adjacency

RC(config-router)#

RC(config-router)#net 192.168.5.0

结果:

认证之后:

认证之前:

相关文档