RE: OSPF : Commands Doubt.

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Tue Nov 09 2004 - 23:00:37 GMT-3


Swaroop,

        The wildcard mask is simply used to determine which bits in the
address field are significant. For example, to change the distance to
100 for routes matched in access-list 1 from all sources the syntax
would read:

distance 100 0.0.0.0 255.255.255.255 1

        To match routes only learned from 1.2.3.4:

distance 100 1.2.3.4 0.0.0.0

        If your syntax worked by matching the access-list of the
neighbor then it was just coincidental that the originating address and
the neighbor address fall within that range.

HTH,

Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/

> -----Original Message-----
> From: Swaroop Potdar [mailto:swarooppotdar@hotmail.com]
> Sent: Tuesday, November 09, 2004 5:29 PM
> To: Brian McGahan; ccielab@groupstudy.com
> Subject: RE: OSPF : Commands Doubt.
>
>
> Hi Brian,
>
> Thanks!
>
> I was trying to actually match the source /next hop address with a /32
> mask
>
> but actually i think the right thing was to use the actual mask for
that
> source address, which can be verified by " sh ip route (source
address)"
>
>
>
>
> >From: "Brian McGahan" <bmcgahan@internetworkexpert.com>
> >To: "Swaroop Potdar"
<swarooppotdar@hotmail.com>,<ccielab@groupstudy.com>
> >Subject: RE: OSPF : Commands Doubt.
> >Date: Tue, 9 Nov 2004 10:47:05 -0500
> >
> >Swaroop,
> >
> > You don't want to match on the next-hop IP address. Instead you
> >need to match the route source. This is the address seen in the
"from
> >w.x.y.z" field when you do a "show ip route a.b.c.d", where a.b.c.d
is
> >the prefix in question.
> >
> >
> >HTH,
> >
> >Brian McGahan, CCIE #8593
> >bmcgahan@internetworkexpert.com
> >
> >Internetwork Expert, Inc.
> >http://www.InternetworkExpert.com
> >Toll Free: 877-224-8987 x 705
> >Outside US: 775-826-4344 x 705
> >24/7 Support: http://forum.internetworkexpert.com
> >Live Chat: http://www.internetworkexpert.com/chat/
> >
> >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
Behalf
> >Of
> > > Swaroop Potdar
> > > Sent: Tuesday, November 09, 2004 8:41 AM
> > > To: ccielab@groupstudy.com
> > > Subject: OSPF : Commands Doubt.
> > >
> > > Hi,
> > >
> > > Since the command for changing the distance is available on a per
hop
> > > basis
> > > in OSPF it doesnt seem to work.
> > >
> > > distance x (ip address next-hop) (mask) (acceslist matching
routes)
> > >
> > > distance x 10.1.1.1 255.255.255.0 1
> > >
> > > Is this fundamental or ??
> > >
> > > and also the
> > >
> > > default-information originate [route-map] always
> > > doesnt work when the route matched in the route map vanishes in
OSPF.
> > >
> > > Without the route-map it just works fine.
> > >
> > > Can some pls provide some inputs on these topics...
> > >
> > > Thanks,
> > >
> > > Swaroop.
> > >
> > > Regards,
> > > Swaroop.
> > > ------------------------------------------------------------------
> > > Life Is Short & Sweet.
> > > Live It To The Fullest.
> > > ------------------------------------------------------------------
> > >
> > > _________________________________________________________________
> > > Mergers, takeovers, buyouts. Get all the latest biz bytes.
> > > http://www.msn.co.in/business/ Tune in to MSN Business!
> > >
> > >
>
>_______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
>
>
> Regards,
> Swaroop.
> ------------------------------------------------------------------
> Life Is Short & Sweet.
> Live It To The Fullest.
> ------------------------------------------------------------------
>
> _________________________________________________________________
> The happening world of BPO! Know all that you need to know!
> http://www.bpowatchindia.com/msn/ Keep in step with what's hot!



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:41 GMT-3