Linux网络管理员手册TheLinuxNetworkAdministrator’sGuideOlafKirch著赵炯译@sh163.net(gohigh@shtdu.edu.cn)1999/8/30(草)IITheLinuxNetworkAdministrator’sGuideCopyright©1992-1994OlafKirchIII为BrillaIVLegalNoticeUNIXisatrademarkofUnivel.Linuxisnotatrademark,andhasnoconnectiontoUNIX™orUnivel.Copyright©1994OlafKirchKattreinstr.38,64295Darmstadt,Germanyokir@monad.swb.de“TheLinuxNetworkAdministrators'Guide”maybereproducedanddistributedinwholeorinpart,subjecttothefollowingconditions:0.Thecopyrightnoticeaboveandthispermissionnoticemustbepreservedcompleteonallcompleteorpartialcopies.1.Anytranslationorderivativeworkof“TheLinuxNetworkAdministrators'Guide”mustbeapprovedbytheauthorinwritingbeforedistribution.2.Ifyoudistribute“TheLinuxNetworkAdministrators'Guide”inpart,instructionsforobtainingthecompleteversionof“TheLinuxNetworkAdministrators'Guide”mustbeincluded,andameansforobtainingacompleteversionprovided.3.Smallportionsmaybereproducedasillustrationsforreviewsorquotesinotherworkswithoutthispermissionnoticeifpropercitationisgiven.4.Ifyouprintanddistribute“TheLinuxNetworkAdministrators'Guide”,youmaynotrefertoitasthe“OfficialPrintedVersion”.5.TheGNUGeneralPublicLicensereferencedbelowmaybereproducedundertheconditionsgivenwithinit.6.Severalsectionsofthisdocumentareheldunderseparatecopyright.Whenthesesectionsarecoveredbyadifferentcopyright,theseparatecopyrightisnoted.Ifyoudistribute“TheLinuxNetworkAdministrators'Guide”inpart,andthatpartis,inwhole,coveredunderaseparate,notedcopyright,theconditionsofthatcopyrightapply.Exceptionstotheserulesmaybegrantedforacademicpurposes:WritetoOlafKirchattheaboveaddress,oremailokir@monad.swb.deandask.Theserestrictionsareheretoprotectusasauthors,nottorestrictyouaseducatorsandlearners.Allsourcecodein“TheLinuxNetworkAdministrators'Guide”isplacedundertheGNUGeneralPublicLicense.SeeappendixCforacopyoftheGNU“GPL.”Theauthorisnotliableforanydamages,directorindirect,resultingfromtheuseofinformationprovidedinthisdocument.V目录LegalNotice..................................................................................................................................................IV第一章网络绪论................................................................................................................................11.1历史.................................................................................................................................................11.2UUCP网络.......................................................................................................................................11.2.1如何使用UUCP...................................................................................................................21.3TCP/IP网络.....................................................................................................................................31.3.1TCP/IP网络引言...................................................................................................................31.3.2以太网..................................................................................................................................41.3.3其它硬件类..........................................................................................................................51.3.4Internet协议..........................................................................................................................51.3.5串行线上的IP......................................................................................................................61.3.6传输控制协议(TransmissionControlProtocol)..............................................................71.3.7用户数据报协议(UserDatagramProtocol)....................................................................71.3.8关于端口..............................................................................................................................81.3.9套接字(Socket)库............................................................................................................81.4Linux连网........................................................................................................................................81.4.1不同的发展方向...................................................................................................................91.4.2从何处获得代码...................................................................................................................91.5维护你的系统...............................................................................................................................101.5.1系统安全............................................................................................................................101.6以下各章展望................................................................................................................................11第二章TCP/IP网络的问题..............................................................................................................132.1网络接口...................................................................................