标签:rdo 4.0 ADG asa vtt wxs dvr sds WAD
拓扑图如下
路由器0的配置
Router>en
Router#conf t
Router(config)#hostname Router1
Router1(config)#int l0
Router1(config-if)#ip addr 1.1.1.1 255.255.255.0
Router1(config-if)#no shu
Router1(config-if)#exit
Router1(config)#int s0/0/0
Router1(config-if)#ip addr 192.168.1.1 255.255.255.0
Router1(config-if)#no shu
Router1(config-router)#exit
Router1(config)#router ospf 1
Router1(config-router)#routet-id 1.1.1.1
Router1(config-router)#network 1.1.1.0 0.0.0.255 area 0
Router1(config-router)#network 192.168.1.0 0.0.0.255 area 0
路由器1的配置
Router>en
Router#conf t
Router(config)#hostname Router2
Router2(config)#int l0
Router2(config-if)#ip addr 2.2.2.2 255.255.255.0
Router2(config-if)#no shu
Router2(config-if)#exit
Router2(config)#int s0/0/0
Router2(config-if)#ip addr 192.168.1.2 255.255.255.0
Router2(config-if)#no shu
Router2(config-if)#exit
Router2(config)#int s0/0/1
Router2(config-if)#ip addr 192.168.2.1 255.255.255.0
Router2(config-if)#no shu
Router1(config-router)#exit
Router2(config)#router ospf 1
Router2(config-router)#router-id 2.2.2.2
Router2(config-router)#network 2.2.2.0 0.0.0.255 area 0
Router2(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router2(config-router)#network 192.168.2.0 0.0.0.255 area 0
路由器2的配置
Router>en
Router#conf t
Router(config)#hostname Router3
Router3(config)#int l0
Router3(config-if)#ip addr 3.3.3.3 255.255.255.0
Router3(config-if)#no shu
Router3(config-if)#exit
Router3(config)#int s0/0/1
Router3(config-if)#ip addr 192.168.2.2 255.255.255.0
Router3(config-if)#no shu
Router3(config-if)#exit
Router3(config)#int s0/0/0
Router3(config-if)#ip addr 192.168.3.1 255.255.255.0
Router3(config-if)#no shu
Router1(config-router)#exit
Router3(config)#router ospf 1
Router3(config-router)#router-id 3.3.3.3
Router3(config-router)#network 3.3.3.0 0.0.0.255 area 0
Router3(config-router)#network 192.168.2.0 0.0.0.255 area 0
Router3(config-router)#network 192.168.3.0 0.0.0.255 area 0
路由器3的配置
Router>en
Router#conf t
Router(config)#hostname Router4
Router4(config)#int l0
Router4(config-if)#ip addr 4.4.4.4 255.255.255.0
Router4(config-if)#exit
Router4(config)#int s0/0/0
Router4(config-if)#ip addr 192.168.3.2 255.255.255.0
Router4(config-if)#no shu
Router1(config-router)#exit
Router4(config)#router ospf 1
Router4(config-router)#router-id 4.4.4.4
Router4(config-router)#network 4.4.4.0 0.0.0.255 area 0
Router4(config-router)#network 192.168.3.0 0.0.0.255 area 0
标签:rdo 4.0 ADG asa vtt wxs dvr sds WAD
原文地址:https://www.cnblogs.com/ruanjie/p/9229940.html