Re: ISSUE- ROUTE in OSPF DATABASE BUT NOT IN ROUTING TABLE ??

From: Herbert Maosa (asawilunda@googlemail.com)
Date: Wed Aug 15 2007 - 07:46:59 ART


Sure,

If you have put the distribute list to filter routes that came from fa0/1,
then in the routing table you should see those that came from the serial
interface. You can verify by doing show ip route and looking the next hop
interface, it should be pointing to the serial interface after the filter is
applied and working. You dont need to worry about changing costs of you have
applied the filter.

Herbert.

On 8/15/07, NITIN NITIN <ccie_study_123@yahoo.com> wrote:
>
> Hey Thanks,
>
> This is really helpful... just help me with 2 small further querries-----
>
> 1 more clarification why these routes get installed from SErial as next
> hop when I change serial cost to 1?
>
> 2. my requirement is --- not to install routes ( x, y ) from ospf database
> to routing table coming from Fa1/0.........so that they come from ser2/0.1 (
> WITHOUT CHANGING COST )??
>
> Regards
>
>
> *Herbert Maosa <asawilunda@googlemail.com>* wrote:
>
> Distribute List in OSPF does not stop LSA from coming into the OSPF
> Database. Distribute List in OSPF only filters routes that are already in
> the database from being installed in the routing table. You can not filter
> routes this way because LSAs do not advertise routes ( OSPF is link states
> ). LSAs describe link states.
>
> So your filter is saying do not install the OSPF routes matched by
> access-list 111 in the routing table from the OSPF database if those routes
> arrived from Fa0/1.
>
>
> Herbert.
>
>
> On 8/15/07, NITIN NITIN <ccie_study_123@yahoo.com> wrote:
> >
> > Hi Group,
> >
> >
> > I'm again struck ,,, :)
> >
> > I'm doing filtering on a router R5
> > Flteing some routes via R5 ----
> > i see routes filted but they dont come in routing table via R2
> > altought in
> > OSPF database table??????
> >
> > all router OSPF AREA 0 configured
> >
> > R5 Fa1/0 --------SW2------R2
> > | |
> > SE2/0.1 p-2-p Ser 2/0
> > | |
> > ======================
> >
> >
> > Rack1R5
> > FastEthernet0/0 204.12.1.5
> > FastEthernet1/0 137.1.58.5
> > Serial2/0 unassigned
> > Serial2/0.1 137.1.15.5
> > Serial2/0.2 137.1.25.5
> > Serial2/0.4 137.1.45.5
> > Loopback0 150.1.5.5
> >
> > R5----
> >
> > router ospf 1
> > router-id 150.1.5.5
> > log-adjacency-changes
> > network 137.1.25.5 0.0.0.0 area 0
> > network 137.1.58.5 0.0.0.0 area 0
> > network 150.1.5.5 0.0.0.0 area 0
> > distribute-list 111 in FastEthernet1/0
> > !
> > ip classless
> > no ip http server
> > !
> > !
> > access-list 111 deny ip host 137.1.58.8 137.1.28.0 0.0.0.255
> > access-list 111 deny ip host 137.1.58.8 150.1.2.0 0.0.0.255
> > access-list 111 permit ip any any
> > Rack1R5# sh ip route ospf
> > 150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
> > O 150.1.8.8/32 [110/2] via 137.1.58.8, 00:02:37, FastEthernet1/0
> > Rack1R5#sh ip ospf database
> > OSPF Router with ID ( 150.1.5.5) (Process ID 1)
> > Router Link States (Area 0)
> > Link ID ADV Router Age Seq# Checksum Link
> > count
> > 150.1.2.2 150.1.2.2 949 0x80000005 0x00E28D 4<<
> > 150.1.5.5 150.1.5.5 170 0x80000008 0x0025F3 4
> > 150.1.8.8 150.1.8.8 171 0x80000008 0x00B66C 3
> > Net Link States (Area 0)
> > Link ID ADV Router Age Seq# Checksum
> > 137.1.28.2 150.1.2.2 949 0x80000001 0x008A28<<<
> > 137.1.58.8 150.1.8.8 171 0x80000001 0x00D5A6<<<<
> > Rack1R5#
> >
> > Rack1R2#sh ip ospf interface brief
> > Interface PID Area IP Address/Mask Cost State Nbrs
> > F/C
> > Lo0 1 0 150.1.2.2/24 1 LOOP 0/0
> > Fa0/0 1 0 137.1.28.2/24 1 DR 1/1
> > Se2/0 1 0 137.1.25.2/24 64 P2P 1/1
> > Rack1SW2#sh ip ospf interface brief
> > Interface PID Area IP Address/Mask Cost State Nbrs
> > F/C
> > Fa1/5 1 0 137.1.58.8/24 1 DR 1/1
> > Vl28 1 0 137.1.28.8/24 1 BDR 1/1
> > Lo0 1 0 150.1.8.8/24 1 LOOP 0/0
> > Rack1R5#sh ip ospf interface brief
> > Interface PID Area IP Address/Mask Cost State Nbrs
> > F/C
> > Fa1/0 1 0 137.1.58.5/24 1 BDR 1/1
> > Lo0 1 0 150.1.5.5/24 1 LOOP 0/0
> > Se2/0.2 1 0 137.1.25.5/24 64 P2P 1/1
> >
> > WHEN I SHUT THE INTERFACE TO SW2 ------
> > I get routes
> > Rack1R5#sh ip route ospf
> > 150.1.0.0/16 is variably subnetted, 2 subnets, 2 masks
> > O 150.1.8.8/32 [110/2] via 137.1.58.8, 00:08:08, FastEthernet1/0
> > Rack1R5#conf t
> > Rack1R5(config)#int fa 1/0
> > Rack1R5(config-if)#shutdown
> > Rack1R5(config-if)#^Z
> > Rack1R5#sh ip route ospf
> > 137.1.0.0/16 is variably subnetted, 7 subnets, 2 masks
> > O 137.1.28.0/24 [110/65] via 137.1.25.2, 00:00:00, Serial2/0.2
> > O 137.1.58.0/24 [110/66] via 137.1.25.2, 00:00:00, Serial2/0.2
> > 150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks
> > O 150.1.8.8/32 [110/66] via 137.1.25.2, 00:00:00, Serial2/0.2
> > O 150.1.2.2/32 [110/65] via 137.1.25.2, 00:00:00, Serial2/0.2
> >
> >
> > PLEASE ADVISE AND HELP AS YOU U ALL ALWAYS DO ????
> >
> >
> > ---------------------------------
> > Be a better Globetrotter. Get better travel answers from someone who
> > knows.
> > Yahoo! Answers - Check it out.
> >
> > ---------------------------------
> > Boardwalk for $500? In 2007? Ha!
> > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
> > Games.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
>
>
> --
> Kindest regards,
> hm
>
>
> ------------------------------
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads<http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz>at Yahoo! Search.
>
>

-- 
Kindest regards,
hm


This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:11 ART