路由引入
1.1配置参考:交换机的配置:vlan 2port ethernet0/1interface vlan 2ip address 192.168.1.1 24interface vlan 1 ip address 1.1.1.1 30ip route-static 0.0.0.0 0 1.1.1.2 配置缺省路由RTB的配置: interface ethernet0/0 ip address 1.1.1.2 30interface s 2/0ip address 2.2.2.1 30 ip route-static 192.168.1.0 24 1.1.1.1 配置去往VLAN1的静态路由ripnetwork 2.2.2.0rip version 2 multicastimport-route direct RIP协议中下引入直连路由import-route static RIP协议中下引入静态路由RTC的配置:interface S2/0ip address 2.2.2.2 30interface s2/1ip address 3.3.3.1 30ripnetwork 2.2.2.0interface s2/0rip version 2 multicastrouter id 3.3.3.1ospfarea 0network 3.3.3.0 0.0.0.3252import-route rip OSPF协议中引入rip路由import-route direct OSPF协议中引入直连路由import-route ospf RIP协议中引入OSPF路由import-route direct RIP协议中引入直连路由RTD的配置:interface S2/1ip address 3.3.3.2 30interface LoopBack 0 ip address 4.4.4.4 32router id 3.3.3.2 ospfarea 0network 3.3.3.0 0.0.0.3252network 4.4.4.4 0.0.0.0{:6_276:} {:6_299:} {:6_295:} 有创意,,好 {:6_267:}{:6_267:} 多谢分享
页:
[1]