Observe the following exhibit. Which path will be preferred by traffic destined to 10.1.3.1 and
arriving at R1?
A.
Through R3, because R1 will only have a summary (type 3) LSA from R2
B.
Through R2, since it is the path through Area 0
C.
Through R3, since that is the lowest cost path (10+10 = 20, which is lower than 100)
D.
Through R2; this is the only path available for R1 to reach 10.1.3.0/24, since R3 is in a different
autonomous system than R1 and R2
Explanation:
Here is the configuration in a lab environment along with the results. All routers are 3725 routers
R1
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
ip ospf cost 100duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.4.1 255.255.255.0
ip ospf cost 10
duplex auto
speed auto
!
router ospf 100
log-adjacency-changes
network 10.1.1.0 0.0.0.255 area 0
network 10.1.4.0 0.0.0.255 area 1
R2
interface Loopback0
ip address 10.1.3.2 255.255.255.0
!
interface FastEthernet0/0
ip address 10.1.1.2 255.255.255.0
ip ospf cost 100
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.2.2 255.255.255.0
ip ospf cost 10
duplex auto
speed auto
!
router ospf 100
log-adjacency-changes
network 10.1.1.0 0.0.0.255 area 0
network 10.1.2.0 0.0.0.255 area 0
network 10.1.3.0 0.0.0.255 area 0
R3
interface FastEthernet0/0
ip address 10.1.2.3 255.255.255.0
ip ospf cost 10
duplex autospeed auto
!
interface FastEthernet0/1
ip address 10.1.4.3 255.255.255.0
ip ospf cost 10
duplex auto
speed auto
!
router ospf 200
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 1
R1 Additional information
R1#sh ip route
Codes: 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
i – IS-IS, su – IS-IS summary, 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
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O 10.1.2.0/24 [110/20] via 10.1.4.3, 00:07:44, FastEthernet0/1
O 10.1.3.2/32 [110/101] via 10.1.1.2, 00:04:48, FastEthernet0/0
C 10.1.1.0/24 is directly connected, FastEthernet0/0
C 10.1.4.0/24 is directly connected, FastEthernet0/1
R1#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
10.1.3.2 1 FULL/BDR 00:00:36 10.1.1.2 FastEthernet0/0
10.1.4.3 1 FULL/BDR 00:00:34 10.1.4.3 FastEthernet0/1
R1#ping 10.1.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/39/72 ms
R1#traceroute 10.1.3.2
Type escape sequence to abort.
Tracing the route to 10.1.3.21 10.1.1.2 44 msec * 40 msec