Re: Route Tagging with Default Route

From: garry baker <baker.garry_at_gmail.com>
Date: Thu, 7 Oct 2010 09:34:20 -0500

yeah i got it to work, needed to set my RIP to v2 and no auto-summary

i am seeing the same thing now, no tag on the 0.0.0.0 route from OSPF,
interesting it does come with a tag to my R2 router from my R1 router with a
tag of 1:

R2(config-router)#do sh ip route 0.0.0.0
Routing entry for 0.0.0.0/0, supernet
  Known via "ospf 1", distance 110, metric 1, candidate default path
  Tag 1, type extern 2, forward metric 10
  Redistributing via rip
  Last update from 10.12.12.1 on FastEthernet0/0, 00:02:30 ago
  Routing Descriptor Blocks:
  * 10.12.12.1, from 100.100.100.100, 00:02:30 ago, via FastEthernet0/0
      Route metric is 1, traffic share count is 1
      Route tag 1

from my debug it appears that the 0.0.0.0/0 route is treated the same as the
10.12.12.0/24 (in my lab that is the link between R1 and R2) and gets a tag
of 0:

R2#debug ip rip
RIP protocol debugging is on
R2#clear ip rou
R2#clear ip route *
R2#
*Mar 1 00:32:24.943: RIP: sending v2 update to 224.0.0.9 via
FastEthernet0/1 (10.23.23.2)
*Mar 1 00:32:24.943: RIP: build update entries
*Mar 1 00:32:24.943: 0.0.0.0/0 via 0.0.0.0, metric 11, tag 0
*Mar 1 00:32:24.947: 10.12.12.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 00:32:24.947: 100.100.100.100/32 via 0.0.0.0, metric 11, tag 110
*Mar 1 00:32:24.947: 200.200.200.200/32 via 0.0.0.0, metric 1, tag 200

--
Garry L. Baker
"There is no 'patch' for stupidity." - www.sqlsecurity.com
On Thu, Oct 7, 2010 at 9:29 AM, Muzammil Malick <malickmuz_at_gmail.com> wrote:
> Bob, that is very interesting, because it is probably exactly what I
> am seeing, I just never saw the early debug that shows the tag being
> added and then removed later.
>
> Gary, myself and Bob are able to get at least some routes tagged, it
> is the default that is the problem.
>
> My config is as follows:
>
>
> route-map OSPF2RIP permit 10
> set tag 110
>
> router rip
> redistribute ospf 1 metric 5 route-map OSPF2RIP
>
> I don't have the complete config because im at work at the moment.
>
> On 7 October 2010 15:20, garry baker <baker.garry_at_gmail.com> wrote:
> > yeah i miss read that...i thought you were going the other way...
> >
> > i tried this with a simple 3 router setup R1 <-> R2 <-> R3
> >
> > and i cannot get any tags on the OSPF2RIP routes when i redistribute with
> > the route-map
> >
> > but the other way RIP2OSPF works like a charm with the tag keyword in
> ospf
> >
> > i am using  Version 12.4(15)T14 on GNS3 for my lab
> >
> > what does your config look like?
> >
> > --
> > Garry L. Baker
> >
> > "There is no 'patch' for stupidity." - www.sqlsecurity.com
> >
> >
> > On Thu, Oct 7, 2010 at 9:01 AM, Muzammil Malick <malickmuz_at_gmail.com>
> wrote:
> >>
> >> Gary, not sure if I understand?
> >>
> >> the route is originated in OSPF using default-information-originate,
> >> but the routes are not being tagged when they are redistributed into
> >> RIP. Did you get this the wrong way round below or am I
> >> misunderstanding you?
> >>
> >>
> >>
> >> On 7 October 2010 14:50, garry baker <baker.garry_at_gmail.com> wrote:
> >> > if the route is originated by OSPF, then it will not be 'tagged' as
> RIP
> >> > routes are sent into OSPF...
> >> >
> >> > is there a way to make the default a RIP route and see if the tag
> shows
> >> > up
> >> > after redistribution?
> >> >
> >> > --
> >> > Garry L. Baker
> >> >
> >> > "There is no 'patch' for stupidity." - www.sqlsecurity.com
> >> >
> >> >
> >> > On Thu, Oct 7, 2010 at 5:25 AM, Muzammil Malick <malickmuz_at_gmail.com>
> >> > wrote:
> >> >>
> >> >> Hi Guys
> >> >>
> >> >> Hope someone can help me out.
> >> >>
> >> >> I am redistributing routes into RIP from OSPF. I have a route-map
> that
> >> >> sets a tag on the routes as they are redistributed into RIP.
> >> >> The problem is that all the routes seem to be tagged apart from the
> >> >> default route. The default route which is originated in OSPF always
> >> >> seems to have a tag of "0" when I debug RIP updates, however all the
> >> >> other routes have the correct tag of "110"
> >> >>
> >> >> Any ideas?
> >> >>
> >> >> Thanks
> >> >>
> >> >>
> >> >> Blogs and organic groups at http://www.ccie.net
> >> >>
> >> >>
> _______________________________________________________________________
> >> >> Subscription information may be found at:
> >> >> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Oct 07 2010 - 09:34:20 ART

This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:05 ART