Cover image for Linux routing
Linux routing
Brockmeier, Joe.
Personal Author:
First edition.
Publication Information:
Indianapolis, Ind. : New Riders, [2002]

Physical Description:
xvii, 328 pages : illustrations ; 23 cm
Title Subject:
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.76.O63 B7427 2002 Adult Non-Fiction Central Closed Stacks

On Order



Routing is an absolute must for the Internet to function. The question for many TCP/IP network administrators is not if they'll require a router for their collection of networks, but which router to use. Routers are typically an expensive purchase, but Linux is fully capable of taking over many routing tasks for a mere fraction of the cost of other solutions. It has even been used to build network routing appliances. For intermediate level Linux system administrators who want to use Linux for a routing solution, this text provides coverage of routing solutions that can be set up on a Linux box, what Cisco routers can do, and routing tools and stategies available in Linux.

Author Notes

Dee-Ann LeBlanc has a long and varied history of computer and networking experience. As a Director of Renaissoft, Inc., Dee-Ann helps to provide computer and network services using a variety of platforms. She is the company's representative to the local Linux community, participating in the local Linux Users Group by both attending meetings and giving presentations. She has also spoken at Comdex Canada West and Technical Certification Expo on the topic of Linux. A regular instructor and course developer as well as writer, Dee-Ann received the award of Excellence in the Society for Technical Communication's International Technical Publications competition. Joe "Zonker" Brockmeier has been using Linux since 1996, and writing about it nearly as long. He has written and contributed to several books about Linux and Open Source technologies, and is a contributing editor for Linux Magazine and He has also written for IBM developerWorks, Enterprise Linux Magazine, Sys Admin and Enterprise Systems Journal. Ronald W. McCarty, Jr. is a Senior System Engineer for Sonus Networks, an industry leader in next generation networking His current Responsibilities include presale design and support of carrier class network products. Ronald has published articles on the RADIUS protocol, IP security including intrusion detection, and other networking subjects. He currently writes the monthly column "Net Admin" for Sys Admin magazine.

Table of Contents

Introductionp. xv
I Routing Basics
1 Unicast Protocolsp. 3
The Example Networkp. 4
Static Routingp. 8
Routing Information Protocol Version 1 (RIP-1)p. 8
Routing Information Protocol Version 2 (RIP-2)p. 18
Open Shortest Path First (OSPF)p. 21
Summaryp. 36
2 Multicast Protocolsp. 37
Routing Information Protocol Version 2 (RIP-2)p. 37
Multicast Open Shortest Path First (MOSPF)p. 38
Distance Vector Multicast Routing Protocol (DVMRP)p. 39
Protocol Independent Multicastp. 47
Summaryp. 53
3 Introduction to Border Routing Protocolsp. 55
Interior Gateway Protocol (IGP)p. 55
Exterior Gateway Protocol (EGP)p. 56
Border Gateway Protocol (BGP)p. 58
Border Gateway Multicast Protocol (BGMP)p. 61
Multicast Source Discovery Protocol (MSDP)p. 63
Summaryp. 64
4 IPv4 and IPv6 Addressingp. 65
IPv4 Addressingp. 65
Classless IPv4 Addressingp. 73
IPv6 Addressingp. 80
Summaryp. 86
II Linux Routing Issues and Technologies
5 Inside The Unicast Kernel 2.2.x Daemonsp. 89
Guide to routedp. 89
Guide to gatedp. 92
Summaryp. 139
6 Inside the Multicast Kernel 2.2.x Daemonsp. 141
The PIM-SM Linux Daemon: pimdp. 141
The DVMRP Daemon: mroutedp. 144
Summaryp. 147
7 Kernel Support Toolsp. 149
PPP Overviewp. 150
PPP for Linuxp. 156
rip2adp. 161
Summaryp. 163
8 Kernel 2.4.x Routing Daemonsp. 165
Changes from 2.2.x to 2.4.xp. 165
Other Networking Linux 2.4.x Kernel Optionsp. 167
Virtual Private Networksp. 169
Summaryp. 171
9 Inside the Commandsp. 173
ifconfigp. 173
routep. 180
pingp. 183
Address Resolution Protocol (ARP)p. 184
traceroutep. 187
netstatp. 190
tcpdumpp. 194
Summaryp. 201
10 Planning Basic Router Layout and Functionp. 203
Introduction to Network Planningp. 203
Effective Router Management Through Managed Routing Tablesp. 209
Special Case Routing Functionsp. 213
Summaryp. 217
11 Linux Routing Basicsp. 219
LAN Routing Basicsp. 219
WAN Routing Basicsp. 223
VPN Routing Basicsp. 225
Summaryp. 226
12 Network Hardware Components, Technology, and Solutionsp. 227
Analog Communications and Modemsp. 227
Cable Modemsp. 234
Digital Subscriber Linep. 236
Data Networking with Routersp. 238
Summaryp. 243
13 Building a Routing Kernelp. 245
Why Build?p. 245
Building the Linux Kernelp. 248
Special Function Distributionsp. 254
Summaryp. 257
14 Security and NAT Issuesp. 259
Packet Filtering and Packet Mangling with Your Routerp. 260
IP Masqueradingp. 268
Network Address Translation (NAT)p. 270
Summaryp. 272
15 Monitoring, Analyzing, and Controlling Network Trafficp. 273
Monitoring and Analysis Toolsp. 273
Quality of Service (QoS)p. 294
Summaryp. 297
III Appendixes
A Linux Routing Resourcesp. 301
Linux Routing Daemonsp. 301
Linux Routing and Traffic Management Toolsp. 302
Related Resourcesp. 303
Official Reference Documentsp. 304
B Linux Hardware Routing Solutionsp. 305
Standalone Linux Routersp. 305
Routing Cards That Work With Linuxp. 306
Indexp. 307