Site Tools


cisco:labs:00300

This is an old revision of the document!


Lab 00300 OSPF 2 Routers, IOS-XE

Router 1

en
conf t
router ospf 1
 network 1.1.1.1 0.0.0.0 area 0
 network 12.0.0.1 0.0.0.0 area 0

Router 2

en
conf t
router ospf 1
 network 2.2.2.2 0.0.0.0 area 0
 network 12.0.0.2 0.0.0.0 area 0

Verification

show ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback0
R     2.0.0.0/8 [120/1] via 12.0.0.2, 00:00:27, GigabitEthernet1
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.0.0.0/24 is directly connected, GigabitEthernet1
L        12.0.0.1/32 is directly connected, GigabitEthernet1
r1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms
r2#show ip route | b Gate
Gateway of last resort is not set

R     1.0.0.0/8 [120/1] via 12.0.0.1, 00:00:24, GigabitEthernet1
      2.0.0.0/32 is subnetted, 1 subnets
C        2.2.2.2 is directly connected, Loopback0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.0.0.0/24 is directly connected, GigabitEthernet1
L        12.0.0.2/32 is directly connected, GigabitEthernet1
r2#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
cisco/labs/00300.1766730516.txt.gz · Last modified: by Name