您的位置:首页 > 其它

Chapter 4. IP Routing

2009-12-30 20:46 351 查看

Chapter 4. IP Routing

Table of Contents

4.1. Introduction to Linux Routing4.2. Routing to Locally Connected Networks4.3. Sending Packets Through a Gateway4.4. Operating as a Router4.5. Route Selection4.5.1. The Common Case4.5.2. The Whole Story4.5.3. Summary4.6. Source Address Selection4.7. Routing Cache4.8. Routing Tables4.8.1. Routing Table Entries (Routes)4.8.2. The Local Routing Table4.8.3. The Main Routing Table4.9. Routing Policy Database (RPDB)4.10. ICMP and Routing4.10.1. MTU, MSS, and ICMP4.10.2. ICMP Redirects and Routing

Routing is fundamental to the design of the Internet Protocol. IP routing has been cleverly designed to minimize the complexity for leaf nodes and networks. Linux can be used as a leaf node, such as a workstation, where setting the IP address, netmask and default gateway suffices for all routing needs. Alternatively, the same routing subsystem can be used in the core of a network connecting multiple public and private networks.

This chapter will begin with the basics of IP routing with linux, routing to locally connected destinations, routing to destinations through the default gateway, and using linux as a router. Subsequent topics will include the kernel's route selection algorithm, the routing cache, routing tables, the routing policy database, and issues with ICMP and routing.

The precinct of this documentation is primarily static routing. Though dynamic routing is important to large networks, Internet service providers, and backbone providers, this documentation is targetted for smaller networks, particularly networks which use static routing. Nonetheless, the concepts governing the manipulation of a packet in the kernel, and how routing decisions are made by the kernel are applicable to dynamic routing environments.

The linux routing subsystem has been designed with large scale networks in mind, without forgetting the need for easy configurability for leaf nodes, such as workstations and servers.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: