码迷,mamicode.com
首页 > 其他好文 > 详细

静态路由

时间:2015-07-08 14:30:24      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:

1. Static Routing Implementation

1.1 Static Routing

A router can learn about remote networks in one of two ways:

  • manually - Remote networks are manually entered into the route table using static routes.
  • dynamically - Remote routes are automatically learned using a dynamic routing protocol.

Dynamic VS Static Routing

  Dynamic Routing Static Routing
Configuration complexity Generally independent of the network size Increasees with network size
Topology Changes Automatically adapts to topology changes Administrator intervention required
Scaling Suitable for simple and complex topologies Suitable for simple topologies
Security  Less secure   More secure
Resource Usage  uses CPU, memor, link bandwidth  no extra resources needed
Predicability  route depends on the current topology  route to destiantion is alwasy same

 

Static routing has three primary uses:

  •  Providing ease of routing table maintenance in smaller networks that are not expected to grow significantly.
  •  Routing to and from stub networks.
  •  Using a single default route to represent a path to any network that does not have a more specific match with another route in the routing table.

 

1.2 Types of Static Routes

  •  Standard static route
  •  Default static route
  •  Summary static route
  •  Floating static route

Standard static Routes: connect a specific remote network.

 

Default static routes are used:

  •  When no other routes in the routing table match the packet destination IP address. In other words, when a more specific match does not exist. A common use is when connecting a company‘s edge router to the ISP network.
  •  When a router has only one other router to which it is connected. This condition is known as a stub router.

 

To reduce the number of routing table entries, multiple static routes can be summarized into a single static route if:

  •    The destination networks are contiguous and can be summarized into a single network address.
  •    The multiple static routes all use the same exit interface or next-hop IP address.

 

Floating static routes are static routes that are used to provide a backup path to a primary static or dynamic route, in the event of a link failure.

The floating static route is only used when the primary route is not available.

 

静态路由

标签:

原文地址:http://www.cnblogs.com/elewei/p/4629881.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!