LANChapter02.docx

上传人:b****3 文档编号:4921033 上传时间:2022-12-11 格式:DOCX 页数:19 大小:252.25KB
下载 相关 举报
LANChapter02.docx_第1页
第1页 / 共19页
LANChapter02.docx_第2页
第2页 / 共19页
LANChapter02.docx_第3页
第3页 / 共19页
LANChapter02.docx_第4页
第4页 / 共19页
LANChapter02.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

LANChapter02.docx

《LANChapter02.docx》由会员分享,可在线阅读,更多相关《LANChapter02.docx(19页珍藏版)》请在冰豆网上搜索。

LANChapter02.docx

LANChapter02

Chapter2.SegmentingLANs

Thischaptercoversthefollowingkeytopics:

∙WhySegmentLANs?

— 

DiscussesmotivationsforsegmentingLANsandthedisadvantagesofnotsegmenting.

∙SegmentingLANSwithRepeaters— 

Discussesthepurpose,benefits,andlimitationsofrepeatersinLANs.

∙SegmentingLANSwithBridges— 

Discusseshowbridgescreatecollisiondomainsandextendnetworks.AsthefoundationaltechnologyforLANswitches,thissectiondescribesthebenefitsandlimitationsofbridges.

∙SegmentingLANSwithRouters— 

Discusseshowrouterscreatebroadcastdomainsbylimitingthedistributionofbroadcastframes.

∙SegmentingLANSwithSwitches— 

Discussesthedifferencesbetweenbridgesandswitches,andhowswitchescreatebroadcastdomainsdifferentlyfromrouters.

Ascorporationsgrow,networkadministratorsfindthemselvesdeepinfrustration.Managementwantsmoreusersonthenetwork,whereasuserswantmorebandwidth.Tofurtherconfusetheissue,financesoftenconflictwiththetwoobjectives,effectivelylimitingoptions.Althoughthisbookcannothelpwiththelastissue,itcanhelpclarifywhattechnologyoptionsexisttoincreasethenumberofusersservedwhileenhancingtheavailablebandwidthinthesystem.NetworkengineersbuildingLANinfrastructurescanchoosefrommanyinternetworkingdevicestoextendnetworks:

repeaters,bridges,routers,andswitches.Eachcomponentservesspecificrolesandhasutilitywhenproperlydeployed.Engineersoftenexhibitsomeconfusionaboutwhichcomponenttouseforvariousnetworkconfigurations.Agoodunderstandingofhowthesedevicesmanipulatecollisionandbroadcastdomainshelpsthenetworkengineertomakeintelligentchoices.Further,byunderstandingtheseelements,discussionsinlaterchaptersaboutcollisionandbroadcastdomainshaveaclearercontext.

Thischapter,therefore,definesbroadcastandcollisiondomainsanddiscussestheroleofrepeaters,bridges,routers,andswitchesinmanipulatingthedomains.ItalsodescribeswhynetworkadministratorssegmentLANs,andhowthesedevicesfacilitatesegmentation.

WhySegmentLANs?

Networkdesignersoftenfaceaneedtoextendthedistanceofanetwork,thenumberofusersonthesystem,orthebandwidthavailabletousers.Fromacorporatepointofview,thisisagoodthing,becauseitmightindicategrowth.Fromanetworkadministrator'spointofview,thisisoftenabadthing,implyingsleeplessnightsandnoweekends.Evenso,howdoesanadministratorkeepeveryonehappywhilemaintainingpersonalsanity?

Astraightforwardtechnologyanswermightincludethedeploymentofahigherspeednetwork.Ifuserscurrentlyattachtoalegacy10Mbpsnetwork,youcoulddeployaFastEthernetnetworkandprovideanimmediatetenfoldimprovementinbandwidth.Changingthenetworkinfrastructureinthiswaymeansreplacingworkstationadaptercardswithonescapableof100Mbps.Italsomeansreplacingthehubstowhichthestationsconnect.Thenewhubsmustalsosupportthenewnetworkbandwidth.Althougheffective,awholesaleupgrademightbecostprohibitive.

SegmentingLANsisanotherapproachtoprovideusersadditionalbandwidthwithoutreplacingalluserequipment.BysegmentingLANs,theadministratorbreaksanetworkintosmallerportionsandconnectsthemwithsometypeofinternetworkingequipment.Figure2-1illustratesabefore-and-aftersituationforsegmentingnetworks.

Figure2-1ANetworkBeforeandAfterSegmentation

Beforesegmentation,all500userssharethenetwork's10Mbpsbandwidthbecausethesegmentsinterconnectwithrepeaters.(Thenextsectioninthischapterdescribeshowrepeatersworkandwhythisistrue.)Theafternetworkreplacestherepeaterswithbridgesandroutersisolatingsegmentsandprovidingmorebandwidthforusers.BridgesandroutersgeneratebandwidthbycreatingnewcollisionandbroadcastdomainsassummarizedinTable2-1.(ThesectionsonLANsegmentationwithbridgesandrouterslaterinthischapterdefinecollisionandbroadcastdomainsanddescribewhythisisso.)

Table 2-1.AComparisonofCollisionandBroadcastDomain

Device

CollisionDomains

BroadcastDomains

Repeater

One

One

Bridge

Many

One

Router

Many

Many

Switch

Many

Configurable

Eachsegmentcanfurtherdividewithadditionalbridges,routers,andswitchesprovidingevenmoreuserbandwidth.Byreducingthenumberofusersoneachsegment,morebandwidthavailsitselftousers.Theextremecasededicatesoneusertoeachsegmentprovidingfullmediabandwidthtoeachuser.Thisisexactlywhatswitchesallowtheadministratortobuild.

Thequestionremains,though,"Whatshouldyouusetosegmentthenetwork?

Shouldyouusearepeater,bridge,router,orLANswitch?

"Repeatersdonotreallysegmentanetworkanddonotcreatemorebandwidth.Theysimplyallowyoutoextendthenetworkdistancetosomedegree.Bridges,routers,andswitchesaremoresuitableforLANsegmentation.Thesectionsthatfollowdescribethevariousoptions.Therepeaterisincludedinthediscussionbecauseyoumightattacharepeater-basednetworktoyoursegmentednetwork.Therefore,youneedtoknowhowrepeatersinteractwithsegmentationdevices.

SegmentingLANswithRepeaters

LegacyEthernetsystemssuchas10Base5,10Base2,and10BaseThavedistancelimitationsforsegmentsasdescribedinChapter1,"DesktopTechnologies."Wheneveryoudesiretoextendthedistance,youcanuseaninternetworkingdevicelikearepeater.RepeatersoperateatLayer1oftheOSImodelandappearasanextensiontothecablesegment.Workstationshavenoknowledgeofthepresenceofarepeaterwhichiscompletelytransparenttotheattacheddevices.ArepeaterattacheswiresegmentstogetherasshowninFigure2-2.

Figure2-2InterconnectingLANSegmentswithaRepeater

Repeatersregeneratethesignalfromonewireontotheother.WhenStation1transmitstoStation2,theframealsoappearsonWireB,eventhoughthesourceanddestinationdevicecoexistonWireA.Repeatersareunintelligentdevicesandhavenoinsighttothedatacontent.Theyblindlyperformtheirresponsibilityofforwardingsignalsfromonewiretoallotherwires.Iftheframecontainserrors,therepeaterforwardsit.IftheframeviolatestheminimumormaximumframesizesspecifiedbyEthernet,therepeaterforwardsit.IfacollisionoccursonWireA,WireBalsoseesit.Repeaterstrulyactlikeanextensionofthecable.

AlthoughFigure2-2showstheinterconnectionoftwosegments,repeaterscanhavemanyportstoattachmultiplesegmentsasshowninFigure2-3.

Figure2-3AMultiportRepeater

A10BaseTnetworkiscomprisedofhubsandtwisted-paircablestointerconnectworkstations.Hubsaremultiportrepeatersandforwardsignalsfromoneinterfacetoallotherinterfaces.AsinFigure2-2,allstationsattachedtothehubinFigure2-3seealltraffic,boththegoodandthebad.

Repeatersperformseveraldutiesassociatedwithsignalpropagation.Forexample,repeatersregenerateandretimethesignalandcreateanewpreamble.PreamblebitsprecedetheframedestinationMACaddressandhelpreceiverstosynchronize.The8-bytepreamblehasanalternatingbinary1010patternexceptforthelastbyte.Thelastbyteofthepreamble,whichendsinabinarypatternof10101011,iscalledthestartofframedelimiter(SFD).Thelasttwobitsindicatetothereceiverthatdatafollows.Repeatersstripalleightpreamblebytesfromtheincomingframe,thengenerateandprependanewpreambleontheframebeforetransmissionthroughtheoutboundinterface.

Repeatersalsoensurethatcollisionsaresignaledonallports.IfStations1and2inFigure2-2participateinacollision,thecollisionisenforcedthroughtherepeatersothatthestationsonWireBalsoknowofthecollision.StationsonWireBmustwaitforthecollisiontoclearbeforetransmitting.IfStations3and4donotknowofthecollision,theymightattemptatransmissionduringStation1and2'scollisionevent.Theybecomeadditionalparticipantsinthecollision.

Limitationsexistinarepeater-basednetwork.Theyarisefromdifferentcausesandmustbeconsideredwhenextendinganetworkwithrepeaters.Thelimitationsincludethefollowing:

∙Sharedbandwidthbetweendevices

∙Specificationconstraintsonthenumberofstationspersegment

∙End-to-enddistancecapability

SharedBandwidth

Arepeaterextendsnotjustthedistanceofthecable,butitalsoextendsthecollisiondomain.Collisionsononesegmentaffectstationsonanotherrepeater-connectedsegment.Collisionsextendthrougharepeaterandconsumebandwidthonallinterconnectedsegments.Anothersideeffectofacollisiondomainisthepropagationofframesthroughthenetwork.Ifthenetworkusessharednetworktechnology,allstationsintherepeater-basednetworksharethebandwidth.Thisistruewhetherthesourceframeisunicast,multicast,orbroadcast.Allstationsseeallframes.Addingmorestationstotherepeaternetworkpotentiallydividesthebandwidthevenfurther.LegacyEthernetsystemshaveashared10Mbpsbandwidth.Thestationstaketurnsusingthebandwidth.Asthenumberoftransmittingworkstationsincreases,theamountofavailablebandwidthdecreases.

Note

Bandwidthisactuallydividedbythenumberoftransmittingstations.Simplyattachingastationdoesnotconsumebandwidthuntilthedevicetransmits.Asatheoreticalextreme,anetworkcanbeconstructedof1,000deviceswithonlyonedevicetransmittingandtheother999onlylistening.Inthiscase,thebandwidthisdedicatedtothesingletransmittingstationbyvirtueofthefactthatnootherdeviceistransmitting.Therefore,thetransmitterneverexperiencescollisionsandcantransmitwheneveritdesiresatfullmed

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 外语学习 > 日语学习

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1