Cisco 路由器1.5作业 RIP

320 阅读1分钟

RIP


使用RIP路由协议使拓扑图设备联通

在这里插入图片描述

\

一、进行网络布线并配置IP


1、两条DCE串口线都在RTA的接口上

\

2、配置电脑ip

  1. 网关为 .1
  2. 子网掩码 /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、测试联通