CCIE Professional Development Routing TCP/IP, Volume I, Second EditionBy Jeff Doyle - CCIE No.. Rout ing TCP/ I P, Volum e 1, Second Edit ion, includes pr ot ocol changes and Ciscofeat u
Trang 1CCIE Professional Development Routing TCP/IP, Volume I, Second Edition
By Jeff Doyle - CCIE No 1919, Jennifer Carroll - CCIE No 1402
Publisher : Cisco Pr e ss Pub Dat e: Oct obe r 1 9 , 2 0 0 5
I SBN: 1 - 5 8 7 0 5 - 2 0 2 - 4 Pages: 9 3 6
Table of Cont ent s | I ndex
A det ailed exam inat ion of int er ior r out ing pr ot ocols - - com plet ely updat ed in a new edit ion
A com plet e r evision of t he best - selling fir st edit ion- - w idely consider ed a pr em ier t ext onTCP/ I P r out ing pr ot ocols
A cor e t ext book for CCI E pr epar at ion and a pr act ical r efer ence for net w or k designer s,adm inist r at or s, and engineer s
I ncludes configur at ion and t r oubleshoot ing lessons t hat w ould cost t housands t o lear n in aclassr oom and num er ous r eal- w or ld exam ples and case st udies
Pr aised in it s fir st edit ion for it s appr oachable st yle and w ealt h of infor m at ion, t his new edit ion
pr ovides r eader s a deep under st anding of I P r out ing pr ot ocols, t eaches how t o im plem ent
t hese pr ot ocols using Cisco r out er s, and br ings r eader s up t o dat e pr ot ocol and im plem ent at ionenhancem ent s Rout ing TCP/ I P, Volum e 1, Second Edit ion, includes pr ot ocol changes and Ciscofeat ur es t hat enhance r out ing int egr it y, secur e r out er s fr om at t acks init iat ed t hr ough r out ing
pr ot ocols, and pr ovide gr eat er cont r ol over t he pr opagat ion of r out ing infor m at ion for all t he I Pint er ior r out ing pr ot ocols Rout ing TCP/ I P, Volum e 1, Second Edit ion, pr ovides a det ailed
analysis of each of t he I P int er ior gat ew ay pr ot ocols ( I GPs) I t s st r uct ur e r em ains t he sam e as
t he best - selling fir st edit ion, t hough infor m at ion w it hin each sect ion is enhanced and m odified
t o include t he new developm ent s in r out ing pr ot ocols and Cisco im plem ent at ions What 's New
I n This Edit ion? The fir st edit ion cover s r out ing pr ot ocols as t hey exist ed in 1998 The newbook updat es all cover ed r out ing pr ot ocols and discusses new feat ur es int egr at ed in t he lat estver sion of Cisco I OS Soft w ar e I Pv6, it s use w it h int er ior r out ing pr ot ocols, and it s
int er oper abilit y and int egr at ion w it h I Pv4 ar e also int egr at ed int o t his book Appr oxim at ely 200pages of new infor m at ion ar e added t o t he m ain t ext , w it h som e old t ext r em oved Addit ionalexer cise and solut ions ar e also included
CCIE Professional Development Routing TCP/IP, Volume I, Second Edition
By Jeff Doyle - CCIE No 1919, Jennifer Carroll - CCIE No 1402
Publisher : Cisco Pr e ss Pub Dat e: Oct obe r 1 9 , 2 0 0 5
I SBN: 1 - 5 8 7 0 5 - 2 0 2 - 4 Pages: 9 3 6
Table of Cont ent s | I ndex
A det ailed exam inat ion of int er ior r out ing pr ot ocols - - com plet ely updat ed in a new edit ion
A com plet e r evision of t he best - selling fir st edit ion- - w idely consider ed a pr em ier t ext onTCP/ I P r out ing pr ot ocols
A cor e t ext book for CCI E pr epar at ion and a pr act ical r efer ence for net w or k designer s,adm inist r at or s, and engineer s
I ncludes configur at ion and t r oubleshoot ing lessons t hat w ould cost t housands t o lear n in aclassr oom and num er ous r eal- w or ld exam ples and case st udies
Pr aised in it s fir st edit ion for it s appr oachable st yle and w ealt h of infor m at ion, t his new edit ion
pr ovides r eader s a deep under st anding of I P r out ing pr ot ocols, t eaches how t o im plem ent
t hese pr ot ocols using Cisco r out er s, and br ings r eader s up t o dat e pr ot ocol and im plem ent at ionenhancem ent s Rout ing TCP/ I P, Volum e 1, Second Edit ion, includes pr ot ocol changes and Ciscofeat ur es t hat enhance r out ing int egr it y, secur e r out er s fr om at t acks init iat ed t hr ough r out ing
pr ot ocols, and pr ovide gr eat er cont r ol over t he pr opagat ion of r out ing infor m at ion for all t he I Pint er ior r out ing pr ot ocols Rout ing TCP/ I P, Volum e 1, Second Edit ion, pr ovides a det ailed
analysis of each of t he I P int er ior gat ew ay pr ot ocols ( I GPs) I t s st r uct ur e r em ains t he sam e as
t he best - selling fir st edit ion, t hough infor m at ion w it hin each sect ion is enhanced and m odified
t o include t he new developm ent s in r out ing pr ot ocols and Cisco im plem ent at ions What 's New
I n This Edit ion? The fir st edit ion cover s r out ing pr ot ocols as t hey exist ed in 1998 The newbook updat es all cover ed r out ing pr ot ocols and discusses new feat ur es int egr at ed in t he lat estver sion of Cisco I OS Soft w ar e I Pv6, it s use w it h int er ior r out ing pr ot ocols, and it s
int er oper abilit y and int egr at ion w it h I Pv4 ar e also int egr at ed int o t his book Appr oxim at ely 200pages of new infor m at ion ar e added t o t he m ain t ext , w it h som e old t ext r em oved Addit ionalexer cise and solut ions ar e also included
Trang 2CCIE Professional Development Routing TCP/IP, Volume I, Second Edition
By Jeff Doyle - CCIE No 1919, Jennifer Carroll - CCIE No 1402
Publisher : Cisco Pr e ss Pub Dat e: Oct obe r 1 9 , 2 0 0 5
I SBN: 1 - 5 8 7 0 5 - 2 0 2 - 4 Pages: 9 3 6
Table of Cont ent s | I ndex
Copyright
About the Authors
About the Technical Reviewers
Acknowledgments
This Book Is Safari Enabled
Icons Used in This Book
Command Syntax Conventions
Part I: Routing Basics
Chapter 1 TCP/IP Review
TCP/IP Protocol Layers
IP Packet Header
IPv4 Addresses
Address Resolution Protocol (ARP)
Internet Control Message Protocol (ICMP)
Trang 3Route Table
Configuring Static Routes
Troubleshooting Static Routes
Chapter 4 Dynamic Routing Protocols
Routing Protocol Basics
Distance Vector Routing Protocols
Link State Routing Protocols
Interior and Exterior Gateway Protocols
Static or Dynamic Routing?
Looking Ahead
Recommended Reading
Review Questions
Part II: Interior Routing Protocols
Chapter 5 Routing Information Protocol (RIP)
Trang 4Chapter 10 Integrated IS-IS
Operation of Integrated IS-IS
Configuring Integrated IS-IS
Troubleshooting Integrated IS-IS
Part III: Route Control and Interoperability
Chapter 11 Route Redistribution
Fundamentals of On-Demand Routing
Configuring Default Routes and ODR
Looking Ahead
Summary Table: Chapter 12 Command Review Review Questions
Chapter 13 Route Filtering
Configuring Route Filters
Looking Ahead
Summary Table: Chapter 13 Command Review Configuration Exercises
Trang 5Troubleshooting Exercises
Chapter 14 Route Maps
Basic Uses of Route Maps
Configuring Route Maps
Part IV: Appendixes
Appendix A Tutorial: Working with Binary and Hex Working with Binary Numbers
Working with Hexadecimal Numbers
Appendix B Tutorial: Access Lists
Access List Basics
Standard IP Access Lists
Extended IP Access Lists
Calling the Access List
Reflexive Access Lists
Keyword Alternatives
Named Access Lists
Prefix Lists
Filter Placement Considerations
Access List Monitoring and Accounting
Appendix C CCIE Preparation Tips
Laying the Foundations
Following the Certification Path
Hands-On Experience
Intensifying the Study
The Final Six Months
Trang 7CCIE Professional Development Routing TCP/IP Volume
I Second Edition
Jeff Doyle, CCI E No 1919, Jennifer Car r oll, CCI E No 1402
Copyr ight © 2006 Cisco Syst em s, I nc
Published by:
Cisco Pr ess
800 East 96t h St r eet
I ndianapolis, I N 46240 USA
All r ight s r eser ved No par t of t his book m ay be r epr oduced or t r ansm it t ed in any for m or by any
m eans, elect r onic or m echanical, including phot ocopying, r ecor ding, or by any infor m at ion
st or age and r et r ieval syst em , w it hout w r it t en per m ission fr om t he publisher , except for t heinclusion of br ief quot at ions in a r eview
Pr int ed in t he Unit ed St at es of Am er ica 1 2 3 4 5 6 7 8 9 0
Fir st Pr int ing Oct ober 2005
Libr ar y of Congr ess Cat aloging- in- Publicat ion Num ber : 2004104363
Trademark Acknowledgments
All t er m s m ent ioned in t his book t hat ar e know n t o be t r adem ar ks or ser vice m ar ks have beenappr opr iat ely capit alized Cisco Pr ess or Cisco Syst em s, I nc cannot at t est t o t he accur acy of t hisinfor m at ion Use of a t er m in t his book should not be r egar ded as affect ing t he validit y of any
t r adem ar k or ser vice m ar k
Warning and Disclaimer
This book is designed t o pr ovide infor m at ion about r out ing TCP/ I P Ever y effor t has been m ade
t o m ake t his book as com plet e and as accur at e as possible, but no w ar r ant y or fit ness is im plied.The infor m at ion is pr ovided on an " as is" basis The aut hor s, Cisco Pr ess, and Cisco Syst em s,
I nc shall have neit her liabilit y nor r esponsibilit y t o any per son or ent it y w it h r espect t o any loss
or dam ages ar ising fr om t he infor m at ion cont ained in t his book or fr om t he use of t he discs or
pr ogr am s t hat m ay accom pany it
The opinions expr essed in t his book belong t o t he aut hor and ar e not necessar ily t hose of CiscoSyst em s, I nc
Trang 8Corporate and Government Sales
Cisco Pr ess offer s excellent discount s on t his book w hen or der ed in quant it y for bulk pur chases
or special sales
For m or e infor m at ion please cont act : U.S Cor por a t e a n d Gov e r n m e n t Sa le s 1- 800- 382- 3419
cor psales@pear sont echgr oup.com
For sales out side t he U.S please cont act : I n t e r n a t ion a l Sa le s int er nat ional@pear soned.com
Feedback Information
At Cisco Pr ess, our goal is t o cr eat e in- dept h t echnical books of t he highest qualit y and value.Each book is cr aft ed w it h car e and pr ecision, under going r igor ous developm ent t hat involves t heunique exper t ise of m em ber s fr om t he pr ofessional t echnical com m unit y
Reader s' feedback is a nat ur al cont inuat ion of t his pr ocess I f you have any com m ent s r egar dinghow w e could im pr ove t he qualit y of t his book, or ot her w ise alt er it t o bet t er suit your needs,you can cont act us t hr ough e- m ail at feedback @ciscopr ess.com Please m ake sur e t o include t hebook t it le and I SBN in your m essage
We gr eat ly appr eciat e your assist ance
Cisco Pr ess Pr ogr am Manager Jeff Br ady
Senior Pr oj ect Edit or San Dee Phillips
Technical Edit or s Fr ank Knox, St even Edw ar d Moor e,
Rena Yang
Com posit ion I nt er act ive Com posit ion Cor por at ion
Trang 9Cor por a t e H e a dqu a r t e r s
Cisco Syst em s I nt er nat ional BV
Haar ler ber gpar k
Haar ler ber gw eg 13- 19
Cisco Syst em s has m or e t han 200 offices in t he follow ing count r ies and r egions Addr esses,
phone num ber s, and fax num ber s ar e list ed on t he Cisco.com W e b sit e a t
w w w cisco.com / go/ office s
Ar gent ina • Aust r alia • Aust r ia • Belgium • Br azil • Bulgar ia • Canada • Chile • China PRC •Colom bia • Cost a Rica • Cr oat ia • Czech Republic • Denm ar k • Dubai, UAE • Finland • Fr ance •Ger m any • Gr eece • Hong Kong SAR • Hungar y • I ndia • I ndonesia • I r eland • I sr ael • I t aly •Japan • Kor ea • Luxem bour g • Malaysia • Mexico • The Net her lands • New Zealand • Nor w ay •Per u • Philippines • Poland • Por t ugal • Puer t o Rico • Rom ania • Russia • Saudi Ar abia •
Scot land • Singapor e • Slovakia • Slovenia • Sout h Afr ica • Spain • Sw eden • Sw it zer land •Taiw an • Thailand • Tur key • Ukr aine • Unit ed Kingdom • Unit ed St at es • Venezuela • Viet nam Zim babw e
Copyr ight © 2003 Cisco Syst em s, I nc All r ight s r eser ved CCI P, CCSP, t he Cisco Ar r ow logo, t heCisco Pow er ed Net w or k m ar k, t he Cisco Syst em s Ver ified logo, Cisco Unit y, Follow Me Br ow sing,For m Shar e, iQ Net Readiness Scor ecar d, Net w or king Academ y, and Scr ipt Shar e ar e t r adem ar ks
Trang 10of Cisco Syst em s, I nc.; Changing t he Way We Wor k, Live, Play, and Lear n, The Fast est Way t o
I ncr ease Your I nt er net Quot ient , and iQuick St udy ar e ser vice m ar ks of Cisco Syst em s, I nc.; andAir onet , ASI ST, BPX, Cat alyst , CCDA, CCDP, CCI E, CCNA, CCNP, Cisco, t he Cisco Cer t ified
I nt er net w or k Exper t logo, Cisco I OS, t he Cisco I OS logo, Cisco Pr ess, Cisco Syst em s, CiscoSyst em s Capit al, t he Cisco Syst em s logo, Em pow er ing t he I nt er net Gener at ion,
Ent er pr ise/ Solver , Et her Channel, Et her Sw it ch, Fast St ep, GigaSt ack, I nt er net Quot ient , I OS,
I P/ TV, iQ Exper t ise, t he iQ logo, Light St r eam , MGX, MI CA, t he Net w or ker s logo, Net w or k
Regist r ar , Packet , PI X, Post - Rout ing, Pr e- Rout ing, Rat eMUX, Regist r ar , SlideCast , SMARTnet ,
St r at aView Plus, St r at m , Sw it chPr obe, TeleRout er , Tr ansPat h, and VCO ar e r egist er ed
t r adem ar ks of Cisco Syst em s, I nc and/ or it s affiliat es in t he U.S and cer t ain ot her count r ies.All ot her t r adem ar ks m ent ioned in t his docum ent or Web sit e ar e t he pr oper t y of t heir r espect ive
ow ner s The use of t he w or d par t ner does not im ply a par t ner ship r elat ionship bet w een Ciscoand any ot her com pany ( 0303R)
Trang 11About the Authors
Je ff D oy le ( CCI E No 1919) specializes in I P r out ing pr ot ocols, MPLS, and I Pv6 He has designed
or assist ed in t he design of lar ge- scale I P ser vice pr ovider net w or ks t hr oughout Nor t h Am er ica,Eur ope, Japan, Kor ea, and t he People's Republic of China Jeff has pr esent ed num er ous
cor por at e sem inar s, and has also spoken at NANOG, JANOG, APRI COT, and at I Pv6 For um
confer ences Jeff holds a BA fr om Mem phis St at e Univer sit y, and st udied Elect r ical Engineer ing
at t he Univer sit y of New Mexico Jeff lives in Denver , Color ado
Je n n ife r Ca r r oll ( CCI E No 1402) is an independent net w or k consult ant in Redm ond,
Washingt on She has designed, im plem ent ed, and opt im ized m any TCP/ I P net w or ks, and hasdeveloped and t aught a var iet y of net w or king and int er net w or king cour ses on r out ing pr ot ocolsand Cisco r out er s over t he past 15 year s Jennifer can be cont act ed at j ennifer car r oll@ieee.or g
Trang 12About the Technical Reviewers
Fr a n k Kn ox , Chief Technical Officer , has been w it h Skyline Com put er for a lit t le over six year s.
He is a dual CCI E ( CCI E No 3698: SNA/ I P and Rout ing/ Sw it ching) as w ell as a CCSI I n addit ion
t o his CTO r esponsibilit ies, Fr ank t eaches sever al advanced Cisco- r elat ed cour ses, including aone- w eek CCI E Lab Pr epar at ion Wor kshop He is consider ed t o be an exper t in m ainfr am e
at t ached r out er t echnologies and in t he t echnologies and issues associat ed w it h int egr at ednet w or king ( for exam ple, SNA/ I P and Voice/ Dat a) He has m or e t han 37 year s of net w or kingexper ience w it h I BM, GTE ( Ver izon) Dir ect or ies, and Skyline Com put er Cor p This exper ienceincludes field ser vice, field suppor t , pr oduct planning, m anagem ent , and all facet s of net w or kingeducat ion I n addit ion, he developed and t aught sever al cour ses for t he Univer sit y of DallasTelecom m unicat ions MBA pr ogr am Fr ank also has an MS degr ee in Telecom m unicat ions fr omPace Univer sit y ( 4.0 GPA)
Aft er w or king in var ious r oles as an engineer w it hin Cisco for t he past 6.5 year s, St e v e n
Edw a r d M oor e t r ansit ioned t o t he I P Rout ing Pr ot ocol Scalabilit y Team Ther e, his focus
encom passes all aspect s of ext ending net w or k and pr ot ocol scalabilit y: consider ing new feat ur esand opt im izat ions t o t he pr ot ocol ar chit ect ur e, designing t est s t o m easur e cur r ent pr ot ocolscalabilit y, w or king w it h cust om er s t o im plem ent scaling funct ionalit y in t heir net w or k, andpar t icipat ing in event s such as Net w or ker s t o educat e ot her s on how t o enhance t heir net w or k'sper for m ance and scalabilit y fr om t he r out ing per spect ive
Re n a Ya n g is a soft w ar e engineer at Cisco Syst em s She has m or e t han six year s of exper ience
im plem ent ing code in Cisco I OS She cur r ent ly w or ks on I S- I S Befor e t his, she focused on I Pv4,UDP, access list s, policy r out ing, and r out ing infr ast r uct ur e Rena holds a bachelor 's of scienceand m ast er s of engineer ing in com put er science fr om MI T
Trang 13Many t hanks t o Br et t Bar t ow , Chr is Cleveland, Andr ew Cupp, San Dee Phillips, and all of t he st aff
of Cisco Pr ess w ho m ade t his book possible
The t echnical edit or s, St even Moor e, Rena Yang and Fr ank Knox, did a fant ast ic j ob We w ant t o
t hank t hem for t heir out st anding advice and r ecom m endat ions
We w ant t o t hank Fr ank Knox, Car l Pike, Chr is Tonini, and t he r est of t he em ployees of Skylabsnet w or ks Skylabs' lab set up and access t o t he lab is easy t o use and had ever yt hing w e needed
t o com plet e all t he configur at ions and case st udies in t his book
Trang 14This Book Is Safari Enabled
The Safar i® Enabled icon on t he cover of your favor it e t echnology book m eans t he book isavailable t hr ough Safar i Bookshelf When you buy t his book, you get fr ee access t o t he onlineedit ion for 45 days
Safar i Bookshelf is an elect r onic r efer ence libr ar y t hat let s you easily sear ch t housands of
t echnical books, find code sam ples, dow nload chapt er s, and access t echnical infor m at ion
w henever and w her ever you need it
To gain 45- day Safar i Enabled access t o t his book:
Go t o ht t p: / / w w w ciscopr ess.com / safar ienabled
Ent er t he I SBN of t his book ( show n on t he back cover , above t he bar code)
Log in or Sign up ( sit e m em ber ship is r equir ed t o r egist er your book)
Ent er t he coupon code MSJJ- PPVL- 4EMT- TVK8- 7JDF
I f you have difficult y r egist er ing on Safar i Bookshelf or accessing t he online edit ion, please
e-m ail cust om er - ser v ice@safar ibook sonline.com
Trang 15Icons Used in This Book
Trang 16Command Syntax Conventions
The convent ions used t o pr esent com m and synt ax in t his book ar e t he sam e convent ions used in
t he I OS Com m and Refer ence The Com m and Refer ence descr ibes t hese convent ions as follow s:
Boldfa ce indicat es com m ands and keyw or ds t hat ar e ent er ed lit er ally as show n I n act ual
configur at ion exam ples and out put ( not gener al com m and synt ax) , boldface indicat es
com m ands t hat ar e m anually input by t he user ( such as a sh ow com m and)
I t alics indicat e ar gum ent s for w hich you supply act ual values
Ver t ical bar s ( | ) separ at e alt er nat ive, m ut ually exclusive elem ent s
Squar e br acket s [ ] indicat e opt ional elem ent s
Br aces { } indicat e a r equir ed choice
Br aces w it hin br acket s [ { } ] indicat e a r equir ed choice w it hin an opt ional elem ent
Trang 17I n 1976, w hen I saw m y fir st Ar panet I MP at Digit al Equipm ent Cor por at ion, net w or ks as w eknow t hem t oday w er e in t heir infancy SNA, XNS, and DECnet w er e under ear ly developm ent ,and packet sw it ching ver sus cir cuit sw it ching w as t he hot t opic of t he day Those of us involved
in t he design of t he sw it ching and r out ing algor it hm s w er e dealing w it h r out er s ( alt hough w edidn't call t hem t hat ) t hat had 64 kilobyt es of m em or y, dat a link of 56 kilobit s w er e consider edblindingly fast , and net w or ks w it h 256 nodes w er e big enough t hat if you w er e t he salesm an w hosold t hose 256 com put er s, you w ould r et ir e fabulously w ealt hy
Thir t y year s is a long t im e, and t oday t he individual net w or ks t hat m ake up t he I nt er net cont ain
t housands or t ens of t housands of nodes, w hile t he I nt er net as a w hole cont ains hundr eds of
m illions of com put er s Most st r iking in t he evolut ion over t his hum an gener at ion is t hat t hefoundat ions of t he I nt er net laid dow n in t he TCP/ I P pr ot ocol suit e have sur vived m ost ly int act
t hr ough four or m or e gener at ions of com put ing ar chit ect ur es, t hr ee com plet e gener at ions ofoper at ing syst em t echnology, and an incr ease of five or der s of m agnit ude in t r ansm ission
speeds
Yet , w e st ill t r eat r out ing in packet - sw it ched net w or ks as a black ar t Why is t hat ?
Fir st , designing r obust , scalable dist r ibut ed algor it hm s is har d Despit e our best int ent ions t o
m ake t hem sim ple, com plexit y cr eeps in t o deal w it h t he inevit able special cases, opt im izat ions,peculiar t opologies, and link t echnologies one encount er s Because a " for k lift upgr ade" of anent ir e net w or k is r ar ely feasible, w e have m ult iple gener at ions of t echnology pr esent
sim ult aneously, and w e m ust m aint ain backw ar d- com pat ibilit y w it h essent ially no disr upt ion t odeployed ser vices As policies gover ning t he r out ing of packet s becom e m or e sophist icat ed, ourabilit y t o devise aut om at ed discover y and configur at ion pr ocedur es get s over w helm ed, and w efall back on m anual configur at ion and per for m ance t uning t echniques Finally, as t he
envir onm ent in w hich t hese net w or ks ar e oper at ed has evolved fr om a cooper at ive one w her e
t r ust w as im plicit t o one in w hich t he net w or k is subj ect t o bot h inside and out side at t ack,
designing and deploying r out ing syst em s t hat can be m ade secur e has becom e an ur gent
r out ing The m ost popular I GPsRI P, EGRP, OSPF, and I SI Sar e cover ed in dept h Advanced t opics
in r out e r edist r ibut ion, r out e filt er ing, and policy r out ing r ound out Volum e 1
This second edit ion also adds essent ial m at er ial on I Pv6 as w ell as br inging all t he m at er ial up t odat e w it h exam ples and configur at ions for t he lat est r eleases of Cisco I OS
For anyone w ant ing a com pr ehensive under st anding of how r out ing in TCP/ I P net w or ks r eally
w or ks, fr om t he design pr inciples of r out ing algor it hm s, t o t he evolut ion of addr essing schem es,
t o t he pr act ical aspect s of designing and configur ing t he r out ing of lar ge aut onom ous syst em s,
t his is t he book for you
David Or an
Cisco Fellow
Trang 19Rout ing is an essent ial elem ent of all but t he sm allest dat a com m unicat ions net w or ks At onelevel, r out ing and t he configur at ion of r out er s ar e quit e sim ple But as net w or ks gr ow in size andcom plexit y, r out ing issues can becom e at once bot h lar ge and subt le Per ver sely, per haps, w e
ar e gr at eful for t he difficult pr oblem s lar ge- scale r out ing can pr esent as net w or k syst em s
consult ant s, t hese pr oblem s ar e our br ead and but t er Wit hout t hem , t he phr ase " You w ant fr ies
w it h t hat ?" could be an unfor t unat e par t of our daily vocabular y
Cisco Cer t ified I nt er net w or k Exper t s ar e w idely r ecognized for t heir abilit y t o design,
t r oubleshoot , and m anage lar ge net w or ks This r ecognit ion com es fr om t he fact t hat you cannotbecom e a CCI E by at t ending a few classes and t hen r egur git at ing som e m em or ized fact s ont o a
w r it t en t est A CCI E has pr oven exper t ise in an int ense, fam ously difficult hands- on lab exam
Trang 20This book is t he fir st of t w o volum es t hat focuses on TCP/ I P r out ing issues Ear ly in t he w r it ing of
t he fir st edit ion, Kim Lew , for m er Cisco Syst em s pr ogr am m anager , said, " Our obj ect ive is t o
m ake CCI Es, not t o m ake people w ho can pass t he CCI E lab." We ent ir ely agr ee w it h t hat
st at em ent and have used it as a guiding pr inciple t hr oughout t he w r it ing of t his book Alt hough
t he book includes m any case st udies and exer cises t o help you pr epar e for t he CCI E lab, m y
pr im ar y obj ect ive is t o incr ease your under st anding of I P r out ingbot h on a gener ic level and as it
is im plem ent ed on Cisco r out er s
Trang 21The audience for t his book is any net w or k designer , adm inist r at or , or engineer w ho needs a fullunder st anding of t he int er ior r out ing pr ot ocols of TCP/ I P Alt hough t he pr act ical aspect s of t hebook focus on t he Cisco I OS, t he infor m at ion is applicable t o any r out ing plat for m
The book is not only for r eader s w ho plan t o becom e CCI Es, but for people w ho w ish t o advance
t heir know ledge of TCP/ I P r out ing These r eader s w ill fall int o one of t hr ee cat egor ies:
The " beginner s" w ho have som e basic net w or king know ledge and w ish t o begin a deep
st udy of net w or king
The int er m ediat e- level net w or king pr ofessionals w ho have exper ience w it h r out er s, Cisco or
ot her w ise, and plan t o advance t hat exper ience t o t he exper t level
The highly exper ienced net w or king exper t s These individuals have ext ensive hands- onexper t ise w it h Cisco r out er s and ar e r eady t o t ake t he CCI E lab; how ever , t hey w ant a
st r uct ur ed r eview and ser ies of exer cises for ver ificat ion and validat ion
CCI E Pr ofessional Developm ent : Rout ing TCP/ I P, Volum e I focuses pr im ar ily on int er m ediat level net w or king pr ofessionals w hile offer ing t o beginner s a st r uct ur ed out line of fundam ent alinfor m at ion and t o exper t s t he r equir ed challenges t o hone t heir skills
Trang 22e-Changes from First Edition
Ther e ar e sever al fact or s influencing t he changes cont ained in t his second edit ion The fir stfact or is t he CCI E it self When I ( Jeff) w r ot e t he fir st edit ion of t his book, t he CCI Especifically
w hat is now called t he Rout ing and Sw it ching specialt y of t he CCI Ew as t he only cer t ificat ionCisco Syst em s offer ed Now , t her e is a ser ies of cer t ificat ions cr eat ing a pat h t o t he CCI E at t hepinnacle Mor eover , t he t ypical net w or king pr ofessional is m or e know ledgeable t han in 1997.Given t his, w e have elim inat ed t he fir st chapt er of t he or iginal book, w hich cover ed such ver ybasic concept s as t he definit ion of br idges and r out er s and net w or k addr esses ( When w as t helast t im e you even saw a br idge in a net w or k?)
The second fact or influencing t he changes in t his edit ion is t he changes in t he Cisco Syst em s
I OS I GRP, w hich w as fr equent ly used w hen t he fir st edit ion w as w r it t en, is now a legacy
pr ot ocol w hose m ain significance is as t he ancest or of EI GRP Ther efor e t he I GRP chapt er of t hefir st edit ion has been elim inat ed and I GRP is cover ed for hist or ical per spect ive ear ly in t he EI GRPchapt er The I OS com m and suit e it self has expanded t o accom m odat e new funct ions and
opt ions; w e have m ade ever y effor t t o include t he com m ands and pr ot ocol ext ensions t hat didnot exist in t he lat e 1990s
Last ly, a pr ot ocol t hat exist ed m ost ly only in pr oposal for m in 1997I Pv6is now in t he ear ly st ages
of w or ldw ide deploym ent You can expect t o need a det ailed know ledge of t his pr ot ocol and t heext ensions t o I P r out ing pr ot ocols t hat suppor t it in t he near fut ur e, if not alr eady, so t his secondedit ion delves deeply int o r out ing I Pv6
Ot her changes in t his edit ion ar e sem ant ic For exam ple, in t he fir st edit ion, I ( Jeff) m ade a point
of differ ent iat ing bet w een a " net w or k" as a dat a link and an " int er net w or k" as a set of net w or ksconnect ed by r out er s Alt hough t hat t er m inology is cer t ainly accur at e, it is clum sy, and
" int er net w or k" is seldom used t hese days I nst ead, " net w or k" usually r efer s t o ever yt hing fr om alocal link t o w or ldw ide aut onom ous syst em s oper at ed by t he likes of Level 3, NTT, and Spr int
We have at t em pt ed t o br ing t he t er m inology in t his edit ion up t o m oder n, com m on usage
Trang 23The 14 chapt er s of t he book ar e divided int o t hr ee par t s
Par t I, " Rout ing Basics," exam ines t he basics of I Pv4 and I Pv6, and t he basics of r out ing
Alt hough m or e advanced r eader s m ay w ish t o skip t he fir st chapt er , w e r ecom m end t hat t hey atleast skim Chapt er 3, " St at ic Rout ing," and Chapt er 4, " Dynam ic Rout ing Pr ot ocols." And, ofcour se, if you ar e not yet fam iliar w it h I Pv6, Chapt er 2, " I Pv6 Over view ," is a m ust - r ead
Par t I I, " I nt er ior Rout ing Pr ot ocols," cover s t he I P I nt er ior Gat ew ay Pr ot ocols Each pr ot specific chapt er begins w it h a discussion of t he t heor y, m echanics, and par am et er s of t he
ocol-pr ot ocol This gener al over view is follow ed by case st udies on configur ing and t r oubleshoot ing
t he pr ot ocol using Cisco Syst em s' I OS in var ious net w or k t opologies
The Ext er ior Gat ew ay Pr ot ocol, BGP, and t opics such as m ult icast r out ing, Qualit y of Ser vice,
r out er secur it y and m anagem ent , and Net w or k Addr ess Tr anslat ion, ar e cover ed in " Rout ingTCP/ I P, Volum e I I "
Par t I I I, " Rout e Cont r ol and I nt er oper abilit y," exam ines t he t ools available for cr eat ing and
m anaging int er oper abilit y w it h m ult iple I P r out ing pr ot ocols, and also such t ools as default
r out es and r out e filt er ing As such, t he chapt er s of t his last par t pr ovide an int r oduct ion t o t he
t ools necessar y for building t he com plex r out ing policies int r oduced in Volum e I I These
chapt er s, like t he ones in Par t I I, begin w it h concept s and conclude w it h case st udies
Trang 24Book Features
Most chapt er s conclude w it h a set of r eview quest ions, configur at ion exer cises, and
t r oubleshoot ing exer cises The r eview quest ions focus on t he t heor et ical aspect s of t he chapt er
t opic, w her eas t he configur at ion and t r oubleshoot ing exer cises addr ess Cisco- specific aspect s of
t he chapt er t opic
Also at t he end of each chapt er is a t able w it h a br ief descr ipt ion of all im por t ant Cisco I OScom m ands used in t hat chapt er The convent ions used t o pr esent t hese com m ands ar e t he sam econvent ions used in t he I OS Com m and Refer ence and pr esent ed ear lier in t his int r oduct ion
Trang 25Part I: Routing Basics
Chapt er 1 TCP/ I P Review
Chapt er 2 I Pv6 Over view
Chapt er 3 St at ic Rout ing
Chapt er 4 Dynam ic Rout ing Pr ot ocols
Trang 26Chapter 1 TCP/IP Review
This chapt er cover s t he follow ing subj ect s:
TCP/ I P Pr ot ocol Layer s
I P Packet Header
I Pv4 Addr esses
Addr ess Resolut ion Pr ot ocol ( ARP)
I nt er net Cont r ol Message Pr ot ocol ( I CMP)
Host - t o- Host Layer
Given t hat t he t it le of t his book is Rout ing TCP/ I P, it is fit t ing t o begin w it h a r eview of TCP/ I Pbefor e get t ing int o how t o r out e it Pr esum ably, if you ar e pr epar ing for a Cisco Cer t ified
I nt er net w or k Exper t ( CCI E) exam inat ion, or have j ust bought t his book as a r out ing r efer ence,you alr eady know m ost or all of t he infor m at ion in t his chapt er But r eview s never hur t andsom et im es help, so her e you have it
The pur pose of t his chapt er is t o r eview t he pr ot ocols t hat enable, cont r ol, or cont r ibut e t o t he
r out ing of TCP/ I P, not t o do an in- dept h st udy of t he TCP/ I P pr ot ocol suit e Sever al books on t he
r ecom m ended r eading list at t he end of t he chapt er cover t he subj ect in dept h Read at leastone
Conceived in t he ear ly 1970s by Vint Cer f and Bob Kahn, TCP/ I P and it s layer ed pr ot ocol
ar chit ect ur e pr edat es t he I SO's Open Syst em I nt er connect ion ( OSI ) r efer ence m odel A br ief
r eview of TCP/ I P's layer s w ill be useful in under st anding how t he var ious funct ions and ser vicesexam ined in t his chapt er int er r elat e