static and dynamic routing静态和动态路由

上传人:自*** 文档编号:80028445 上传时间:2019-02-18 格式:DOC 页数:5 大小:81.50KB
返回 下载 相关 举报
static and dynamic routing静态和动态路由_第1页
第1页 / 共5页
static and dynamic routing静态和动态路由_第2页
第2页 / 共5页
static and dynamic routing静态和动态路由_第3页
第3页 / 共5页
static and dynamic routing静态和动态路由_第4页
第4页 / 共5页
static and dynamic routing静态和动态路由_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《static and dynamic routing静态和动态路由》由会员分享,可在线阅读,更多相关《static and dynamic routing静态和动态路由(5页珍藏版)》请在金锄头文库上搜索。

1、Networking BasicsB. KonkothLesson 13 Network LayerStatic and Dynamic RoutingWhen it comes to routing, there is a huge difference between the two types of routing: static and dynamic. Early routers had to be programmed with exactly which networks they could route between which interfaces, especially

2、if there were many network interfaces. This is called static routing, which consists of adding, maintaining, and deleting routes of the network routing devices by the network administrator. In a small company this may not be much of a chore, but for medium to large networks, this can be nearly impos

3、sible. These larger networks almost always employ many logical subnets, which requires you to update the route tables on each routing device. If these remote subnets are connected by routers with static route tables, you have to add the exact static route in order to communicate between the two subn

4、ets.Table below gives you an example of what is contained in the routing table.Destination Adjacent RouterHops Network 1Router A1Network 1Router B2Network 2Router B2Network 2Router C3Network 3Router D3An Example of a Routing TableIn this table you can see how you only specify the router to be used t

5、o reach your destination, not the actual destination itself. Also notice the column for Hops. This is what determines which route is the most efficient, similar to “Name That Tune.” If a route claims it can reach the destination in one fewer hop than the next router, then let him prove it. If there

6、are two identical routes to the same destination, the route with the fewest hops will be used.One change to a network address means visiting every routing device that employs static routing and updating the entry. What do we do if our network is fairly large and complex? We must then use routing dev

7、ices capable of dynamically updating the route tables.Dynamic routing does not require the network administrator to edit complex routing tables in order to communicate with other networks or segments. These routers communicate with each other using a powerful routing protocol such as Routing Informa

8、tion Protocol (RIP) or Open Shortest Path First (OSPF). They can also query other routers for updated route information, which can create more efficient paths for sending packets or locate an alternative route if the original route fails. The routers can broadcast the routes they have discovered to

9、neighboring routers, and, in turn, accept routes from other neighboring routers. The Internet is comprised of many dynamic routers. Could you imaging having to update a static routing table on thousands of static routers? I dont think so.These dynamic routers, however, cannot update the route tables

10、 of static routers or non-dynamic routers. There are a few situations in which integrating static and dynamic routers is acceptable: When you have a router at either end of a slow WAN linkThis router will not increase traffic by broadcasting updated route information to the router on the other end o

11、f the link. When you require a packet to travel the same path each time to a remote networkAdd the path you would like the packet to take in order to reach the destination network. You cannot enter the entire path over several routers, only the path to the first router. When you want to configuring

12、a static router to point towards a dynamic router to take advantage of the dynamic router indirectlyThis is the next best thing to using a dynamic router. You can hand off the packet to the dynamic router and let this router determine the most efficient path to the destination based on the paths it

13、has learned from neighboring dynamic routers.Of course, dynamic routers cost much more. Although you can add static paths to a newer dynamic router, you cannot enable dynamic routing on an older static router. Also, dynamic routing generates continuous traffic from the routers with route update info

14、rmation.Comparing Static and Dynamic RoutingWith just two networks, the static routing setup is the more appropriate. If your network has three or four parallel networks, then static routing may still be useful, although dynamic routing would be easier to set up.However, the actual setup is far more

15、 complex. You cannot simply have the routers route to the other network by assigning the gateway addresses to the other network interface card. This simply moves the packet to the other side when in actual fact the router needs to send the packet on to the specific gateway from that network to the n

16、ext network.Default Gateways and SubnetworksWe have learned that packets are routed to their destination through a web of routers. We have discussed how these routers are updated: either statically or dynamically. What gets the whole process rolling when we are routing packets to remote subnetworks, or subnets for short, is the use of the default gateway. The default gateway is specified on

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号