PC0 and PC1 via Ospf to communicate. Network map as below.
Environment:Cisco Packet Tracer
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 configRouter0 OSPF Route config
Router1 OSPF Route config
TestPC0 PING PC1, Result: PASS
PC1 PING PC0, Result: PASS
博主个人网站www.davis-wiki.com