RIP
使用RIP路由协议使拓扑图设备联通
一、进行网络布线并配置IP
1、两条DCE串口线都在RTA的接口上
2、配置电脑ip
- 网关为
.1
- 子网掩码
/16
配置255.255.0.0
3、RTB配置
en
conf t
hostname RTB
int f0/0
ip add 10.149.0.1 255.255.0.0
no shut
exit
int s0/0/0
ip add 172.16.4.1 255.255.255.0
no shut
exit
4、RTA配置
en
conf t
hostname RTA
int s0/0/0
ip add 172.16.4.2 255.255.255.0
no shut
clock rate 64000
exit
int s0/1//1
ip add 10.3.0.1 255.255.0.0
no shut
clock rate 64000
exit
int f0/0
ip add 192.168.1.1 255.255.255.0
no shut
exit
5、RTD配置
en
conf t
hostname RTD
int f0/1
ip add 192.168.1.2 255.255.255.0
no shut
exit
int f0/0
ip add 192.168.149.1 255.255.255.0
no shut
exit
6、RTC配置
en
conf t
hostname RTC
int s0/1/1
ip add 10.3.0.2 255.255.0.0
no shut
exit
int f0/0
ip add 172.16.149.1 255.255.255.0
no shut
exit
二、配置RIP协议
说明
10
:属于A类,netwoek 后面用 10.0.0.0
172
:属于B类,netwoek 后面用 172.16.0.0
192
:属于C类,netwoek 后面用 192.168.149.0
1、RTB配置
en
conf t
router rip
ver 2
network 172.16.0.0
network 10.0.0.0
2、RTA配置
en
conf t
router rip
ver 2
network 172.16.0.0
network 10.0.0.0
network 192.168.1.0
3、RTD配置
en
conf t
router rip
ver 2
network 192.168.1.0
network 192.168.149.0
4、RTC配置
en
conf t
router rip
ver 2
network 10.0.0.0
network 172.16.0.0
5、测试联通
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/83728.html