HCIP实验题

 一、实验拓扑

 

三、实验步骤
1、配置IP地址
2、R1和R5间使用PPP的PAP认证,R5为主认证方
3、R2和R5间使用PPP的CHAP认证,R5为主认证方
4、R3与R5间使用HDLC封装
5、配置缺省
6、R1、R2、R3、R4做nat
7、R1/2/3构建一个MGRE环境,R1为中心站点
8、R1/4间为点到点GRE
9、整个私有网络基于RIP全网可达
10、打破水平分割

三、实验步骤

1、配置IP地址

R1:
192.168.1.0/24
1.1.1.1/24
 
R2:
192.168.2.0/24
2.2.2.2/24
 
R3:
192.168.3.0/24
3.3.3.3/24
 
R4:
192.168.4.0/24
4.4.4.4/24
 
上为网段IP 下为环回路由IP
2、R1和R5间使用PPP的PAP认证,R5为主认证方

R5:

[r5]aaa
[r5-aaa]local-user huawei password cipher 123456
Info: Add a new user.
[r5-aaa]local-user huawei service-type PPP
[r5-aaa]int s4/0/0
[r5-Serial4/0/0]link-protocol ppp
[r5-Serial4/0/0]ppp authentication-mode pap
R1:

[r1]int s0/0/0
[r1-Serial0/0/0]link-protocol ppp
[r1-Serial0/0/0]ppp pap local-user huawei 
[r1-Serial0/0/0]ppp pap local-user huawei password cipher 123456
 
3、R2和R5间使用PPP的CHAP认证,R5为主认证方

R5:

[r5-aaa]int s4/0/1
[r5-Serial0/0/1]link-protocol ppp
[r5-Serial0/0/1]ppp authentication-mode chap
R2:

[r2]int s0/0/1
[r2-Serial0/0/1]link-protocol ppp
[r2-Serial0/0/1]ppp chap user piupiu
[r2-Serial0/0/1]ppp chap password cipher 123456
4、R3与R5间HDLC封装

R5:

[r5]int s0/0/2
[r5-Serial3/0/2]link-protocol hdlc 
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
R3:

[r3]int s0/0/0
[r3-Serial0/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
5、配置缺省

[r1]ip route-static 0.0.0.0 0 192.168.1.2
[r2]ip route-static 0.0.0.0 0 192.168.2.2
[r3]ip route-static 0.0.0.0 0 192.168.3.2
[r4]ip route-static 0.0.0.0 0 192.168.4.2

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值