From: Kevin Baumgartner (kbaumgar@xxxxxxxxx)
Date: Tue Sep 19 2000 - 23:03:06 GMT-3
Yes in your example you don't need the metric. But I always do this
as it's a good practice to get into especially when you distributing
another routing protocol (RIP, EIGRP, BGP) into OSPF. If you don't have
this metric or a default metric defined you may not get any redistributed
routes.
And no I didn't look at Cisco's home page :)
Kevin
>
> Sweet! You actually don't need that metric 10 in there though. Did you look
> on Cisco's home page and cheat? :)
>
> ----- Original Message -----
> From: "Kevin Baumgartner" <kbaumgar@cisco.com>
> To: <tvarriale@telocity.com>
> Cc: <ccielab@groupstudy.com>
> Sent: Tuesday, September 19, 2000 8:49 PM
> Subject: Re: Hello out thar!
>
>
> > On router R1
> >
> > Add a metric and subnet to the "redistribute static".
> >
> > router ospf 1
> > redistribute static metric 10 subnets
> >
> > Kevin
> >
> > >
> > > I have an intro scenario to warm you guys and gals up :) Lets say you =
> > > are running OSPF between 2 routers with a serial link between the two.
> =
> > > In the first router, I would like to enter a static route and =
> > > redistribute it into OSPF. But, for some reason, the static route shows
> =
> > > up in R1's table as a static route (good) but does not show up in R2's =
> > > routing table (bad). =20
> > >
> > > For example:
> > >
> > > versions of IOS are 11.3
> > >
> > > R1:
> > >
> > > interface s1
> > > ip address 192.168.1.1 255.255.255.0
> > >
> > > router ospf 1
> > > redistribute static
> > > network 192.168.1.0 0.0.0.255 area 0
> > >
> > > ip route 10.1.1.0 255.255.255.0 192.168.1.2
> > >
> > > R2:
> > >
> > > interface s1
> > > ip address 192.168.1.2 255.255.255.0
> > >
> > > router ospf 1
> > > network 192.168.1.0 0.0.0.255 area 0
> > >
> > > Tony
> > >
> > > ------=_NextPart_000_0041_01C02279.B5089680
> > > Content-Type: text/html;
> > > charset="Windows-1252"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > <HTML><HEAD>
> > > <META http-equiv=3DContent-Type content=3D"text/html; =
> > > charset=3Dwindows-1252">
> > > <META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
> > > <STYLE></STYLE>
> > > </HEAD>
> > > <BODY bgColor=3D#ffffff>
> > > <DIV><FONT face=3DArial size=3D2>I'm Tony Varriale from out the Chicago
> =
> > > way. I=20
> > > work for a Silver Partner, Pathfinders Networking, as a network=20
> > > engineer. The lab has been scheduled for 1/5/01 and am looking =
> > > forward to=20
> > > it :) I am studying from our in house lab, ccbootcamp labs, and=20
> > > vlabs.</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>I have an intro scenario to warm =
> > > you guys and=20
> > > gals up :) Lets say you are running OSPF between 2 routers with a
> =
> > > serial=20
> > > link between the two. In the first router, I would like to enter a
> =
> > > static=20
> > > route and redistribute it into OSPF. But, for some reason, the =
> > > static=20
> > > route shows up in R1's table as a static route (good) but does not show
> =
> > > up in=20
> > > R2's routing table (bad). </FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>For example:</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>versions of IOS are 11.3</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>R1:</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>interface s1</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2> ip address 192.168.1.1=20
> > > 255.255.255.0</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>router ospf 1</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2> redistribute static</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2> network 192.168.1.0 0.0.0.255 =
> > > area=20
> > > 0</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>ip route 10.1.1.0 255.255.255.0=20
> > > 192.168.1.2</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>R2:</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>interface s1</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2> ip address 192.168.1.2=20
> > > 255.255.255.0</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>router ospf 1</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2> network 192.168.1.0 0.0.0.255 =
> > > area=20
> > > 0</FONT></DIV>
> > > <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>Tony</FONT></DIV></BODY></HTML>
> > >
> > > ------=_NextPart_000_0041_01C02279.B5089680--
> > >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:24:58 GMT-3