From: Ajay Prakash (ajay.prakash@networkpeople.co.in)
Date: Thu Sep 20 2007 - 05:01:24 ART
Hello,
I have some problems with changing the AD in OSPF. I am trying to change the
distance or some routes learned by a neighbor to 109. However when I see the
routing table, it seems that the AD is changed only for one network (which
is directly connected to neighnor). Please help me understand this behavior.
Rack1R5#sh run | s ospf
router ospf 1
router-id 150.1.5.5
log-adjacency-changes
network 139.1.15.5 0.0.0.0 area 1
network 139.1.25.5 0.0.0.0 area 1
distance 109 150.1.1.1 0.0.0.0 FROM_R1 ---------------> I want to change
distance for specific networks learned from this neighbor. 150.1.1.1 is the
router id of neighbor
Rack1R5#sh access-lists
Standard IP access list FROM_R1
40 permit 139.1.11.0 (3 matches)
10 permit 139.1.2.0 (3 matches)
50 permit 139.1.0.0 (3 matches)
20 permit 139.1.6.0 (3 matches)
30 permit 139.1.7.0 (3 matches)
Rack1R5#sh ip ospf neigh
Neighbor ID Pri State Dead Time Address Interface
150.1.2.2 0 FULL/ - 00:00:38 139.1.25.2
Serial0/0.52
150.1.1.1 0 FULL/ - 00:00:30 139.1.15.1
Serial0/0.51 --------------> This neighbor is connected by a point to
point frame relay sub-interface
Rack1R5#sh ip route ospf
139.1.0.0/16 is variably subnetted, 14 subnets, 2 masks
O IA 139.1.11.0/24 [109/65] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 139.1.13.0/24 [110/128] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 139.1.2.0/24 [110/65] via 139.1.25.2, 00:00:15, Serial0/0.52
O IA 139.1.0.0/24 [110/138] via 139.1.25.2, 00:00:15, Serial0/0.52
[110/138] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 139.1.6.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
[110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 139.1.7.0/24 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
[110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 139.1.23.0/24 [110/128] via 139.1.25.2, 00:00:15, Serial0/0.52
150.1.0.0/16 is variably subnetted, 8 subnets, 2 masks
O IA 150.1.7.7/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
[110/139] via 139.1.15.1, 00:00:15, Serial0/0.51
O IA 150.1.6.6/32 [110/139] via 139.1.25.2, 00:00:15, Serial0/0.52
[110/139] via 139.1.15.1, 00:00:17, Serial0/0.51
O IA 150.1.3.3/32 [110/129] via 139.1.25.2, 00:00:17, Serial0/0.52
[110/129] via 139.1.15.1, 00:00:17, Serial0/0.51
O 150.1.2.2/32 [110/65] via 139.1.25.2, 00:00:17, Serial0/0.52
O 150.1.1.1/32 [110/65] via 139.1.15.1,
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:14 ART