栏目导航

RIP与OSPF路由重散布教程

作者:陈东 来源:网络整理 点击数: 发布时间:2019年06月08日

changed state to up R2(config-if)#ip add 2.2.2.2 255.255.255.0 R2(config-if)#no shut R2(config-if)#ex R2(config)#int s0/0/0 R2(config-if)#ip add 192.168.1.20 255.255.255.0 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0/0。

Nbr 2.2.2.2 on Serial0/0/1 from LOADING to FULL, changed state to up R3(config-if)#ip add 3.3.3.3 255.255.255.0 R3(config-if)#no shut R3(config-if)#ex R3(config)#int s0/0/1 R3(config-if)#ip add 10.10.10.20 255.255.255.0 R3(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0,看看可不能够ping通,是散布成功否的惧怕,我们能够ping一下,连线之后得到的拓扑图为: 用的是R1的s0/0/0的端口接的R2的s0/0/0, one per line.End with CNTL/Z. Router(config)#host R3 R3(config)#int loop 3.3.3.3 255.255.255.0 R3(config)#int loop 0 %LINK-5-CHANGED: Interface Loopback0, one per line.End with CNTL/Z Router(config)#hostname R1 R1(config)#int loop 0 %LINK-5-CHANGED: Interface Loopback0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to u R1: R1(config-if)#ex R1(config)#router rip R1(config-router)#version 2 R1(config-router)#net 1.1.1.1 R1(config-router)#net 192.168.1.0 R2: R2是最要的,。

changed state to up R2(config-if)#ex R2(config)#int s0/0/1 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0,然后连线, 然后我选用了三台相同的路由器, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, 在做这个实验的时刻主若是要按照的以下几个步骤进行: 一、对路由器进行模块的添加(我用的是2811),R2的s0/0/1接的是R3的s0/0/1, 二、对三台路由器进行最基本的装备: R1:Continue with configuration dialog? [yes/no]: no Press RETURN to get started! Routeren Router#conf t Enter configuration commands, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to down R3:teren Router#conf t Enter configuration commands, one per line.End with CNTL/Z. Router(config)#host R2 R2(config)#int loop 0 %LINK-5-CHANGED: Interface Loopback0, changed state to down R1(config-if)# R2:Routeren Router#conf t Enter configuration commands。

Loading Done 引经据典几台的充沛部已经差未几了。

changed state to up R1(config-if)#ip add 1.1.1.1 255.255.255.0 R1(config-if)#no shut R1(config-if)#ex R1(config)#int s0/0/0 R1(config-if)#ip add 192.168.1.10 255.255.255.0 R1(config-if)#clock rate 64000 R1(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0/0, R2(config-if)#ex R2(config)#router rip R2(config-router)#version 2 R2(config-router)#net 192.168.1.0 R2(config-router)#redistribute ospf 100 metric 3 R2(config-router)#router ospf 100 R2(config-router)#net 10.10.10.0 0.0.0 R2(config-router)#net 10.10.10.0 0.0.0.255 area 0 R2(config-router)#net 2.2.2.2 0.0.0.255 area 0 R2(config-router)#redistribute rip metric 3 subnets R3: R3(config-if)#ex R3(config)#int s0/0/1 R3(config-if)#ip add 10.10.10.20 255.255.255.0 R3(config-if)#no shut R3(config-if)#ex R3(config)#int loop 0 R3(config-if)#ip add 3.3.3.3 255.255.255.0 R3(config-if)#no shut R3(config-if)#router ospf 100 R3(config-router)#net 10.10.10.0 0.0.0.255 area 0 R3(config-router)#net 3.3.3.3 0.0.0.255 area 0 00:14:22: %OSPF-5-ADJCHG: Process 100, , changed state to up R2(config-if)#ip add 10.10.10.10 255.255.255.0 R2(config-if)#clock rate 64000 R2(config-if)#no shut %LINK-5-CHANGED: Interface Serial0/0/1。

(编辑:admin)