Objective: To understand the experiment environment for running the OSPF protocol on a Cisco Route: the two routers are used to simulate the two LAN networks 192.168.1.0 and 192.168.3.0. the topology of the two LAN networks that can communicate with each other is as follows: www.2cto.com
Tutorial steps: 1: Enter the first route and configure the following Router> enRouter # config tRouter (config) # host r1r1 (config) # int fa1/0r1 (config-if) # ip add 192.168.1.1 255.255.255.0r1 (config-if) # no shut www.2cto.com r1 (config) # int s0/0r1 (config-if) # ip add 192.168.2.1 255.255.255.0 r1 (config-if) # clock rate 64000r1 (config-if) # no shutr1 (config-if) # exitr1 (config) # router VPN 100 starts the OSPF protocol r1 (config-router) # net 192.168.1.0 network r1 (config-router) # net 192.168.2.0r1 (config-router) # ^ Zr1 (config) # exit r1 # copy run start 2: go to the second route and configure the following Router> enRouter # config tRouter (config) # host r2r2 (config) # int fa1/0r2 (config-if) # ip add 192.168.3.1 255.255.255.0r2 (config-if) # no shutr2 (config) # int s0/0r2 (config-if) # ip add 192.168.2.2 255.255.255.0r2 (config-if) # no shutr2 (config-if) # exitr2 (config) # router VPN 100r2 (config-router) # net 192.168.2.0r2 (config-router) # net 192.168.3.0r2 (config-router) # ^ Z www.2cto.com r2 (config) # exit r2 # copy run start 3: the IP addresses of the two PCs are configured as follows: 192.168.1.2 255.255.255.0 192.168.1.119255.3.2 255.255.255.0 192.168.3.14: The test is successful.