Re: Configuring ODR

From: Jian Gu (guxiaojian@gmail.com)
Date: Sun Oct 09 2005 - 16:42:23 GMT-3


Kevin,

Could you please elaborate? my understanding is that hub router will always
advertise a default route to spoke router, how do you configure the hub
router such that only networks specified by "network" command under "router
odr" will be advertised to spokes instead of default route?

Although "network" command is configurable under "router odr", the usage is
not documented in DocCD (I am running 12.3)

On 10/9/05, kevin gannon <kevin@gannons.net> wrote:
>
> If you need to get networks into ODR to the spokes then use
> network statements under router odr on the hub router. Sometimes
> its needed if ODR is in the middle of two other protocols and
> a default is not allowed/required.
>
> Regards
> Kevin
>
> On 10/9/05, Anh P Tran <anhtran81@optusnet.com.au> wrote:
> > Hi Mike,
> >
> > With ODR, the spoke will automatically get the default route from the
> hub so
> > you don't need to generate manually. All you need on the hub is to
> > redistribute the odr into your IGP network to get full connectivity. I
> guess
> > an lab would make it better.
> >
> > R3 is the hub and R1 is the spoke
> >
> > Rack1R3#show run int s1/2
> > Building configuration...
> >
> > Current configuration : 106 bytes
> > !
> > interface Serial1/2
> > ip address 158.1.13.3 <http://158.1.13.3>
255.255.255.0<http://255.255.255.0>
> > serial restart_delay 0
> > clockrate 128000
> > End
> >
> > Rack1R3#show run | inc odr|cdp
> > router odr
> > cdp timer 5 <<<< This to speed up the cdp
> >
> > Rack1R1#show run int s0/1
> > Building configuration...
> >
> > Current configuration : 64 bytes
> > !
> > interface Serial0/1
> > ip address 158.1.13.1 <http://158.1.13.1>
255.255.255.0<http://255.255.255.0>
> > End
> >
> > No special configuration on R1 other than CDP enable which is on by
> default
> > for this interface
> >
> > Rack1R1#show ip route
> > Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
> > D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> > N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> > E1 - OSPF external type 1, E2 - OSPF external type 2
> > i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
> > area
> > * - candidate default, U - per-user static route, o - ODR
> > P - periodic downloaded static route
> >
> > Gateway of last resort is 158.1.13.3 <http://158.1.13.3> to network
> 0.0.0.0 <http://0.0.0.0>
> >
> > 158.1.0.0/24 <http://158.1.0.0/24> is subnetted, 2 subnets
> > C 158.1.13.0 <http://158.1.13.0> is directly connected, Serial0/1
> > C 158.1.1.0 <http://158.1.1.0> is directly connected, FastEthernet0/0
> > 150.1.0.0/24 <http://150.1.0.0/24> is subnetted, 1 subnets
> > C 150.1.1.0 <http://150.1.1.0> is directly connected, Loopback0
> > o* 0.0.0.0/0 <http://0.0.0.0/0> [160/1] via
158.1.13.3<http://158.1.13.3>,
> 00:00:01, Serial0/1 <<<< default
> > route generated by the hub
> >
> >
> > Rack1R3#show ip route odr
> > 158.1.0.0/16 <http://158.1.0.0/16> is variably subnetted, 16 subnets, 3
> masks
> > o 158.1.1.0/24 <http://158.1.1.0/24> [160/1] via
158.1.13.1<http://158.1.13.1>,
> 00:00:02, Serial1/2
> > 150.1.0.0/16 <http://150.1.0.0/16> is variably subnetted, 8 subnets, 2
> masks
> > o 150.1.1.0/24 <http://150.1.1.0/24> [160/1] via
158.1.13.1<http://158.1.13.1>,
> 00:00:02, Serial1/2 <<<< routes
> > learned from the spoke
> >
> > Rack1R1#ping 150.1.3.3 <http://150.1.3.3><<< R3 loopback
> >
> > Type escape sequence to abort.
> > Sending 5, 100-byte ICMP Echos to 150.1.3.3 <http://150.1.3.3>, timeout
> is 2 seconds:
> > !!!!!
> > Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/20 ms
> >
> >
> > Hope this help, appreciated any comments on this
> >
> > Anh Tran
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> > mikenoc@mindspring.com
> > Sent: Sunday, 9 October 2005 6:00 PM
> > To: ccielab@groupstudy.com
> > Subject: Configuring ODR
> >
> > I have been playing around with ODR and have a question with this. When
> > configuring ODR it looks like the hub gets all of the networks on the
> > spokes, but the spokes do not get any networks from the hub. Are the
> usual
> > options to configure a default route on the spoke or is it common to
> > redistribute an IGP into the ODR router? I figure its probaby more
> common to
> > just configure a default route on the spokes. Is there a way to send a
> > default route to the spokes via the hub ? I didnt see a default
> information
> > originate command.
> >
> > Thanks,
> >
> > Mike F.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:50 GMT-3