路由器交换与配置综合实验(二)外网

实验拓扑图

外网配置

配置主机

先认证再捆绑

使用CHAP认证进行

RT1主验证 (采用简单的接口验证

[RT1]local-user rt2 class network
New local user added.

[RT1-luser-network-rt2]password simple rt2

[RT1-luser-network-rt2]service-type ppp
[RT1-luser-network-rt2]quit

[RT1]inter s1/0
[RT1-Serial1/0]ppp authentication-mode chap

[RT1-Serial1/0]inter s2/0
[RT1-Serial2/0]ppp authentication-mode  chap

RT1配置完成后,RT2马上开启认证

[RT2]inter s1/0

[RT2-Serial1/0]ppp chap password simple rt2
[RT2-Serial1/0]dis inter s1/0
Serial1/0
Current state: UP
Line protocol state: UP
Description: Serial1/0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet protocol processing: Disabled
Link layer protocol: PPP
LCP: opened
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: 0 hours 42 minutes 4 seconds
Last clearing of counters: Never

此时接口处于open状态,所以我们需要重启接口进行验证

[RT2-Serial1/0]shut

[RT2-Serial1/0]undo shut

[RT2-Serial1/0]dis inter s1/0
Serial1/0
Current state: UP
Line protocol state: UP
Description: Serial1/0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet protocol processing: Disabled
Link layer protocol: PPP
LCP: opened
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: 0 hours 0 minutes 34 seconds
Last clearing of counters: Never

接口仍处于open状态则说明验证成功,进入接口S2/0验证

[RT2]inter s2/0
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值