We help IT Professionals succeed at work.

static and dynamic route

jackson_rex
jackson_rex asked
on
Medium Priority
758 Views
Last Modified: 2011-10-03
what happened when we give static route in one route and dynamic route (rip) in another route. can we do this. is there any routers that doesnt support RARP. if then which is better static route or dynamic route or something else.
Comment
Watch Question

Commented:
In my opinion dynamic routes are a better for reliability as they will automatically re-configure themselves should a link go down.

Static routes are only really useful for 'stub' networks because of the problems faced through re-configuration should the static link die.

Author

Commented:
i didn't ask about that!!
can we have both static and dynamic routes in the same router or network.is there any routers that doesnt support RARP. if then which is better, static route or dynamic
route or something else.
Commented:
Your question is a tad confusing.  I am not quite making the connection between RARP and static/dynamic routes.

Anyway - firstoff you can certainly have both static and dynamic routes on the same router.  This is extremely common.  For that matter, you can have any number of different route types (i.e. static, RIP, OSPF, etc).  Just remember that if you have multiple route sources for a single route, the router will choose one source as the "most trusted".  On Cisco routers this is done with administrative distance - the lowest one wins.  For example, an OSPF route has an AD of 120 and a static has an AD of 2 or 1 (depending on the static type).  Therefore, if you have 1 route with both an OSPF entry and a static entry, the static will win (statics are set up to basically always win).  However, you do have the ability when creating a static route to change the AD for that route to make the dynamic route preferred.  This is called a floating static route.

On the RARP issue, I don't know if there are any that don't support it.  I do know that Cisco routers will attempt to gain an IP address via RARP if you have not given it a static address.  You can see more about RARP here:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_c/ipcprt1/1cdipadr.htm

Hope that helps.

Commented:
The previous comment is correct, although I will add that static routes are not advertised by routing protocols such as OSPF, RIP, and EIGRP by default.  You will need to enter the command

router(config)#router EIGRP 1     (or RIP, OSPF, etc.)
router(config)#redistribute static

specify a "floating static route" using the principles listed above:

router(config)#ip route 192.168.20.0 255.255.255.0 172.18.17.13 240

note the higher administrative distance at the end of the statement.  These types of routes are used for backup interfaces, such as BRI lines or Async.  The backup interface will be designated as a passive interface in regards to routing protocol updates.  ex.

router(config)#router EIGRP 1
router(config)#passive-interface bri0

this means the bri interface will only pick up if routing updates or no longer received on the primary link (such as a T1).  We know this, because the router will not elect to use a path with a higher cost normally, only if it is the only one available.  Remember also, that EIGRP and OSPF will load balance accross EQUAL COST LINKS -which is not the case here.  As far as a static being better than a dynamic, it depends.  Static routes can be viewed simply by doing a "show run", while dynamic require a "show ip route" command.  Also, if you are using only static routes, there is no routing protocol traffic on your network.  RIP will broadcast every 30 seconds -other protocols, such as EIGRP will send out hello packets depending on link speed.  

One more note!  If you are using RIP version 1 as a routing protocol, it does not broadcast the subnet mask to neighboring routers -meaning that if you are using complex subnetting techniques such as VLSM or supernetting, you will have inconsistant routing.  Static routes DO send the mask, and are therefore more reliable in this situation.  It should be mentioned that EIGRP and RIP version 2 do send the mask and support VLSM (variable link subnet masks).  You can activate RIP version 2 by typing

router(config)#router rip
       (config-router)#ver 2

this should do it.  feel free to have me clarify any of this.

ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if still open in seven days.  Please post closing recommendations before that time.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, please comment to advise the other participants why you wish to do this.

For special handling needs, please post a zero point question in the link below and include the question QID/link(s) that it regards.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Please click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.  Anytime you have questions which are LOCKED with a Proposed Answer but does not serve your needs, please reject it and add comments as to why.  In addition, when you do grade the question, if the grade is less than an A, please add a comment as to why.  This helps all involved, as well as future persons who may access this item in the future to seek help.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.11611039.html
http://www.experts-exchange.com/questions/Q.11696558.html
http://www.experts-exchange.com/questions/Q.11696598.html
http://www.experts-exchange.com/questions/Q.11696658.html
http://www.experts-exchange.com/questions/Q.11696778.html
http://www.experts-exchange.com/questions/Q.11737018.html
http://www.experts-exchange.com/questions/Q.11768438.html
http://www.experts-exchange.com/questions/Q.11882498.html
http://www.experts-exchange.com/questions/Q.20056691.html
http://www.experts-exchange.com/questions/Q.20104446.html
http://www.experts-exchange.com/questions/Q.20104450.html
http://www.experts-exchange.com/questions/Q.20104452.html
http://www.experts-exchange.com/questions/Q.20104455.html
http://www.experts-exchange.com/questions/Q.20104458.html
http://www.experts-exchange.com/questions/Q.20120156.html
http://www.experts-exchange.com/questions/Q.20131992.html
http://www.experts-exchange.com/questions/Q.20149888.html
http://www.experts-exchange.com/questions/Q.20151931.html
http://www.experts-exchange.com/questions/Q.20151936.html
http://www.experts-exchange.com/questions/Q.20197493.html
http://www.experts-exchange.com/questions/Q.20206446.html
http://www.experts-exchange.com/questions/Q.20197489.html
http://www.experts-exchange.com/questions/Q.20241434.html


To view your locked questions, please click the following link(s) and evaluate the proposed answer.
http://www.experts-exchange.com/questions/Q.11696738.html
http://www.experts-exchange.com/questions/Q.20151921.html
http://www.experts-exchange.com/questions/Q.20151934.html
http://www.experts-exchange.com/questions/Q.20197496.html

PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643

Moderators will finalize this question if still open in 7 days, by either moving this to the PAQ (Previously Asked Questions) at zero points, deleting it or awarding expert(s) when recommendations are made, or an independent determination can be made.  Expert input is always appreciated to determine the fair outcome.
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.
Comment from expert accepted as answer.

Computer101
E-E Moderator

Explore More ContentExplore courses, solutions, and other research materials related to this topic.