思科OSPF配置实例

Route Ospf(Open Shortest Path First)

PC0 and PC1 via Ospf to communicate. Network map as below.
Environment:Cisco Packet Tracer

PC and route connection

Cable connection
Router0 Fa 0/0 -------> PC0
Router0 Se 0/1/0 -------> Router1 Se 0/1/0
Router1 Fa 0/0 --------> PC1

Set pc0 and pc1 static ip

PC0: 192.168.1.2
      255.255.255.0
      192.168.1.1
PC1: 192.168.1.2
      255.255.255.0
      192.168.2.1

Router0 interface fa 0/0 and Se 0/1/0 ip config

Router1 interface fa 0/0 and Se 0/1/0 ip config

OSPF route config

Router0 OSPF Route config

Router1 OSPF Route config

Test

PC0 PING PC1, Result: PASS

PC1 PING PC0, Result: PASS

博主个人网站www.davis-wiki.com

你可能感兴趣的:(route,路由,思科,ospf)