>TO add my contribution:
>OSPF uses Dijkstra algorithm,to choose the lowest cost link for
>route selection.
>The route with the lowest cost is selected as primary route.
>and the costs of the local router is added to the cost required to
>reach the destination.also one must remember the change in the Link
>Status changes the cost of the link itself.
>hope this throws some light on the route selection procedure in OSPF.
>regds
>KK
Minor clarifications:
The Dijkstra algorithm proper is only used to choose the lowest-cost
intra-area routes in non-backbone areas. Once the Dijkstra runs, a
second pass adds, in order, the lowest cost inter-area, external type
1, and external type 2 routes to destinations not already in the
working route table (a temporary structure not really displayable)
for the area.
>
>
>
>From: "Atif Awan" <[EMAIL PROTECTED]>
>Reply-To: "Atif Awan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: OSPF !!!
>Date: Wed, 14 Jun 2000 21:32:44 -0500
>
>Priority does not affect route selection; it is only for the DR election
>process in OSPF.
>
>Cost does affect route selection. OSPF determines the best route to a
>destination based upon the metric called cost. By default cost is calculated
>using the formula :
>
>Cost = 10exp8/ bandwidth of the interface ( i think so :) )
>
>You need to set the correct bandwidth for serial links using the bandwidth
>command. Make sure you understand that the bandwidth command is just an
>informational command that tells the different routing protocols about the
>actual bandwidth of an interface. This command has nothing to do with the
>data transmission rate.
>
>Regards
>Atif Awan
>
>-----Original Message-----
>From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Wednesday, June 14, 2000 9:22 PM
>Subject: OSPF !!!
>
>
> >Hello everyone!
> >
> >I have a bit of confusion with how to route selection occurs in OSPF by
> >icluding the following commands Please shade some light on this
> >
> >Ok here comes
> >
> >does cost and priority affects route selection ??
> >
> >1. router ospf 3
> > network 158.13.0.0 0.0.255.255 area 0
> > default-information originate
> > default-metric 1
> > distance 85
> > ip ospf cost 10
> > ip ospf priority 4
> >
> >
> >2 router ospf 3
> > network 158.13.0.0 0.0.255.255 area 0
> > default-information originate
> > default-metric 1
> > distance 85
> > ip ospf cost 20
> > ip ospf priority 5
> >
> >Thanks,
> >Elias
> >
> >____________________________________________________________________
> >Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> >___________________________________
> >UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
> >FAQ, list archives, and subscription info: http://www.groupstudy.com
> >Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> >
>
>___________________________________
>UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
>FAQ, list archives, and subscription info: http://www.groupstudy.com
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>___________________________________
>UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
>FAQ, list archives, and subscription info: http://www.groupstudy.com
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
___________________________________
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]