目录
一·,实验:26.连接RIP与OSPF网络
【实验目的】
连接RIP和OSPF网络。
【实验环境】
三台路由器,两台交换机,两台终端。
【实验过程】
拓扑图
步骤一:配置IP地址
步骤二:配置R1
<R1>DIS CUR
[V200R003C00]
#
sysname R1
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 172.33.2.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.33.2.1 255.255.255.0
#
interface NULL0
#
ospf 1
import-route rip 1
area 0.0.0.0
network 192.33.2.0 0.0.0.255
#
rip 1
undo summary
version 2
network 172.33.0.0
import-route ospf 1 cost 3
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
步骤三:配置R2
[R2-rip-1]dis cur
[V200R003C00]
#
sysname R2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#