R1

R1#show run
Building configuration...

Current configuration : 1296 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524PAB9-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 bandwidth 128
 ip address 200.100.12.1 255.255.255.252
 clock rate 128000
!
interface Serial0/0/1
 ip address 200.100.13.1 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 passive-interface default
 no passive-interface Serial0/0/0
 auto-cost reference-bandwidth 1000
 network 200.100.1.0 0.0.0.255 area 0
 network 200.100.12.0 0.0.0.3 area 0
 network 200.100.13.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^CAuthorized Access Only!^C
!
!
!
!
!
line con 0
 password cisco
 logging synchronous
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end



R1#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.1.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/0/0            200.100.12.1    YES manual up                    up 
Serial0/0/1            200.100.13.1    YES manual up                    up 
Loopback0              1.1.1.1         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down



R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1/32 is directly connected, Loopback0
     200.100.1.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.1.0/24 is directly connected, GigabitEthernet0/0
L       200.100.1.1/32 is directly connected, GigabitEthernet0/0
O    200.100.2.0/24 [110/657] via 200.100.12.2, 00:19:59, Serial0/0/0
     200.100.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.12.0/30 is directly connected, Serial0/0/0
L       200.100.12.1/32 is directly connected, Serial0/0/0
     200.100.13.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.13.0/30 is directly connected, Serial0/0/1
L       200.100.13.1/32 is directly connected, Serial0/0/1
     200.100.23.0/30 is subnetted, 1 subnets
O       200.100.23.0/30 [110/1294] via 200.100.12.2, 00:19:59, Serial0/0/0



R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
200.100.23.1      0   FULL/  -        00:00:34    200.100.12.2    Serial0/0/0



R1#show ip ospf database
            OSPF Router with ID (200.100.13.1) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.23.2    200.100.23.2    2188        0x80000005 0x0028b2 5
200.100.23.1    200.100.23.1    1304        0x8000000d 0x00c606 4
200.100.13.1    200.100.13.1    1287        0x8000000f 0x00637d 4





R2

R2#show run
Building configuration...

Current configuration : 1296 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX152433B0-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 bandwidth 128
 ip address 200.100.12.2 255.255.255.252
!
interface Serial0/0/1
 ip address 200.100.23.1 255.255.255.252
 clock rate 128000
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 passive-interface default
 no passive-interface Serial0/0/0
 auto-cost reference-bandwidth 1000
 network 200.100.2.0 0.0.0.255 area 0
 network 200.100.12.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^CAuthorized Access Only!^C
!
!
!
!
!
line con 0
 password cisco
 logging synchronous
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end


R2#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.2.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/0/0            200.100.12.2    YES manual up                    up 
Serial0/0/1            200.100.23.1    YES manual up                    up 
Loopback0              2.2.2.2         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down



R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2/32 is directly connected, Loopback0
O    200.100.1.0/24 [110/657] via 200.100.12.1, 00:24:08, Serial0/0/0
     200.100.2.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.2.0/24 is directly connected, GigabitEthernet0/0
L       200.100.2.1/32 is directly connected, GigabitEthernet0/0
     200.100.12.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.12.0/30 is directly connected, Serial0/0/0
L       200.100.12.2/32 is directly connected, Serial0/0/0
     200.100.13.0/30 is subnetted, 1 subnets
O       200.100.13.0/30 [110/1294] via 200.100.12.1, 00:23:58, Serial0/0/0
     200.100.23.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.23.0/30 is directly connected, Serial0/0/1
L       200.100.23.1/32 is directly connected, Serial0/0/1



R2#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
200.100.13.1      0   FULL/  -        00:00:34    200.100.12.1    Serial0/0/0



R2#show ip ospf database
            OSPF Router with ID (200.100.23.1) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.23.2    200.100.23.2    2113        0x80000006 0x00039c 4
200.100.23.1    200.100.23.1    1532        0x8000000d 0x00c606 4
200.100.13.1    200.100.13.1    1515        0x8000000f 0x00637d 4




R3


R3#show run
Building configuration...

Current configuration : 1281 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO2901/K9 sn FTX1524A0Q9-
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface GigabitEthernet0/0
 ip address 200.100.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 200.100.13.2 255.255.255.252
 clock rate 128000
!
interface Serial0/0/1
 ip address 200.100.23.2 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 passive-interface default
 no passive-interface Serial0/0/0
 auto-cost reference-bandwidth 1000
 network 200.100.3.0 0.0.0.255 area 0
 network 200.100.13.0 0.0.0.3 area 0
 network 200.100.23.0 0.0.0.3 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^CAuthorized Access Only!^C
!
!
!
!
!
line con 0
 password cisco
 logging synchronous
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end



R3#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     200.100.3.1     YES manual up                    up 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
Serial0/0/0            200.100.13.2    YES manual up                    up 
Serial0/0/1            200.100.23.2    YES manual up                    up 
Loopback0              3.3.3.3         YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down



R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3/32 is directly connected, Loopback0
     200.100.3.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.3.0/24 is directly connected, GigabitEthernet0/0
L       200.100.3.1/32 is directly connected, GigabitEthernet0/0
     200.100.13.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.13.0/30 is directly connected, Serial0/0/0
L       200.100.13.2/32 is directly connected, Serial0/0/0
     200.100.23.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.100.23.0/30 is directly connected, Serial0/0/1
L       200.100.23.2/32 is directly connected, Serial0/0/1



R3#show ip ospf neighbor


-----





R3#show ip ospf database
            OSPF Router with ID (200.100.23.2) (Process ID 1)

                Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
200.100.13.1    200.100.13.1    2511        0x80000008 0x00c20a 4
200.100.23.1    200.100.23.1    2352        0x80000008 0x00ecb4 4
200.100.23.2    200.100.23.2    263         0x8000000d 0x008452 3



PING RESULT FROM PC-A TO PC-B:


C:\>ping 200.100.2.3

Pinging 200.100.2.3 with 32 bytes of data:

Reply from 200.100.2.3: bytes=32 time=4ms TTL=126
Reply from 200.100.2.3: bytes=32 time=1ms TTL=126
Reply from 200.100.2.3: bytes=32 time=3ms TTL=126
Reply from 200.100.2.3: bytes=32 time=3ms TTL=126

Ping statistics for 200.100.2.3:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 4ms, Average = 2ms

