Just do it!  wrote in message
news:3gkAdc$Kn4@bbs.cynix.com.tw...
> ¡° ¤Þ­z¡mYBO.bbs@bbs.yzu.edu.tw (¤W¯Z°Õ)¡n¤§»Ê¨¥¡G
> > ¡° ¤Þ­z¡mMjolnyr.bbs@BirdNest.infoX.Net (Francis Jan)¡n¤§»Ê¨¥¡G
> > > °­§è³J.
> > hub¦b¦h¤H³sµ²®É¤WºôÀW¼e¬O¥­§¡¤À°tªº
> > ¦ýswitch hub¬O¬Ý½Ö¦³»Ý­n¤~µ¹¥LÀW¼e
> > ¤]´N¬Ohub«Ü¹³¬O¼s¼·¤è¦¡¶Ç»¼°T®§
> > ¦Óswitch hub¬Oª½±µ¶Ç¨ì·Q­nªº¨º¥x¥D¾÷
>
> ¤@¯ë HUB »P Switch HUB¡A³£¬O¼s¼½ªº§r¡A­n¤£µM..
> ºô¸ôªÚ¾F«ç»ò¬Ý±o¨ì¡ADHCP¦p¦ó¨Ï¥Î©O¡H
>
> ·íµM¡Asupported VLAN ²£«~¨Ò¥~Åo..
>
> ¤@¯ë HUB »P Switch HUB ®t§O¡A»¡©ú¤@¤U¡A¦p¦³¿ù»~¡A
> Áٱ氪¤H«üÂI«üÂI.. :P
>
> Hub ¶ÈÄÝ©ó Layer 1 product.
> Switch Hub «hÄÝ©ó Layer 2 product.
>
> Switch Hub ¤ñ¤@¯ë Hub ¦hªº¥\¯à¡A³Ì¤Ö¥¦­nÁo©ú¦a¾Ç²ß
> ¨C­Ó Port ¹ïÀ³ªº Mac address¡C
>
> °²³] Switch Hub port 1 ¾Ç¨ìªº Mac address ¬° 00:10:B5:30:30:A9
> port 2 ¾Ç¨ìªº Mac address ¬° 00:10:C1:D3:E2:A2
> port 3 ¾Ç¨ìªº Mac address ¬° 00:10:B3:E3:A1:07
>
> Port 1 ©³¤U±µªº¬O Linux¡A
> Port 2 ©³¤U±µªº¬O Win98¡A
> Port 3 ©³¤U±µªº¬O Router¡C
>
> ¤µ¤Ñ¡A°²³]±z­n±q Linux ³z¹L Router ³s±µ¤W Internet¡A¨º»ò­º¥ý°e¥X
> ARP packages °Ý¨ì Router IP ©Ò¹ïÀ³ªº Mac address¡AµM«á Linux ´N
> ³s±µ¨ì Router ©Ò¹ïÀ³ªº Mac address (00:10:B3:E3:A1:07) °µ·¾³q¡C
>
> ¨ä¤¤¡ASwitch HUB ¤w¸g±oª¾ Linux »P Router ªº Mac address¡A·í Linux
> »P Router °µ¸ê®Æ¶Ç¿é®É¡A¨Ã¤£·|±N¸ê®Æ¥á¨ì port 2 µ¹ win98¡C°²¦p±z
> ·Q­n¦b Win98 ¤W¸Ë sniffer ¤§Ãþªº³nÅéÅ¥¨ú«Ê¥]¡A¨º»ò±z«hÅ¥¤£¨ì Linux
> »P Router ¤§¶¡¶Ç°eªº«Ê¥]¡C
>
> ³o´N¬O Switch HUB Áo©úªº¦a¤è¡C
> ¦ý¬O¦pªG¬O HUB¡AµL½×¬O³o­Ó½u¬qºô¸ô¤Wªº¥ô¦ó¸ê®Æ¡A¨C­Ó Port ³£¦¬±o¨ì¡C
>
> µ²½×¡ASwitch HUB¡A¤ñ HUB §ó¦³¦w¥þ©Ê¡A´î¤Ö«Ê¥]¸I¼²¡A¶Ç¿é§ó¦³®Ä²v¡C
>
> Åwªï¤j®a¤£§[«ü±Ð¡C
>


§Ú³ßÅw¬Ý¨ì³o¼Ëªºµª®×¡M¤]³ßÅw©M³o¼ËªºªB¤Í°Q½×¡C

§Ú­Ì³o¸Ì½Í¨ìªº switch ¬Û«H³£¬O«ü level 2 ¤W­±ªº§a¡M¨º»ò§Ú­Ì­nª¾¹D OSI level
2 layer ¤W­±¦³¤°»ò¼Ð·Ç¤~¦n²z¸Ñ¡C¨ä¤¤ªº IEEE802.x ¬OÀ³¥Î³Ì¼sªº¼Ð·Ç¡M¦Ó§Ú­Ì³Ì
±`¨£ªº ethernet «h¬O¨Ï¥Î IEEE802.3 ³o­Ó MAC sublayer ¼Ð·Ç¡M¨ä¤Wªº DLC
sublayer 802.2 ´N¥æµ¹¼g programing ªºªB¤ÍÀ°¦£¸ÑÄÀ¤@¤U §a¡C

§Ú­Ì³o¸Ì¬Ý¬Ý IEEE802.3 ¬O«ç»ò¹B§@ªº¡M¨ä¯S©Ê¦³­þ¨Ç¡S

IEEE802.3 ¦b ethernet ¤W¨Ï¥Îªº¶Ç¿é§Þ³N¡M³Ì´¶¹M³Q±Ä¥Îªº¬O CSMA/CD¡M¨ä¹ê¥i¥H
©î¶}¤T­Ó³¡¥÷¨Ó¤F¸Ñ¡R

1) CS (Carrier Sense)

¶Ç°e³]³Æ­n±N«H¸¹°e¦Ü¶Ç¿é´CÅ餧«e¡M­º¥ý­n±´´ú´CÅé¬O§_¤w¸g¦s¦b carrier¡M¦pªG
¦³¡M«hªí¥Ü¦³¨ä¥¦³]³Æ¦b¨Ï¥Î³o­Ó´CÅé¶i¦æ¨ä¥¦ªº¶Ç°e¡CµM«h¡M¶Ç°e³]³Æ´N¤£¯à¦V³o
­Ó´CÅé°e¥X«H¸¹¡M¦Ó¥²¶·µ¥¨ì¤U¦¸±´´ú¨S¦³ carrier ªº®É­Ô¤~¯à¶Ç°e¡C³o¤ñ¸û¦n²z
¸Ñ¡M¤]´N¬O¥ý·m¥ýĹ¹À¡M¦n¤ñ¦b½Ò°ó¤Wµo¨¥¡M½Ö¥ýÁ|¤â»¡½Ö¥ý»¡¡M¦pªG¤w¸g¦³¤H¦b»¡
¤F¡M¨º´Nµ¥¡C

2) MA (Mutiple Access)
¦b¦P¤@®É¶¡¤º¡M¤¹³\¦h­Ó³]³Æ¨Ï¥Î¦@¨É´CÅé(·íµM¤£¯àÂ÷¶} CS ©M CD ªº¨î¬ù)¡C¦b
CSMA/CD §Þ³N¤¤¡M·íµo°e³]³Æ¶¶§Q³q¹L CS ÀË´ú¤§«á¦V´CÅé°e¥X«H¸¹¦Ó¨S¦³µo¥Í
Collision ªº¸Ü¡M©Ò¦³¤À¨ÉµÛ¦P¤@´CÅ骺³]³Æ¡M³£¯à¦¬¨ì³o­Ó«H¸¹¡C¨C¤@­Ó³]³Æ³£¦³
¤@­Ó°ß¤@ªº¦ì§}¼ÐÃÑ¡M§Ú­Ì³q±`ºÙ¤§¬° MAC ¦ì§}¡Q¦Ó«H¸¹¦b¶Ç°e´CÅ餤«h¬O¥H frame
ªº§Î¦¡¶Ç°e¡M¨C­Ó frame ³£¦³¤@­Ó source ©M¤@­Ó destination ¦ì§}Äæ¡C¶Ç°e³]³Æ
±N frame °e¦Ü´CÅé¤W¤§«á¡M¥u¦³³Q¼ÐÃѬ° destination ªºªº³]³Æ¡M¤~·|±N«H¸¹ copy
¤U¨Ó¡M¦A©¹¤W¼hµ{¦¡»¼°e (decapsulate)¡M¦Ó¨º¨Ç³]³Æµo²{ destination ¤£¬O¦Û¤vªº
¸Ü¡M´N³æ¯Âªº¤£³B²z³o­Ó frame (°£«D¦b promiscuous ¼Ò¦¡¤§¤U)¡C

¤£¦Pªº¨ó©w¡M¹ï MA ¨Ï¥Îªº¤£¦P¡M¤]·|¼vÅT¾ãÅé®Ä²vªº¹B§@¡M¨Ò¦p¼s¼½«Ê¥]¡M¨º¨Ç¥H
FF:FF:FF:FF:FF:FF ¬° MAC ¦ì§}ªº«Ê¥]¡Mswitch ÁÙ¬O·|°e¨ì©Ò¦³¾÷¾¹¤W­±ªº¡M¦]¬°
¨Ï¥Î³o­Ó¼s¼½¦ì§}ªº frame¡M¨C­Ó±µ¦¬³]³Æ³£·|±N¤§ copy ¤U¨Ó¶i¦æ decapsulate ³B
²z¡C¨Ò¦p Microsoft Network ªº¨ó©w®a±Ú¡M¨ä¨Ï¥Î¼s¼½«Ê¥]ªº¤ñ²v¬O«D±`°ªªº¡M´Nºâ
¨Ï¥Î L2 switch ¹ï³o¼Ëªº¼s¼½¤]§ô¤âµLµ¦¡C¥u¦³§Q¥Î subnet ©M router ©Î§ó°ª
level ªº switch ¤~¦³®Ä¡M¦ý³]©wªº½ÆÂø©Ê©MÃB¥~¼W¥[ªº¥æ³q¡M¤]¬O­n¥t¦æµû¦ôªº¡M
®£©È´N¶W¥X¥Ø«eªº°Q½×½d³ò¤F¡C

3) CD (Collision Detection)
«e­±ªº CS ¹Lµ{¤¤¡M¦b²z·Qªº±¡ªp¤§¤U¡M©Ò¦³¤À¨ÉµÛ¦@¦P´CÅ骺³]³Æ¡M³£À³¸Ó¦³¾÷·|
¨ú±o¶Ç°eªº¾÷·|¡C¥u¬O¡M¹q¤l³]³Æªº¹B§@³t«×¡M»·«D§Ú­Ì¤HÃþ©Ò¯à·PÀ³ªº¡M³o¨Ç¹B
§@¡M¨C¤@¬íÄÁ¥i¯à¦³¤W¸U¬Æ¦Ü¦Ê¸U¦¸¤§¦h¡M¨Ò¦p CAT 5 ºØÃþªººô½u¡M´N¯à³B²z
350Mhz ©Î§ó°ªªº¶Ç°eÀW²v¡C°²¦p¡M·í¨â­Ó³]³Æ­è¦n¦b³o¦Ê¸U¤À¤§¤@¬í¤§¤º¡M¦P®É°µ
CS ªº°Ê§@¡M¦Ó¤S¦P®É±´´ú¨ì´CÅé¤W¨S¦³ carrier¡M¨º³oºØ±¡§Î¤§¤U¡M³o¨â­Ó³]³Æ¥i¯à
·|¦P®É¹ï³o´CÅé¶Ç°e«H¸¹¡M³o´N¬O§Ú­Ì±`»¡ªº Collision (¸I¼²)¤F¡C¦pªG·í¤@­Ó¸I¼²
µo¥Í¤F¡M´N·|¦b´CÅé¤W²£¥Ífrequecy ripple ²{¶H¡C·í¤@­Ó¦b½uªº³]³Æ°»´ú¨ì
ripple ¡M¥¦´N·|µo¥X¤@­Ó°ªÀW«H¸¹¥h²M°£©Ò¦³¨ä¥¦«H¸¹¡C´«¥y¸Ü»¡¡M³o­Ó«H¸¹¦P®É§i
¶D©Ò¦³³]³Æ¡M¸I¼²¤w¸gµo¥Í¡C³o®É­Ô¡M¨C¤@­Ó³]³Æ³£·|ÀH¾÷ªºµ¥«Ý¤@¬q®É¶¡¦A­«·s¶i
¦æ CS¡M¦pªG³sÄòªº(«D¶¡Â_ªº)ÁÙ¬O¹J¨ì collision¡M¨º´N«ö¤@©w¤ñ¨Ò©µ¿ðÀH¾÷µ¥«Ý®É
­Ô¡MÁ`¦@¥i¥H¶i¦æ16¦¸¹Á¸Õ¤j®a¤~·|³Ì²×©ñ±ó¡C©Ò¥H¤£Ãø¬Ý¥X¡M¦pªG¦b¦P¤@­Ó
segment ¤W­±¡M¦b½uªº³]³Æ¶V¦h¡M¨äµo¥Í collision ªº¾÷·|¤]¶V¤j¡C

¨Æ¹ê¤W¡M°£¤F CSMA/CD ¥~¡MÁÙ¦³¤@­Ó CSMA/CA (CA = Collision Avoidance) ªº§Þ³N
§Ú­Ì¥i¥H¨Ï¥Î¡Rµo°eºÝ¥ý¦V±µ¦¬ºÝ°e¥X RTS(Request To Send) «Ê¥]¡Mµ¥¦¬¨ì CTS
(Clear To Send) ¦^À³«á¡M¤~¦V´CÅé°e¥X«H¸¹¡CAppleTalk ¨ó©w´N¬O¨Ï¥Î³oºØ§Þ³N¡C
CA ©M CD ªº¤À§O¡M¥i¥H¥Î¹L¿W¤ì¾ô¨Ó¤ñ³ë¡R¥Î CD ªº®É­Ô¡M­n¹L´N¹L¡M¹L¤£¤F¦A¨Ó¡Q
¥Î CA ªº®É­Ô¡M·|¥ý¬£¤@­Ó¤p¼r±´¸ô¡M¦pªG¥L³q¹L¤F¡MµM«á±z¤~¬IµM¦Ó¹L¡C


¦n¤F¡M·í±z¤F¸Ñ CSMA/CD ³o­Ó¨ó©w¤§«á¡M¨º¦A¨Ó¬Ý¬Ý HUB ©M Switch ªº¤À§O§a¡R

HUB ³æ¯Âªº¬O¤@­Ó repeater¡M·í¥¦±q¤@­Ó port (©M TCP ¨ó©wªº port ¤£¤@¼Ë¡M³o¸Ì
¬O«ü´¡ºô¸ô½uªº±µ¤Õ)±µ¦¬«H¸¹¶i¨Ó¤§«á¡M·|±N³o­Ó«H¸¹­ì­ì¥»¥»ªº°e¨ì©Ò¦³¨ä¥¦
port ¤W¡M¤£ºÞ­þ¨Ç port ¬O±µ¨ì­þ¤@¥x¾÷¾¹¡C

¦Ó switch ©O¡S¥¦¦Û¤v¦³¤@¥÷ table¡M°O¿ýµÛ­þ­Ó port ±µ¨ì­þ¨Ç MAC ¦ì§}³]³Æ¤W¡C
·í«H¸¹±q¤@­Ó port ¶i¨Ó¤§«á¡M·|Àˬd³o­Ó frame ªº destination ¬O­þ­Ó MAC¡MµM
«á«ö table §ä¨ì³o­Ó MAC ¹ïÀ³ªº port ¡M¦Ó¶È±N«H¸¹©¹³o­Ó port °e¡M¨ä¥¦ªº port
´N¤£°e¤F¡C

³o¼Ë¦³¤°»ò¦n³B¡S

¥ý¬Ý¬Ý CS §a¡M·í¥Î hub ªº®É­Ô¡M©Ò¦³ port ©Ò³s±µ¨ìªº³]³Æ³£±´´ú¨ì carrier¡MµM
«á´N­nµ¥¡Q¦Ó¥Î switch ©O¡S¨º¨Ç¤£¬O destination ªº³]³Æ¡M¨Ã¨S¦³±´´ú¨ì
carrier¡M¤]´NµL»Ý¦Aµ¥¡M¥i¥Hª½±µ¦V´CÅé°e¥X«H¸¹¡C·í«H¸¹¨ì¹F switch ªº®É
­Ô¡Mswitch ·|¥ý§Q¥Î cache ±µ¦¬³o­Ó«H¸¹¡MµM«á¶i¦æ table ªº¤ñ¹ï¡M¦A¦V
destination °e¥X¡C¦pªG switch ªº cache ¶V¤j¡MCPU ³B²z¯à¤O¶V±j¡M¨ä®Ä²v¤]¶V
°ª¡M·íµM»ù¿ú¤]¶V¶Q¡C

¦A¬Ý CD¡M¦]¬°¤j³¡¥÷¥Ñ³]³Æ°e¥Xªº«H¸¹¡M³£·|¥ý³Q switch cache °_¨Ó¡MµM«á¦A¸g¹L
table §PÂ_°e¥X¡M¨º»ò collision ªº¾÷·|¤]¤j¬°ªº´î¤Ö¡M¥Ñ¦¹¡M¦] CD ¦Ó¤¤Â_ªº¶Ç°e
¤]´N¤j¬°´î¤Ö¡M¬Û¹ïªº¡M©Ò¦³³]³Æªº¨Ï¥Î®Ä²v¤]¤j¬°´£°ª¡C

¦Ü©ó MA¡M¬Û«H¤£¥Î¦h¸ÑÄÀ¤F§a¡S¨Ï¥Î swtich ÁÙ¦³¤@­Ó¦n³B¡R´£°ªºô¸ôªº¦w¥þ©Ê¡C¦p
ªG§Ú­Ì¥Î hub ¨Ó³s±µ³]³Æ¡M¦]¬° frame ·|©è¹F©Ò¦³¾÷¾¹¡M¦pªG¬Y¤H¦b¨ä³]³Æ¤W¸Ë¤W
¤@­Ó«Ê¥]§ì¨ú³nÅé¡M¦P®É±Nºô¸ô¥dªº promiscuous mode ¥´¶}¡M¨º´N¥i¥H¬Ý¨ì©Ò¦³ªº
«Ê¥]¤F¡Q¦ý¦pªG¥Î switch ©O¡S¥u¦³³Q°e¨ì³o¥x¾÷¾¹¤Wªº«Ê¥]¡M¤~¯à³Q§ì¨ì¡C³q±`¦b
ºô¸ô¦w¥þ¤W­±¡M¦w¥þ©Ê¹ï©ó®Ä¯à¤Î«K§Q©Ê¬O¦¨¤Ï¤ñªº¡R­n¼W¥[¦w¥þ©Ê¡M´N­nÄ묹®Ä¯à
©M«K§Q©Ê¡Q­n¼W¥[®Ä¯à©M«K§Q©Ê¡M´N­nÄ묹¦w¥þ©Ê¡C¦Ó switch¡M¦ü¥G¬O°ß¤@¥´¯}³o­Ó
¼ÔÆXªººô¸ô³]³Æ¤F¡C

­èÅקÚÁ٬ݨ즳¤H±N Bridge ©M Switch ²V¬°¤@½Í¤F¡M§Ú¤£ª¾¹D¸Ó¤¯¥S¹ï bridge ªº
²z¸Ñ¬O«ç¼Ëªº¡S¦b¤U»{¬°¡Mbridge ªº¥\¯à¥u¦³¨â­Ó¡Rfiltering ©M forwarding¡Q«á
ªÌ¬O®Ú¾Ú«eªÌ§PÂ_«á¤~¯àµo¥Í¡C

¨Ï¥Î bridge ªº®É­Ô¡M°ò¥»¤W±Nª«²zªº³s½u¤Á¬°¨â­Ó segment (©Î¦h­Ó¡Mµø bridge
¬É­±¦Ó©w)¡MµM«á¡Mbridge ¤]·|«Ø¥ß°_¦Û¤vªº table¡M¤À§O±N¤£¦Pªº MAC ¹º¤À¨ì¤£¦P
ªº segment ¥h¡CµM«á·í frame ©è¹F bridge ªº®É­Ô¡Mbridge ·|Àˬd¨ä source ©M
destination¡M¦pªGµo²{³o¨â­Ó MAC ³£¦b¦P¤@­Ó segment ¤§¤W¡M¨º´N¤£³B²z³o­Ó
frame (µo´§ filter ªº¥\¯à)¡Q¦ý¦pªGµo²{ soure ©M destination ¤£¦b¦P¤@­Ó
segment ¤W©O¡M´N°_¥Î forward ¥\¯à¡M±N frame °e¨ì destination ¨º­Ó segment
¤W¡M©Î¬O³æ¯Âªº¦V©Ò¦³¡¥«D source¡¦¨ì segment(s) »¼°e(µø bridge ªº¯à¤O)¡C

³o¼Ë¬Ý¨Ó¡Mbridge ¹ï CS ©M CD ¤]°_¨ì§ïµ½ªº§@¥Î¡M¦ý¨ä¹ï frame ªº³B²z¡M²¦³º©M
switch ¬O¤£¤@¼Ëªº¡Rbridge ¥H segment ¬°¨Ì¾Ú¡M¦Ó switch «h¥H­Ó§O³]³Æ¬°³æ¦ì¡M
©Ò¥H¦b°õ¦æ®Ä²v¤WÁÙ¬O¦³¤À§Oªº¡C·íµM¡M¦pªG±z±N¨C¤@ port ©Ò³s±µªº³]³Æ¬Ý¬°³æ¤@
ªº segment¡MµM«á±N switch ¬Ý¬° learning bridge¡M¨º©Î³\¥i¥H±N¥¦­Ì¬Ý¬°·¥¬°ªñ
¦üªº¨â­Ó³]³Æ§a¡C

¦Ü©ó©ó 10Base ©M 100Base ªºÂà´«¡M¨º¥u¬O switch ¤¤¤@¶µ«D±`²³æªº¥\¯à¦Ó¤w¡M¨Ã
«D¬O switch ¯u¥¿¥[¤Àªº¦]¯À¡C


¥H¤W¯Â¬°­Ó¤H»{ª¾¡M¦p¦³¿ù»~¡MÀµ½Ð«ü¥¿¡M¥H§K»~¾ÉÆ[²³¡C

--


======= http://www.study-area.org =======
­¸³·ªï¬K¨ì¡M­·«B°e¬KÂk
¤w¬O´H±V¦Ê¤V¦B¡M¤×¦³ªáªK«N
«N¤]¤£ª§¬K¡M¥u§â¬K¨Ó³ø
«Ý±o¤sªáÄ꺩®É¡M¥L¦bÂO¤¤¯º¡T
 
 
¦^ÂÐ¥»¤å 
 Re: ½Ð°Ý¦³Ãö°òÀW¼eÀWªº°ÝÃD 
§@ªÌ: netman (---.seed.net.tw)
¤é´Á:   01/06/15 15:26


¦Ë­·«l°_  wrote in message
news:3gkYKi$UHC@BirdNest.infoX.Net...

>
> ³o¤@¬q§A¥i¥H§âIEEE 802.3ùØ­±Ãö©ójamªº±Ô­z¦A¬Ý¤@¬Ý¡A§Aªº»¡ªk»P¹ê»Ú±¡ªp¦³
> ¥X¤J¡C

¦hÁ´£ÂI¡T

¾Ç²ßªº¹Lµ{¤¤¡M¯u¬O¨Ó¤£±o¥bÂIÃi´k¡M·Q°½Ãi»X²V¡M¹ê¦b¤£®e©ö¹LÃö¡C¬°§K»~¾É¤j
®a¡M±N¤å¥ó¬d¸ßµ²ªG¯÷¦C¦p¤U¡R

4.1.2.2 Access interference and recovery
In half duplex mode,if multiple stations attempt to transmit at the same
time,it is possible for them to interfere with each other ¡¦s
transmissions,in spite of their attempts to a oid this by deferring.When
transmissions
from two stations o erlap,the resulting contention is called a
collision.Collisions occur only in half duplex
mode,where a collision indicates that there is more than one station
attempting to use the shared physical
medium.In full duplex mode,two stations may transmit to each other
simultaneously without causing interference.The Physical Layer may generate
a collision indication,but this is ignored by the full duplex MAC.
A gi en station can experience a collision during the initial part of its
transmission (the collision window)
before its transmitted signal has had time to propagate to all stations on
the CSMA/CD medium.Once the
collision window has passed,a transmitting station is said to ha e acquired
the medium;subsequent collisions are a oided since all other (properly
functioning)stations can be assumed to ha e noticed the signal
and to be deferring to it.The time to acquire the medium is thus based on
the round-trip propagation time of
the Physical Layer whose elements include the PLS,PMA,and physical medium.
In the e ent of a collision,the transmitting station ¡¦s Physical Layer
initially notices the interference on the
medium and then turns on the collision detect signal.In half duplex
mode,this is noticed in turn by the
Transmit Media Access Management component of the MAC sublayer,and
collision handling begins.First,
Transmit Media Access Management enforces the collision by transmitting a
bit sequence called jam.In 4.4,
implementations that use this enforcement procedure are provided.This
ensures that the duration of the collision is suf ?cient to be noticed by
the other transmitting station(s)in olved in the collision.After the jam is
sent,Transmit Media Access Management terminates the transmission and
schedules another transmission
attempt after a randomly selected time interval.Retransmission is attempted
again in the face of repeated
collisions.Since repeated collisions indicate a busy medium,howe
er,Transmit Media Access Management
attempts to adjust to the medium load by backing off (voluntarily delaying
its own retransmissions to reduce
its load on the medium).This is accomplished by expanding the interval from
which the random retransmission time is selected on each successi e
transmit attempt.Eventually,either the transmission succeeds,or the
attempt is abandoned on the assumption that the medium has failed or has
become o erloaded.
In full duplex mode,a station ignores any collision detect signal generated
by the Physical Layer.Transmit
Media Access Management in a full duplex station will always be able to
transmit its frames without contention,so there is ne er any need to jam or
reschedule transmissions.
At the receiving end,the bits resulting from a collision are recei ed and
decoded by the PLS just as are the
bits of a alid frame.Fragmentary frames recei ed during collisions are
distinguished from alid transmissions by the MAC sublayer ¡¦s Recei e Media
Access Management component.


4.2.3.2.3 Collision handling (half duplex mode only)
Once a CSMA/CD sublayer has ?nished deferring and has started
transmission,it is still possible for it to
experience contention for the medium.Collisions can occur until acquisition
of the network has been accomplished through the deference of all other
stations ¡¦ CSMA/CD sublayers.
The dynamics of collision handling are largely determined by a single
parameter called the slot time.This
single parameter describes three important aspects of collision handling:
a)It is an upper bound on the acquisition time of the medium.
b)It is an upper bound on the length of a frame fragment generated by a
collision.
c)It is the scheduling quantum for retransmission.
To ful ?ll all three functions,the slot time shall be larger than the sum
of the Physical Layer roundtrip propagation time and the Media Access Layer
maximum jam time.The slot time is determined by the parameters
of the implementation,see 4.4.

4.2.3.2.4 Collision detection and enforcement (half duplex mode only)
Collisions are detected by monitoring the collisionDetect signal provided
by the Physical Layer.When a collision is detected during a frame
transmission,the transmission is not terminated immediately.Instead,the
transmission continues until additional bits speci ?ed by jamSize ha e been
transmitted (counting from the
time collisionDetect went on).This collision enforcement or jam guarantees
that the duration of the collision
is suf ?cient to ensure its detection by all transmitting stations on the
network.The content of the jam is
unspeci ?ed;it may be any ?xed or ariable pattern con enient to the Media
Access implementation,however,the implementation shall not be intentionally
designed to be the 32-bit CRC alue corresponding to the
(partial)frame transmitted prior to the jam.
4.2.3.2.5 Collision backoff and retransmission (half duplex mode only)
When a transmission attempt has terminated due to a collision,it is retried
by the transmitting CSMA/CD
sublayer until either it is successful or a maximum number of attempts
(attemptLimit)ha e been made and
all ha e terminated due to collisions.Note that all attempts to transmit a
gi en frame are completed before
any subsequent outgoing frames are transmitted.The scheduling of the
retransmissions is determined by a
controlled randomization process called ¡§truncated binary exponential
backoff.¡¨At the end of enforcing a
collision (jamming),the CSMA/CD sublayer delays before attempting to
retransmit the frame.The delay is
an integer multiple of slotTime.The number of slot times to delay before
the nth retransmission attempt is
chosen as a uniformly distributed random integer r in the range:
0 r <2 k
where
k =min (n,10)
If all attemptLimit attempts fail,this e ent is reported as an
error.Algorithms used to generate the integer r
should be designed to minimize the correlation between the numbers
generated by any two stations at any
given time.
Note that the alues gi en abo e de ?ne the most aggressi e behavior that a
station may exhibit in attempting
to retransmit after a collision.In the course of implementing the
retransmission scheduling procedure,a station may introduce extra delays
that will degrade its own throughput,but in no case may a station ¡¦s
retransmission scheduling result in a lower a erage delay between
retransmission attempts than the procedure
defined above.

4.2.4.2.2 Collision Filtering
In the absence of a collision,the shortest alid transmission in half duplex
mode must be at least one slot-Time in length.Within a burst of frames,the
?rst frame of a burst must be at least slotTime bits in length in
order to be accepted by the recei er,while subsequent frames within a burst
must be at least minFrameSize
in length.Anything less is presumed to be a fragment resulting from a
collision,and is discarded by the
recei er.In half duplex mode,occasional collisions are a normal part of the
Media Access management procedure.The discarding of such a fragment by a
MAC is not reported as an error.
The shortest alid transmission in full duplex mode must be at least
minFrameSize in length.While collisions do not occur in full duplex mode
MACs,a full duplex MAC ne ertheless discards recei ed frames containing
less than minFrameSize bits.The discarding of such a frame by a MAC is not
reported as an error.

> ½Ö»¡ªº?
> ½Ð§âIEEE 802.3¼Ð·Ç¤¤¹ïswitch©Mbridgeªº©w¸q®³¨Ó¬Ý¬Ý§a¡C
> ¥t¥~¡AIEEE 802.1Dªº¼ÐÃD¥¿¬O MAC bridge¡C
>


­èÅ׬d¤F¤@¤U IEEE ªº¤å¥ó¡Mªº½Tµo²{¥L­Ì±N switch ©M bridge ©w¸q¦b¤@°_¤F¡C¨º
´N¤£¯à©Ç·íªì¦b®Õ®Éªºµ§°O¡M¦ÓÀ³¸Ó©Ç¦Û¤v¨S¥J²Ó¬Ý¤å¥óÅo~~~

¤£¹L¡MŪ IEEE ©Î RFC ¤§Ãþªº¤å¥ó¡Mªº½T¬O«D±`¥F¨ýªº¡M¦pªG¤£·Q±qÀY¬Ý°_¡M¤U­±¬O
§Ú¡¥Â_³¹¨ú¸q¡¦¤U¨Óªº¤Þ¤å¡M§Æ±æ¹ï¨º¨Ç¦³¿³½ì¬Ý¬ÝªºªB¤Í¦³¨ÇÀ°§U§a¡C



********************************************

IEEE Std 802.3, 2000 Edition
Part 3:Carrier sense multiple access with collision detection (CSMA/CD)
access method and physical layer specifications

1.4 Definitions
1.4.53 bridge:A layer 2 interconnection device that does not form part of a
CSMA/CD collision domain but
conforms to the ISO/IEC 15802-3:1998 [ANSI/IEEE 802.1D,1998
Edition ]International Standard.A
bridge does not form part of a CSMA/CD collision domain but,rather appears
as a Media Access Control
(MAC)to the collision domain.(See also IEEE Std 100-1996.)
1.4.264 switch:A layer 2 interconnection device that conforms to the
ISO/IEC 10038 [ANSI/IEEE 802.1D-
1990 ] International Standard..Syn:bridge.

4.1.1 Overview
The most common configuration envisioned for full duplex operation consists
of a central bridge (also
known as a switch)with a dedicated LAN connecting each bridge port to a
single device.


12.4.3.2.7 Collision presence startup
When a hub starts generating CP (as speci ?ed in 12.4.3.2.2 through
12.4.3.2.5)it shall synchronize the startup to a half or whole bit-cell
boundary of any immediately preceding signal.If it was sending IDL
immediately before the CP,no synchronization or preamble is required.
A hub may start transmission of CP at any point in the sequence that does
not result in periods of more than
one bit time without a transition during the switch from passing on data to
sending CP.Depending on the
preceding signal,it may start with L010H,010HL,10HL0,0HL01,or HL010.Because
startup may be synchronized to any half-bit-cell boundary,a hub may also
transmit the shifted ersion of CP starting with
1LH10,LH101,H101L,101LH,or 01LH1.



********************************************

ANSI/IEEE Std 802.1D, 1998 Edition
Part 3: Media Access Control (MAC) Bridges


6. Support of the MAC Service

MAC Bridges interconnect the separate IEEE 802 LANs that comprise a Bridged
LAN by relaying and filtering
frames between the separate MACs of the Bridged LAN.The position of the
bridging function within
the MAC Sublayer is shown in Figure 6-1.

Figure 6-1¡XInternal organization of the MAC Sublayer

This clause discusses the following aspects of service provision in Bridged
LANs:
a) Provision of the MAC Service to end stations;
b) Preservation of the MAC Service;
c) Maintenance of Quality of Service;
d) Provision of the internal sublayer service within the MAC Bridge;
e) Support of the Internal Sublayer Service by specific MAC procedures;
f) Filtering services.

6.5.1 Support by IEEE Std 802.3 (CSMA/CD)
The CSMA/CD access method is specified in IEEE Std 802.3. Clause 3 of that
standard specifies the MAC
frame structure, and Clause 4 specifies the MAC method.
On receipt of an M_UNITDATA.request primitive, the local MAC Entity
performs Transmit Data Encapsulation,
assembling a frame using the parameters supplied as specified below. It
prepends a preamble and a
Start Frame Delimiter before handing the frame to the Transmit Media Access
Management Component in
the MAC Sublayer for transmission (IEEE Std 802.3, 4.2.3).
On receipt of a MAC frame by Receive Media Access Management, the MAC frame
is passed to Receive
Data Decapsulation, which validates the FCS and disassembles the frame, as
specified below, into the
parameters that are supplied with an M_UNITDATA.indication primitive (IEEE
Std 802.3, 4.2.4).
The frame_type parameter takes only the value user_data_frame and is not
explicitly encoded in MAC
frames.
The mac_action parameter takes only the value request_with_no_response and
is not explicitly encoded in
MAC frames.
The destination_address parameter is encoded in the destination address
field of the MAC frame (IEEE Std
802.3, 3.2.3).
The source_address parameter is encoded in the source address field of the
MAC frame (IEEE Std
802.3, 3.2.3).
The number of octets in the mac_service_data_unit parameter is encoded in
the length field of the MAC
frame (IEEE Std 802.3, 3.2.6), and the octets of data are encoded in the
data field (IEEE Std 802.3, 3.2.7).

The user_priority parameter provided in a data request primitive is not
encoded in MAC frames. The
user_priority parameter provided in a data indication primitive takes the
value of the Default User Priority
parameter for the Port through which the MAC frame was received (see 6.4).
The frame_check_sequence parameter is encoded in the FCS field of the MAC
frame (IEEE Std 802.3,
3.2.8). The FCS is computed as a function of the destination address,
source address, length, data, and PAD
fields. If an M_UNITDATA.request primitive is not accompanied by this
parameter, it is calculated in accordance
with IEEE Std 802.3, 3.2.8.
NOTE 1¡XSince the PAD field, if present, contributes to the FCS, this
parameter needs to include at least the contribution
of the PAD field to the FCS in order for the original FCS to be preserved
(See Annex G).
No special action, above that specified for the support of use of the MAC
Service by LLC, is required for the
support of the MAC Internal Sublayer Service by the CSMA/CD access method.
NOTE 2¡XThe support by IEEE Std 802.3 is described only in terms of the
operation of a Bridge when relaying frames
that result from the use of LLC services over an 802.3 MAC. ISO/IEC 11802-5
defines the recommended practice for
bridging Ethernet V2.0 frames.
NOTE 3¡XIEEE Std 802.3, 1998 Edition, describes the use of either a Length
or an Ethernet protocol type in its frame
format; however, the text of this subclause has yet to be revised to
describe the use of Ethernet protocol types.


6.6 Filtering services in Bridged LANs
MAC Bridges provide filtering services in Bridged LANs that support some
aspects of the maintenance of
Quality of Service; in particular, transit delay, priority, and throughput.
In addition, these services provide
for a degree of administrative control over the propagation of particular
MAC Addresses in the Bridged
LAN.
The services described are services in the most general sense; i.e., they
are descriptions of the functionality
that are made available to the MAC Service user or an administrator in
order to control and access filtering
capabilities in Bridged LANs. The description of each service makes no
assumptions in terms of how the
service might be realized. There are at least the following possibilities:
a) Use of existing protocols and mechanisms, defined in IEEE 802 standards
and elsewhere;
b) Use of management functionality, either locally defined or implemented
via remote management
protocols;
c) Other means, standardized or otherwise.
6.6.1 Purpose(s) of filtering service provision
Filtering services are provided in Bridged LANs for the purposes described
in the following subclauses.


6.6.7.1 Dynamic registration and de-registration services
These services allow MAC Service users dynamic control over the set of
destination Group MAC Addresses
that they will receive from the MAC Service provider, by
a) Registering/de-registering membership of specific Groups associated with
those addresses;
b) Registering/de-registering their service requirements with regard to the
overall forwarding/filtering
behavior for Groups.
Provision of these services is achieved by means of GMRP and its associated
procedures, as described in
Clause 10.
NOTE¡XThe intent of these services is to provide the MAC Service user with
dynamic control over access to multicast
data streams, for example, multiple video channels made available by a
server using a different group MAC Address for
each channel. The ability to both register and de-register Group
membership, coupled with the filtering action associated
with the Group membership, limits the impact of such services on the
bandwidth available in the Bridged LAN. These
services can be used to control the reception of other categories of
multicast traffic, for similar reasons.

REGISTER_GROUP_MEMBER (MAC_ADDRESS)
Indicates to the MAC Service provider that the MAC Service user wishes to
receive frames containing the
group MAC Address indicated in the MAC_ADDRESS parameter as the destination
address. The MAC
Addresses that can be carried by this parameter do not include
a) Any individual address;
b) Any of the Reserved Addresses identified in Table 7-9;
c) Any of the GARP Application addresses, as defined in Table 12-1.
DEREGISTER_GROUP_MEMBER (MAC_ADDRESS)
Indicates to the MAC Service provider that the end station no longer wishes
to receive frames containing the
group MAC Address indicated in the MAC_ADDRESS parameter as the destination
address.
REGISTER_SERVICE_REQUIREMENT (REQUIREMENT_SPECIFICATION)
Indicates to the MAC Service provider that the MAC Service user has a
requirement for any devices that
support Extended Filtering Services to forward frames in the direction of
the Mac Service User in accordance
with the definition of the service requirement defined by the
REQUIREMENT_SPECIFICATION
parameter. The values that can be carried by this parameter are
a) Forward All Groups;
b) Forward Unregistered Groups.
DEREGISTER_SERVICE_REQUIREMENT (REQUIREMENT_SPECIFICATION)
Indicates to the MAC Service provider that the MAC Service user no longer
has a requirement for any
devices that support Extended Filtering Services to forward frames in the
direction of the Mac Service User
in accordance with the definition of the service requirement defined by the
REQUIREMENT_SPECIFICATION parameter. The values that can be carried by this
parameter are
a) Forward All Groups;
b) Forward Unregistered Groups.
The use of these services can result in the propagation of group MAC
Address and service requirement
information across the Spanning Tree, affecting the contents of Group
Registration Entries (7.9.3) in Bridges
and end stations in the Bridged LAN, and thereby affecting the frame
forwarding behavior of the Bridges
and end stations with regard to multicast frames.


7.1 Bridge operation
The principal elements of Bridge operation are
a) Relay and filtering of frames.
b) Maintenance of the information required to make frame filtering and
relaying decisions.
c) Management of the above.
7.1.1 Relay
A MAC Bridge relays individual MAC user data frames between the separate
MACs of the Bridged LANs
connected to its Ports. The order of frames shall be preserved as defined
in 7.7.3.
The functions that support the relaying of frames and maintain the Quality
of Service supported by the
Bridge are
a) Frame reception.
b) Discard on received frame in error (6.3.2).
c) Frame discard if the frame_type is not user_data_frame, or if its
mac_action parameter is not
request_with_no_response (6.4).
d) Regeneration of user priority, if required (6.4).
e) Frame discard following the application of filtering information.
f) Frame discard on transmittable service data unit size exceeded (6.3.8).
g) Forwarding of received frames to other Bridge Ports.
h) Selection of traffic class, following the application of filtering
information.
i) Queuing of frames by traffic class.
j) Frame discard to ensure that a maximum bridge transit delay is not
exceeded (6.3.6).
k) Selection of queued frames for transmission.
l) Selection of outbound access priority (6.3.9).
m) Mapping of service data units and recalculation of Frame Check Sequence,
if required (6.3.7, 7.7.6).
n) Frame transmission.
7.1.2 Filtering and relaying information
A Bridge filters frames, i.e., does not relay frames received by a Bridge
Port to other Ports on that Bridge, in
order to prevent the duplication of frames (6.3.4). The function that
supports the use and maintenance of
information for this purpose is
a) Calculation and configuration of Bridged LAN topology.

A Bridge also filters frames in order to reduce traffic in parts of the
Bridged LAN that do not lie in the path
between the source and destination of that traffic. The functions that
support the use and maintenance of
information for this purpose are:
b) Permanent configuration of reserved addresses.
c) Explicit configuration of static filtering information.
d) Automatic learning of dynamic filtering information for unicast
destination addresses through observation
of source addresses of Bridged LAN traffic.
e) Ageing out of dynamic filtering information that has been learned.
f) Automatic addition and removal of dynamic filtering information as a
result of GMRP protocol
exchanges.
A Bridge classifies frames into traffic classes in order to expedite
transmission of frames generated by critical
or time-sensitive services. The function that supports the use and
maintenance of information for this
purpose is
g) Explicit configuration of traffic class information associated with the
Ports of the Bridge.
7.1.3 Bridge Management
The functions that support Bridge Management control and monitor the
provision of the above functions.
They are specified in Clause 14.

7.2 Bridge architecture
7.2.1 Architectural model of a Bridge
Figure 7-1 gives an example of the physical topology of a Bridged LAN. The
component LANs are interconnected
by means of MAC Bridges; each Port of a MAC Bridge connects to a single
LAN. Figure 7-2 illustrates
a Bridge with two Ports, and Figure 7-3 illustrates the architecture of
such a Bridge.
A Bridge is modeled as consisting of
a) A MAC Relay Entity that interconnects the Bridge¡¦s Ports;
b) At least two Ports;
c) Higher layer entities, including at least a Bridge Protocol Entity.
7.2.2 MAC Relay Entity
The MAC Relay Entity handles the MAC method independent functions of
relaying frames between Bridge
Ports, filtering frames, and learning filtering information. It uses the
Internal Sublayer Service provided by
the separate MAC Entities for each Port. (The Internal Sublayer Service and
its support are described in 6.4
and 6.5.) Frames are relayed between Ports attached to different LANs.
7.2.3 Ports
Each Bridge Port transmits and receives frames to and from the LAN to which
it is attached. An individual
MAC Entity permanently associated with the Port provides the Internal
Sublayer Service used for frame
transmission and reception. The MAC Entity handles all the MAC method
dependent functions (MAC protocol
and procedures) as specified in the relevant standard for that IEEE 802 LAN
MAC technology.

7.5 Frame reception
The individual MAC Entity associated with each Bridge Port examines all
frames transmitted on the LAN to
which it is attached.
All error-free received frames give rise to M_UNITDATA indication
primitives, which shall be handled as
follows.
NOTE¡XA frame that is in error, as defined by the relevant MAC
specification, is discarded by the MAC Entity without
giving rise to any M_UNITDATA indication; see 6.4.
Frames with M_UNITDATA.indication primitive frame_type and mac_action
parameter values of
user_data_frame and request_with_no_response, respectively (6.4), shall be
submitted to the Learning and
Forwarding Processes.
Frames with other values of frame_type and mac_action parameters (e.g.,
request_with_response and response
frames), shall not be submitted to the Forwarding Process. They may be
submitted to the Learning Process.
Frames with a frame_type of user_data_frame and addressed to the Bridge
Port as an end station shall be
submitted to LLC. Such frames carry either the individual MAC Address of
the Port or a group address associated
with the Port (7.12) in the destination address field. Frames submitted to
LLC can also be submitted to
the Learning and Forwarding Processes, as specified above.
Frames addressed to a Bridge Port as an end station, and relayed to that
Bridge Port from other Bridge Ports
in the same Bridge by the Forwarding Process, shall also be submitted to
LLC.
No other frames shall be submitted to LLC.


7.6 Frame transmission
The individual MAC Entity associated with each Bridge Port transmits frames
submitted to it by the MAC
Relay Entity.
Relayed frames are submitted for transmission by the Forwarding Process.
The M_UNITDATA.request
primitive associated with such frames conveys the values of the source and
destination address fields
received in the corresponding M_UNITDATA.indication primitive.
LLC Protocol Data Units are submitted by LLC as a user of the MAC Service
provided by the Bridge Port.
Frames transmitted to convey such Protocol Data Units carry the individual
MAC Address of the Port in the
source address field.
Each frame is transmitted subject to the MAC procedures to be observed for
that specific IEEE 802 LAN
technology. The values of the frame_type and mac_action parameters of the
corresponding M_UNITDATA.
request primitive shall be user_data_frame and request_with_no_response,
respectively (6.5).
Frames transmitted following a request by the LLC user of the MAC Service
provided by the Bridge Port
shall also be submitted to the MAC Relay Entity.

7.7 The Forwarding Process
Frames submitted to the Forwarding Process after being received at any
given Bridge Port (7.5) shall be forwarded
through the other Bridge Ports subject to the constituent functions of the
Forwarding Process. These
functions enforce topology restrictions (7.7.1), use filtering database
information to filter frames (7.7.2),
queue frames (7.7.3), select queued frames for transmission (7.7.4), map
priorities (7.7.5), and recalculate
FCS if required (7.7.6).

The Forwarding Process functions are described in 7.7.1¡V7.7.6 in terms of
the action taken for a given frame
received on a given Port (termed ¡§the reception Port¡¨). The frame can be
forwarded for transmission on
some Ports (termed ¡§transmission Ports¡¨), and is discarded without being
transmitted at the other Ports.
NOTE¡XThe model of operation of the Forwarding Process described in this
standard is limited to the operation of the
relay function of the MAC Bridge, and does not take into consideration what
may occur in real implementations once
frames are passed to the MAC for transmission. In some MAC implementations,
and under some traffic conditions, a
degree of indeterminacy may be introduced between the modeled description
of the process of passing selected frames to
the MAC for transmission and the actual sequence of frames as visible on
the LAN medium itself. Examples can be
found in the handling of access_priority in Token-Passing Bus MACs, or in
the effect of different values for Token Holding
Time in FDDI LANs. Such indeterminacy could result in apparent violation of
the queuing/de-queueing and prioritiation
rules described for the Forwarding Process, when observing traffic on the
medium. As a consequence, in some
implementations of this standard, it may prove to be impossible to test
conformance to the standard simply by relating
observed LAN traffic to the described model of the Forwarding Process;
conformance tests would have to allow for the
(permissible) behavior of the MAC implementations as well.
Figure 7-4 illustrates the operation of the Forwarding Process in a single
instance of frame relay between the
Ports of a Bridge with two Ports. Figure 7-8 illustrates the detailed
operation of the Forwarding Process.


7.8 The Learning Process
The Learning Process observes the source addresses of frames received on
each Port and updates the Filtering
Database conditionally on the state of the receiving Port.
Frames are submitted to the Learning Process by the individual MAC Entities
associated with each Bridge
Port as specified in 7.5.
The Learning Process may deduce the path through the Bridged LAN to
particular end stations by inspection
of the source address field of received frames. It shall create or update a
Dynamic Filtering Entry (7.9, 7.9.2)
in the Filtering Database, associating the Port on which the frame was
received with the MAC Address in the
source address field of the frame, if and only if
a) The Port on which the frame was received is in a state that allows
learning (8.4), and
b) The source address field of the frame denotes a specific end station,
i.e., is not a group address, and
c) No Static Filtering Entry (7.9, 7.9.1) for the associated MAC Address
exists in which the Port Map
specifies Forwarding or Filtering for that Port, and
d) The resulting number of entries would not exceed the capacity of the
Filtering Database.
If the Filtering Database is already filled up to its capacity, but a new
entry would otherwise be made, then an
existing entry may be removed to make room for the new entry.
Figure 7-5 illustrates the operation of the Learning Process in the
inclusion of station location information
carried by a single frame, received on one of the Ports of a Bridge, in the
Filtering Database.


7.9 The Filtering Database
The Filtering Database supports queries by the Forwarding Process as to
whether frames received by the
Forwarding Process from a given reception Port, and with given values of
destination MAC Address parameter,
are to be forwarded through a given potential transmission Port (7.7.1,
7.7.2). It contains filtering information
in the form of filtering entries that are either
a) Static, and explicitly configured by management action; or
b) Dynamic, and automatically entered into the Filtering Database by the
normal operation of the
bridge and the protocols it supports.
A single entry type, the Static Filtering Entry, represents all static
information in the Filtering Database, for
individual and for group MAC Addresses. It allows administrative control of

c) Forwarding of frames with particular destination addresses; and
d) The inclusion in the Filtering Database of dynamic filtering information
associated with Extended
Filtering Services, and use of this information.
The Filtering Database shall contain entries of the Static Filtering Entry
type.
Static filtering information is added to, modified, and removed from the
Filtering Database only under
explicit management control. It shall not be automatically removed by any
ageing mechanism. Management
of static filtering information may be carried out by use of the remote
management capability provided by
Bridge Management (7.11) using the operations specified in Clause 14.
Two entry types are used to represent dynamic filtering information.
Dynamic Filtering Entries are used to
specify the ports on which individual addresses have been learned. They are
created and updated by the
Learning Process (7.8), and are subject to ageing and removal by the
Filtering Database. Group Registration
Entries support the registration of group MAC Addresses. They are created,
updated, and removed by the
GMRP protocol in support of Extended Filtering Services (6.6.5, 7.9.3, and
Clause 10). Dynamic filtering
information may be read by use of the remote management capability provided
by Bridge Management
(7.11) using the operations specified in Clause 14.
Both static and dynamic entries comprise
e) A MAC Address specification;
f) A Port Map, with a control element for each outbound Port to specify
filtering for the MAC Address
specification.
The Filtering Services supported by a Bridge (Basic and Extended Filtering
Services) determine the default
behavior of the Bridge with respect to the forwarding of frames destined
for group MAC Addresses. In
Bridges that support Extended Filtering Services, the default forwarding
behavior of each Port for group
MAC Addresses can be configured both statically and dynamically by means of
Static Filtering Entries and/
or Group Registration Entries that can carry the following MAC Address
specifications:
g) All Group Addresses, for which no more specific Static Filtering Entry
exists;
h) All Unregistered Group Addresses (i.e., all group MAC Addresses for
which no Group Registration
Entry exists), for which no more specific Static Filtering Entry exists.
NOTE¡XThe All Group Addresses specification (item g above), when used in a
Static Filtering Entry with an appropriate
control specification, provides the ability to configure a Bridge that
supports Extended Filtering Services to behave as a
Bridge that supports only Basic Filtering Services on some or all of its
Ports. This might be done for the following reasons:
¡X The Ports concerned serve ¡§legacy¡¨ devices that wish to receive
multicast traffic, but are unable to register Group
membership;
¡X The Ports concerned serve devices that need to receive all multicast
traffic, such as routers or diagnostic devices.
The Filtering Database shall support the creation, updating, and removal of
Dynamic Filtering Entries by the
Learning Process (7.8). In Bridges that support Extended Filtering
Services, the Filtering Database shall
support the creation, updating, and removal of Group Registration Entries
by GMRP (Clause 10).
Figure 7-4 illustrates the use of the Filtering Database by the Forwarding
Process in a single instance of
frame relay between the Ports of a Bridge with two Ports.
Figure 7-5 illustrates the creation or update of a dynamic entry in the
Filtering Database by the Learning
Process.

Figure 7-6 illustrates the operation of the Bridge Protocol Entity (7.10),
which operates the Spanning Tree
Algorithm and Protocol, and its notification of the Filtering Database of
changes in active topology signaled
by that protocol.


7.12.1 End stations
Frames transmitted between end stations using the MAC Service provided by a
Bridged LAN carry the
MAC Address of the source and destination peer end stations in the source
and destination address fields of
the frames, respectively. The address, or other means of identification, of
a Bridge is not carried in frames
transmitted between peer users for the purpose of frame relay in the
Bridged LAN.
The broadcast address and other group MAC Addresses apply to the use of the
MAC Service provided by a
Bridged LAN as a whole. In the absence of explicit filters configured via
management as Static Filtering
Entries, or via GMRP as Group Registration Entries (Clause 14, Clause 10,
7.9), frames with such destination
addresses are relayed throughout the Bridged LAN.
7.12.2 Bridge Ports
The individual MAC Entity associated with each Bridge Port shall have a
separate individual MAC Address.
This address is used for any MAC procedures required by the particular MAC
method employed.
Frames that are received from the LAN to which a Port is attached and that
carry a MAC Address for the
Port in the destination address field are submitted to the MAC Service User
(LLC) exactly as for an end
station.


******************************************************


¦³³\¦h¤H¡M¦p§Ì¡M¤£¬O«Ü³ßÅw¬Ý¤å¥ó¡M¦ý´Nºâ¬Ý±oÀ´¤å¥ó¡M¦p¦ó¾ã²z¥X¨Ó¡M¦V¤j®a»¡
©ú¥Õ¡M¬Ý¨Ó¤ñ°_¬Ý¤å¥ó§óÃø¡T



-----------


¨Ó·½: ¹x¥Û 
®É¶¡: 2001¦~ 6¤ë16¤é ©P¤» 08®É23¤À29¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network


==> ¦b Toidi@cis_nctu (¥Õè¤p«Ä) ªº¤å³¹¤¤´£¨ì:
> ==> ¦b siklo@cis_nctu (¤p¯Í»H) ªº¤å³¹¤¤´£¨ì:
> > VLAN ­n¯à³q¡A¬O Layer 3 ªº Switch, §A¥Îªº­þµP¤l Layer 2 Switch
> > ¤W¤Á VLAN ¬O¥i¥H¤¬³qªº?
>         ¤§©Ò¥H¤Á VLAN ¤£´N¬O­nÅý VLAN ©¼¦¹¤§¶¡¤À¶}...
>         §A¤¬³qªº©w¸q¬O¤°»ò¥i¥H»¡²M·¡¤@ÂI¶Ü?
>         §Ú¤â¤W´N¦³¤@¥x VLAN ¥¿±`¹B§@ªº switch hub
L3 Switch ·|¦³¡Routing Module¡A¤¬³qÀ³¸Ó´N¬O«ü
³z¹L L3 Swtich ¤Wªº Routing Module¡A¦Ó¤£»Ý­n±q
¨C­Ó VLan ¤W§ä¤@­Ó Port uplink ¨ì¤W¼hªº Switch
©Î¬Oª½±µ±µ¨ì Router ¤W¡A¥H¹F¨ì VLan ¤¬³q§a¡I


--------


¨Ó·½: ¹x¥Û 
®É¶¡: 2001¦~ 6¤ë16¤é ©P¤» 18®É24¤À15¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network

==> ¦b siklo@cis_nctu (¤p¯Í»H) ªº¤å³¹¤¤´£¨ì:
> ==> ¦b Toidi@cis_nctu (¥Õè¤p«Ä) ªº¤å³¹¤¤´£¨ì:
> >         ¤£¹L²{¦b¬O Layer 2 ªº Switch
> >         ¤£·|¦³³oºØ Module
> >         ©Ò¥H VLAN ¥»¨Ó´N¤£¯à¤¬³q...
> >         ³o¤]¬O VLAN ³]­pªº¥Øªº°Ú
> ¤p§Ì¤£À´..??  °µ VLAN ¥Î Layer 3 ´N¥i¥H route ¤¬³q
> ¤p§Ì¦b¤@¯ë¥ø·~¤½¥q·í¤¤¡A¨£¨ìªº¤]³£¬O¥Î Layer 3 Switch
> §â¦U VLAN ¨Ï¥Î route ¤è¦¡¤¬³q¡C
    VLAN ¬O¦b L2 Switch ¤W´N¦³¤F¡AL3 ¬O«á¨Ó¦³
¡@¡@»Ý­n¦Ó¥B·í®É Router ¤Ó¶Q¤F¡]·Q·Q¬Ý¨º®É­Ô
¡@¡@Cisco ªÑ»ù¦³¦h°ª¡I¿ú±q¨º¨à¥Í¥X¨Óªº´Nª¾¹D
¡@¡@Åo¡I¡^¦Óµo®i¥X¨Óªº¡A©Ò¥H VLAN ªº¥Øªº´N¬O
¡@¡@§â¬Y¨Ç Ports ¸ò¨ä¥L Ports ¡§¹º²M¬É­­¡¨¡I
¡@¡@¤À¦¨¤£¦Pªº collision domain §r¡I¦ý¬O¤£¦P
¡@¡@ªº VLAN ¤§¶¡¯uªº¥i¥H¡§¦Ñ¦º¤£¬Û©¹¨Ó¡¨¶Ü¡H
¡@¡@©ê°U¡I¦P¤½¥q¡B¾Ç®Õ¡B¹ÎÅé¡K¡K¡K­C¡I©Ò¥H­n
¡@¡@³qªº®É­Ô¡A´N¦b Layer 3 ¤W°µ¡I³Ì¡§¼Ð·Ç¡¨ªº
¡@¡@°µªk·íµM¬O¦b Router ¤W¡§Âà°e¡¨¡A¦ý¬O¦]¬°
¡@¡@$$ ¦P®É§Þ³N¶i¨B¤F¡A©Ò¥H Switch ·U¨Ó·U±j¡A
¡@¡@´N¡§¶¶«K¡¨§â³o­Ó¤u§@¤]°µÅo¡ã¡ã¡ã³o´N¬O
¡@¡@Layer 3 Switch ¤F¡I

> >         ¤£¹LÁÙ¬O¥i¥H§â¨C­Ó VLAN ªº uplink
>                         ^^^^^^^^^^^^^^^^^^^^
> ¤£À´³o¼Ëªº»¡ªk..
¡@¡@­Y§Aªº Switch ¥u¦³ Layer 2 ªº¸Ü¡A¤£ uplink
    §Aªº VLAN ¤§¶¡­n«ç»ò³q¡H

> >         ³]¦b¦P¤@­Ó port ´N¥i¥H¤F..
> ¬Ý°_¨Ó§A»¡ªº«Ü¹³¬O port trunking ªº¤è¦¡
¡@¡@Trunking ¬O Trunking¡A¸ò VLAN ¨SÃö«Y¡I

¥~¦æ¤H¹DÅ¥¶î»¡¡A¦³¿ù½Ð°ª¤â«ü¥¿Åo¡I



--------


¨Ó·½: ¦ÑºÉ¤Ö¦~¤ß 
®É¶¡: 2001¦~ 6¤ë17¤é ©P¤é 02®É05¤À50¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network

==> ¦b hardstone@cis_nctu (¹x¥Û) ªº¤å³¹¤¤´£¨ì:
> ==> ¦b siklo@cis_nctu (¤p¯Í»H) ªº¤å³¹¤¤´£¨ì:
> >                         ^^^^^^^^^^^^^^^^^^^^
> > ¤£À´³o¼Ëªº»¡ªk..
> ¡@¡@­Y§Aªº Switch ¥u¦³ Layer 2 ªº¸Ü¡A¤£ uplink
>     §Aªº VLAN ¤§¶¡­n«ç»ò³q¡H
> > ¬Ý°_¨Ó§A»¡ªº«Ü¹³¬O port trunking ªº¤è¦¡
> ¡@¡@Trunking ¬O Trunking¡A¸ò VLAN ¨SÃö«Y¡I
> ¥~¦æ¤H¹DÅ¥¶î»¡¡A¦³¿ù½Ð°ª¤â«ü¥¿Åo¡I

      ³oÃäsiklo»¡ªº¨S¿ù
      ¦³Ãötrunking³o­Ó¦r²´¡A§A¸Ó¦p¦ó¥h©w¸q¡H
      ¦bCisco³o¤@¬£¸Ì¡ATrunking«üªº´N¬Ovlan port trunking
      ¦P¤@¥xswitch¤º¤Á³Î¤F¼Æ­ÓVLAN¡A¦Ó¥u¦³¤@±ø¹êÅé³sµ²
      ¦Ü¥t¤@¥x¤]¤Á³Î¤F¼Æ­Ó VLANªºswitch¡A³o¨â¥xswitch¤¤¶¡
      ¥u¦³¤@±ø¹êÅé³sµ²¡A§Ú­Ì´N­n¦b³o­Óport¤W³]©wVLAN Trunk
      ¥[¤W802.1q or ISL ªº«Ê¸Ë¡A¤~¯àÅý³o¨â¥xªºvlan information
      ¥i¥H¤¬¬Û·¾³q¡A¤£¦Pswitchªº¦P¤@­ÓVLAN¤~¯à³q
      ¦pVLAN1@SW1 <-> VLAN1@SW2, VLAN2@SW1 <-> VLAN2@SW2
      ¥H¤W¬OCiscoªº"trunking"

      ¦Ó¤@¯ë§Ú­ÌÁ¿trunking¥i¯à¬O«üCiscoªºEtherChannel
      ¤]´N¬O¤¶©ó¨âswitch¶¡¼Æ±ø¹êÅé¹q¸ô¦X¨ÖÀW¼e¤Î°µredudantªº§Þ³N
      ¸ò¤W­±©Ò­z¬O§¹¥þ¤£¤@¼ËªºªF¦è¡A»¡©ú²M·¡¥i¯à·|¤ñ¸û¦n


----------


¨Ó·½: ¦º¦Ñ¦Ê©m 
®É¶¡: 2001¦~ 6¤ë17¤é ©P¤é 15®É20¤À22¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network


¡° ¤Þ­z¡mhardstone.bbs@bbs.cis.nctu.edu.tw (¹x¥Û)¡n¤§»Ê¨¥¡G
: ¶â¡ã¡ã¡ã¨ü±Ð¤F¡I
: ¨S¿ù¡I§Ú©Ò¡§»{¬°¡¨ªº trunking ¬O»¡¦X¨ÖÀW¼eªº¨º¤@ºØ¡I
: Cisco ªº VLAN Trunking ·íªì¤]¦³Å¥¹L¡A¤£¹L¨S¬Ý¹L¦³¤H
: ¦b¥Î¡A©Ò¥H¡K¡K¡K
port trunk(EtherChannel) ©M VLAN trunk ¬O¨â½X¤l¨Æ

VLAN trunk ¦b MAN ¤W­±¥Îªº«Ü¦h, ¦³¿³½ìªº¥i¥H¥h¬d¬d¨ä¥¦¼t°Ó(eg. Extreme)
ªº solution, Cisco ¦b switch ¤è­±¨Ã¤£¬O¯S§O±j.

: ı±o¤W¨º­Ó§â¦h¥x Switch¡µ¹¥¦¡§¦ê°_¨Ó¡¨¡AµS¦p¤@¥xµê
: ÀÀªº Switch ¬O¶Ü¡H
°ò¥»¤W­nÅý VLAN ©µ®i¨ì¤@¥x¥H¤Wªº³]³Æ, ´N»Ý­n VLAN trunk

ÁÙ¦³¤@ºØ¥i¯à©Ê´N¬O­nÅý¦h­Ó VLAN ³z¹L router ¤¬³q, ¤]¥i¥H¥Î VLAN trunk

: §Ú·Q­n³o»ò°µªº­ì¦]¡AÀ³¸Ó¬O¦³¤@¥x L3 Switch °µ¬°¬O
: backbone Switch¡A¨ä¤U¦A±µ¼Æ¥x L2 ªº Switch¡A³o¼Ë¤l
: ¤ñ¸û¦³·N¸q§a¡Iright?
²{¦bªºÁͶլO§â L2/L3 ¾ã¦X¦b¤@¥x¤W­±, ³o¼Ë°µªº¸Ü VLAN ¤§¶¡ªº¤¬³q¤£·|
¦³²~ÀV, ¦Ó¥BÃø«×¤£°ª.



---------


¨Ó·½: ¦Ï¤j«K»P¥©§J¤O 
®É¶¡: 2001¦~ 6¤ë18¤é ©P¤@ 00®É28¤À32¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network


==> wchuang.bbs@bbs.cis.nctu.edu.tw (¦ÑºÉ¤Ö¦~¤ß) ´£¨ì:
> ==> ¦b hardstone@cis_nctu (¹x¥Û) ªº¤å³¹¤¤´£¨ì:
> > ¡@¡@­Y§Aªº Switch ¥u¦³ Layer 2 ªº¸Ü¡A¤£ uplink
> >     §Aªº VLAN ¤§¶¡­n«ç»ò³q¡H
> > ¡@¡@Trunking ¬O Trunking¡A¸ò VLAN ¨SÃö«Y¡I

Trunking©MVLAN¦³«Ü¤jªºÃö«Y³á....
¤£¦Pªººô¸ô³]³Æ¼t°Ó¹ï©ótrunk¦³¤£¦Pªº¸àÄÀ

Intelªºtrunk¬°±N¼Æ­Óport»E¶°¦¨¤@­Ógroup¡A¦pªG¬O4­Óport°µtrunk¡A
¨º»ò¨â¥xswitch¤§¶¡ªºÀW¼e¬°400MB full-duplex¡A¦P¼Ëªº§Þ³NExtreme
ºÙ¤§¬°link aggregation¡ACiscoºÙ¤§¬°Fast EtherChannel¡C

Ciscoªºtrunk¬O¤@±ølink¤W¥i¥HÄâ±a¼Æ­ÓVLANªºtraffic¡A°²³]switch1¦³
¤T­ÓVLAN¡Aswitch2¤]¦³¤T­ÓVLAN¡Avlan1@switch1·Q©Mvlan1@switch2·¾³q®É¡A
³Ì²³æªº¤èªk¡A´N¬O¤T±ø³s½u¤À§O³s±µ¨â¥xswitch¬Û¹ïÀ³ªº¤T­Óvlan¡A¦ý³oºØ¤è
ªk
¤Ó®ö¶Oport¡A¸Ñ¨M¤èªk´N¬O¨â¥xswitch¦U¿ï¤@­Óport³]©w¬°trunk port¡AµM«á³s
°_¨Ó
¡A³o¤@±øtrunk link´N¥i¥HÄâ±a¤T­Óvlanªºtraffic(set trunk 1 on 1-3)¡A°¨
¤W´N
¬Ù¤U¨â­Óport¡C¦ý³o¶È¤î©ó¬Û¦Pvlan¤§¶¡ªº·¾³q¡C¦pªGvlan1·Q©Mvlan2·¾³qªº¸Ü
¡A
´N¥²¶·­n¾arouter©ÎªÌ¬Omultilayer switch¨Ó¶i¦æroutingªº¥\¯à¡C
¦pªG¬OExtreme switchªº¸Ü¡A¤@¦æ«ü¥Oip forwarding´N·d©w¡A¦pªG¬Ocisco switch
ªº¸Ü¡A´N¥²¶·¥[¶Rroute switching module¡C

ÁöµMciscoªºswitch¤£¬O³»¦n¡A¦ý¬O¦pªG¦V¥«³õ¥D¬y¬Ý»ôªº¸Ü¡A¨º»òtrunk©Mvlan
¤§¶¡
±K¤£¥i¤ÀªºÃö«Y´N¤£¥i¤£ª¾¡C
by the way¡ACCNP¤¤ªºBCMSN¤@¬ì´N¦Ò¤F¬Û·í¦hªºtrunk and vlanªºÆ[©À¡C



--------


¨Ó·½: ©]¯Z¤õ¨® 
®É¶¡: 2001¦~ 6¤ë18¤é ©P¤@ 16®É19¤À18¬í CST
¼ÐÃD: Re: ½Ö¯à³Â·Ð¤@¤U¡A¸ÑÄÀswitch hub©Mhubªº®t§O...@@"
½×¾Â: tw.bbs.comp.network


¡m ¦b shinlong. ªº¤j§@¤¤´£¨ì: ¡n
: ÁÂÁ§AÂP~@@"...
: §Ú¬d¹L¤W½g³£¨S¦³»¡...>"<

§Ö³tªº»¡ªk¬O, Switch Hub ¤ñ ¤@¯ë Hub ÁÙ­n¦³®Ä²v, §ó¥[ªº°ª¯Å´N¬O¤F!
«Ü¦h¤H¥Î²³æªº°£ªk»¡¤°»ò 5 ports/10Mbps ªº ¤@¯ëHub,
¨C¤@­Ó¹q¸£¥u¯à¤À¨ì 10/5=2Mbpe, ¨º¬O¿ù»~ªº!
»¡¤°»ò Switch Hub ¥i¥H¨Ï¨C¥x¹q¸£³£±µ¦¬/¶Ç°e 10MbpsªºÀW¼e, ¤]¿ù»~!
¥¿½Tªº»¡, ¬O Switch Hub ¦pªG¬O 5 Ports, °²³]¬O a b c d e ¦n¤F,
¨º¨ä¤¤­n¬O a ­è¦n¥u¸ò b°Q¸ê®Æ, c ­è¦n¥u¸ò d °Q¸ê®Æ, e ¹q¸£¨S¤H¥Î,
¨º»òÀW¼eªº¤À°t¬O a=10Mbps b=10Mbps c=10Mbps d=10Mbps
¨º¦pªG b, c, d, e ³£¦P®É¦V a °Q¸ê®Æ, ¨º»òÀW¼e´NÅܦ¨10Mbps/4=2.5Mbps
Mbps=Million bit per second (¦Ê¸U bit ¨C¬í)
©Ò¥HÅܤƤ]º¡¦hªº, °²³] a, b ¦P®É¸ò c °Q¸ê®Æ, c ¤S¸ò d °Q¸ê®Æ, e¤S¸ò a
°Q¸ê®Æ.
¨º´N·|Åܦ¨ :
a--->e
d--->c
c--->a
c--->b

¥Ñ¦¹¬Ý¨Ó, ¨ä¤¤ c ³Ì¨üÅwªï, c ªº¸ê®Æ´N¦³¤G­Ó¤H­n.
b©M e ³Ì¥i¼¦, µwºÐ¸Ì¥i¯à¤°»ò³£¨S¦³, ©Ò¥H¨S¤H­n¥Lªº¸ê®Æ.
d ³Ì¿W¥ß, ¨S¦³¦V¨ä¥L 4 ¥x¹q¸£¯Á¨ú¸ê®Æ, ÁÙ´£¨Ñ¸ê®Æµ¹ c¹q¸£, ©Ò¥Hd¥i¯à¬O Server.
¨º»òÀW¼e´NÅܦ¨,
a=10/4=2.5Mbps
b=10/4=2.5Mbps
c=10/4=2.5Mbps
d=10/4=2.5Mpbs
e=10/4=2.5Mpbs

©Ò¥H´Nºâ¬O Switch Hub, ¹J¨ì²o§è¤@°ïªº®É­Ô, ¤]¬O¸ò´¶³q Hub¤@¼Ë.
¨C­Ó³£¤@¼Ë¤F, §Y¨Ï d¬Ý°_¨Ó¸ò§O¤H²o§èªº³Ì¤Ö, ¦ý´N¬O¦]¬° dµ¹c¸ê®Æ.
°ÝÃD´N¥X¦b c, c ²o§è³Ì¦h, ¾É­P 5 ¥x¹q¸£ªº¤À¨ÉÀW¼e³£¤@¼Ë¤F, ³£­n¤À±¼.

¦pªG¤µ¤Ñ¨ä¤¤¤G­Ó³£¥u¸ò¹ï¤è¬Û¤¬¨ú¸ê®Æ, ¨º»ò´N¥i¥H¨É¦³ 10Mbpsªº¥þ³t.
¤]´N¬O¤¬¬Û²`·R¹ï¤è, ¦U¦Û³£¨S¦³¦b¸ò§O¤H²o§è, ³o¼Ë´N¥i¹F¨ì Switch ªº¥\¯à.
³o¼Ë³Ì¦nªº±¡ªp´N¬O ¦³ 4 ports ¥i¥H¨É¨ü ¦U¦Û¿W¥ßªº 10Mbps, ¨ä¤¤¤@ port
¥²¶·
¤£°Ê§@.
À³¸Ó¬O¦p¦¹, Á¿¿ùªº¸Ü½Ð«ü±Ð.
©Ò¥H¶R Switch Hub À³¸Ó¶R°¸¼Æªº ports ¼Æ¥Ø, 5, 7, 9 ³o¨Ç³£¤£­n¶R.
¶R4, 6, 8, 16, °¸¼Æªº Switch Hub.
±ÀÂË 3Com ©M SMCªº Hub.



-------



¦Ï¤j«K»P¥©§J¤O  wrote in message news:3h2HkR$K5l@bbs.ntu.edu.tw...
> ´£¥X¤@­Ó«Øij¡Aºô¸ôªº¥@¬É¦ó¨ä¤§¤j¡A¦³¾Ç¤£§¹ªº¨ó©w¡A¤é·s¤ë²§ªºµwÅé§Þ³N¡A
> µL©_¤£¦³ªººô¸ô¬[ºc¡A¤j®a¦b³o­Ó°Q½×°Ï©¼¦¹µê¤ßªº¥æ¬y¡A¤£­n¥HÃտؼJ§Ëªº»y®ð
> ¨Ó¦^À³¡C
> ==> siklo.bbs@bbs.cis.nctu.edu.tw (¤p¯Í»H) ´£¨ì:
> > ==> ¦b airborne.bbs@bbs.ntu.edu.tw (¦Ï¤j«K»P¥©§J¤O) ªº¤å³¹¤¤´£¨ì:
> > > °ò¥»¤W¨Ó»¡¡Ameeds¥Sªº¸ÑÄÀ¨Ã¨S¦³¿ù¡C
> > > ¦b°Q½×³o­Ó°ÝÃD®É¡A°£¤FEthernetªº¦s¨ú¤è¦¡¥~¡AÁٻݪ`·NswitchµwÅ骺function¡A
> > > switch¦A³B²ztraffic®É°ò¥»¤W¦³¨âºØ¼Ò¦¡¡Astore-and-forward©Mcut-through¡A
> > ¨S¦³¿ù¶Ü?  §Aªº¤A¤Óºô¸ô³]³Æ Switch ­þ¤@´Ú¦¡¯à°÷Åý b,c,d,e ¦P®É¥h¦s¨ú a °Ú?
> > > ¤£½×¦óºØ¼Ò¦¡¡A·íb,c,d,e¦P®É¦s¨úa®É¡A¤@¶}©lb,c,d,e³£¥i¥H¥R¤À§Q¥Î10mbpsªºÀW¼e¡A
> > ³o´N¬O¯º¸Ü¤F, ½Ö³£ª¾¹D¦b¤A¤Óºô¸ô¸Ì­± b,c,d,e ¬O¤£¥i¯à¦P®É¦s¨ú a ªº
> > §A©~µMÁÙ¯à¥R¤À§Q¥Î 10Mbps ªºÀW¼e   §Aªº Switch ¶W²rªº  @_@
> ¥i¯à¬O§Úªí¹Fªº¤£°÷²M·¡¡A©Ò¿×bcde¦P®É¦s¨úa¡A«üªº¬O¦binitializingªº®É­Ô¡A
> bcde¦P®É¥átrafficµ¹a¡Atraffic·íµM¬O¥ý¨ìswitch¡A¦A¥Ñswitch forwardµ¹a¡A
> ·íµMswitch¤£¥i¯à§âbcdeªºpacket¦P®É¥áµ¹a¡A¤@©w¬Opacket-by-packet
> (¥Hprocess-switching¬°·Ç¡A¥ý¤£¤©¦Ò¼{fast-switchingªº±¡ªp)¡C
> > ³s±µ¨ì¤U­±³o¬q, ©~µMÙT¥X b,c,d,e ¤@¦@Äé¤F 40Mbps µ¹ a ªº¯º¸Ü~~
> ½Ð®e³\§Ú»¡©ú¥Õ¤@ÂI¡A©Ò¿×bcdeÄé¤F40mbpsµ¹aªº·N«ä¬O¡AbcdeÁ`¦@¦³40mbpsªº
> traffic¶i¨ìswitch backplane fabric¡AµM¦Óport Aªºbandwidth¥u¦³10mbps¡A
> ·íµMµLªk®ø¤Æswitch backplane¤ºªº40mbps traffic¡A©Ò¥H³Ñ¤Uªºtraffic´N
> ¦s¦bport Aªºoutput queue¸Ì­±¡A·íoutput queueªºbufferº¡¤F(oversubscription)¡A
> packet¶}©l³Qdrop¡C
> > > b,c,d,e¤@¦@40mbpsªºtraffic¬y¨ìa portªºbuffer³B²z¡A¦ý¹ê»Ú¤Wa portªºÀW¼e
> > > ¤]¥u¦³10mbps¡A©Ò¥Ha portªºbufferº¡¤F¡Adata¶}©l³Qdrop¡A¦P®É¦]¬°a portªºloading
> > > ¶W¥X­t²ü¡Aswitch¤]·|¦bb,c,d,e portµo¥Xnotification¡A¨Ï±ob,c,d,e¥|¥x¾÷¾¹
> > > ´î½w¸ê®Æ°e¥Xªº³t«×¡A¦]¦¹·íb,c,d,e¦P®É¦s¨úa®É¡A·N¨ýµÛb,c,d,e¦@¦Pshare aªº10mbps
> > > ¥Hªø´Á¬Ý¨Ó¡Ab,c,d,e½T¹ê¥u¯à¨Ï¥Î2.5mbps¡C
> > ¤W­±³o¤@¬q¬O§AÙTªº§a~~  ¯ºµh§Ú¤F..
> ³o¤@¬q¥»¤Hªº¸àÄÀ¨Ã¤£ÄYÂÔ¡A¦b¦¹»¡Án©êºp¡C¦ý§Ú¥i¨S¶ÃÙT¡I¡I¡I
> ©Ò¿×ªºport B,C,D,E·|µo¥Xnotification¡A«üªº¬OIEEE 802.3Z flow control on
> gigabit ethernet port¡Acisco catalyst 6000 switch¤ä´©¡A
> ½Ð°Ñ¦Ò¡G
> http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000
> /sw5_1/cnfigide/ether.htm#xtocid1934811
> ´Nºâ¤µ¤Ñ§Ú­Ìªºswitch¨S¦³flow control¦n¤F¡A¨SÃö«Y¡A§Ú­ÌÁÙ¦³TCP¡A
> TCPÁ`ºâ¦³error control©Mflow control¤F§a¡Aa¥²¶·±Nbªºpacket³B²z§¹«á¡A
> ¦^À³µ¹b¤@­Óack¡Ab¤~·|Ä~Äò¶Ç¸ê®Æµ¹a¡A±q¤@­Ó·LÆ[ªº¨¤«×¨Ó¬Ý¡A²Ä¤@¬í³B²zb,
> ²Ä¤G¬í³B²zc¡A²Ä¤T¬í³B²zd¡A²Ä¥|¬í³B²ze¡A²Ä¤­¬í¤~¯à¦A³B²zb¡A±qbªº¨¤«×¨Ó¬Ý¡A
> ¥|¬í¤º¥u¦³¤@¬í¯à¶Ç¸ê®Æ(aµ¹b¤@­Óack¡Ab¤~·|Ä~Äò¶Ç)¡A¬Û¹ï¨Ó»¡¡AÀW¼e¥u¥Î¤F1/4¡C
> TCP/IPªº¹B§@ÅÞ¿è½Ð°Ñ¦Ò¡G
> http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ip.htm#xtocid2236316
> 
> > > ¦ý³o¨Ã¤£¥Nªí³Ñ¤Uªº7.5mbps¥­¥ÕµL¬G®ø¥¢¡A7.5mbpsÁÙ¬O¥i¥H¹B¥Î¦b
> > > ¨ä¥Lªºtraffic pattern¡AÄ´¦p¤Winternet©Î¬O¦s¨ú¥t¥~¤@­Óf¡C
> > «z @_@  §ó²r!  ¥H¤Wªº¯º¸Ü¤w¸g°÷Ãz¯º¤F, ©~µMÁÙ¥i¥HÙT¥X³Q drop ªº¸ê®ÆÁÙ¦³¨ä¥L
> > ¹B¥Î«¨~~
> > ­þ¨Ó¥b¸ô¶]¨Ó³o¶ÃÙTÁ¿¯º¸Üªº?  ¤j®a¬Ý¬Ý¯º¯º´N¦n  «¢  §Ú¯ºµh¤F..
> ½Ð®e³\§Ú»¡ªº§ó©ú¥Õ¤@ÂI¡A
> ³o¸Ì©Ò»¡ªº³Qdropªº¸ê®Æ«üªº¬Ob¶Çµ¹aªº¸ê®Æ¡A
> ·íport A ªºoutput queue overflow¤§«á³Qdropªº¡A¦ÓB->Aªºtraffic flow
> ¥u¥Î¨ì2.5mbpsªºutilization¡Aport Bªºbandwidth¦³10mbps¡A¦ý¥Ñ©óport A
> ªºº¡¸ü¡A¨Ï±oB->A¥u¯à¥Î2.5mbps¡A¨º³Ñ¤Uªº7.5mbps·íµM¥i¥H¥Î©ó¨ä¥Lªº
> traffic pattern¡A»¡ªº¦A¸Ô²Ó¤@ÂI¡A´N¬O¤@¬í¶Ç¸ê®Æµ¹a¡A¤T¬í¶Ç¸ê®Æ¨ìinternet
> (°²³]¨S¤H¸ò¥L·minternet)¡A¦p¦¹«K¥i±Nport Bªºutilization¹F¨ì100%¡C
> ¦]¦¹¡A¦bDesign Network®É¡A³q±`·|±Ä¨úhierarchical design¡Aaccess layer
> ±Ä¥Î10©Î100¡Adistribution lay±Ä¥Î100©Î1000¡A¦p¦¹§@¬°access layer¬y¶q
> »E¶°ÂIªºdistribution layer¤è¯à¦³®Ä²vªº³B²z¥|­±¤K¤è¶×»E¨Óªºtraffic¡C
> 
> ¦pªG§AÁÙ¬O¤£¯à»{¦P§Úªº»¡ªk¡A©Î³\§A¥i¥H°Ñ¦Ò°Ñ¦ÒCisco¥Xª©ªº
> CCNP/CCDP--Building Cisco Multilayer Switched Networks(P.56-59)
> ¤ÑÄn®Ñ§½¦³¡C

----------



 wrote in message news:3h2I7G$W1g@bbs.cis.nctu.edu.tw...
> ==> ¦b siklo@cis_nctu (¤p¯Í»H) ªº¤å³¹¤¤´£¨ì:
> > ==> ¦b airborne.bbs@bbs.ntu.edu.tw (¦Ï¤j«K»P¥©§J¤O) ªº¤å³¹¤¤´£¨ì:
> > > °ò¥»¤W¨Ó»¡¡Ameeds¥Sªº¸ÑÄÀ¨Ã¨S¦³¿ù¡C
> > > ¦b°Q½×³o­Ó°ÝÃD®É¡A°£¤FEthernetªº¦s¨ú¤è¦¡¥~¡AÁٻݪ`·NswitchµwÅ骺function¡A
> > > switch¦A³B²ztraffic®É°ò¥»¤W¦³¨âºØ¼Ò¦¡¡Astore-and-forward©Mcut-through¡A
> > ¨S¦³¿ù¶Ü?  §Aªº¤A¤Óºô¸ô³]³Æ Switch ­þ¤@´Ú¦¡¯à°÷Åý b,c,d,e ¦P®É¥h¦s¨ú a °Ú?
> > > ¤£½×¦óºØ¼Ò¦¡¡A·íb,c,d,e¦P®É¦s¨úa®É¡A¤@¶}©lb,c,d,e³£¥i¥H¥R¤À§Q¥Î10mbpsªºÀW¼e¡A
> >                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > ³o´N¬O¯º¸Ü¤F, ½Ö³£ª¾¹D¦b¤A¤Óºô¸ô¸Ì­± b,c,d,e ¬O¤£¥i¯à¦P®É¦s¨ú a ªº
> > §A©~µMÁÙ¯à¥R¤À§Q¥Î 10Mbps ªºÀW¼e   §Aªº Switch ¶W²rªº  @_@
> > ³s±µ¨ì¤U­±³o¬q, ©~µMÙT¥X b,c,d,e ¤@¦@Äé¤F 40Mbps µ¹ a ªº¯º¸Ü~~
> 
> airbone¥SÁ¿ªº¨S¿ù
> §A©Ò»¡ªº¤A¤Óºô¸ô¬O«ü¤§«eªº coaxial cable (10base2,10base5)
> ¨ºÃþªºshared LAN, ©Ò¥H¥D¾÷¨Ï¥Î³æ¤@channel¥h¶i¦æcommunication.
> ©Ò¥H¦bMAC¼h¬O±Ä¨úCSMA/CDªº¤è¦¡.´«¥y¸Ü»¡,¦P®É¶¡¥u¦³
> ³æ¤@¥D¾÷¯à¨Ï¥Îºô¸ô.§_«h·|¦³collision. ¥i¬O ¦Û±q¦³¤Fswitch ¤Î UTP «á,³æ¤@
> shared mediumªº­­¨î¤]³Q²¾°£,(¨Ï¥ÎUTP¦³¥|¹ï½u,10baseT©M100baseTX¬O¨Ï¥Î¨ä¤¤¨â±ø
> TX/RX)¤]¶}©l¦³¤F¥þÂù¤uªº¦Wµü
> full-duplex ¬O²¾°£¤T¶µ¦­´Áethernetªº¯S©Ê
> 1.carrier sense: full-duplex ¤U,¥D¾÷¤£»Ý­n°»´úcarrier °T¸¹
> 2.multiple access: ¦]¬°Host¸òswitch¤§¶¡¥i¥H¤À§O¥ÎTX/RX¤¬¬Û¶Ç¸ê®Æ
> 3.collision detection: ¦P¤W,¦]¬°¤À§O¥ÎTX/RX¶Ç¸ê®Æ¤]´N¨S¦³collisionªº±¡ªpµo¥Í
> 
> ´«¥y¸ÜÁ¿,¦bful-duplex¤§¤U,¤w¸g¨S¦³CSMA/CD
> ©Ò¥Hb,c,d,e¦pªG­n¶Ç¸ê®Æµ¹a ®É,²z½×¤W¥i¥H¨ì¹F·¥³t(¥u¦³¦b­è¶}©l¨º·L¤pªº®É¶¡ÂI¤º)
> ©Ò¥Hdata ³£¦b©ñ¦boutput queue¸Ì(°²³]¬O¨Ï¥Îstore-and-forward¤è¦¡),switch¬°¤F¨¾¤î
> buffer overflow,¥¦¥i¥H¶}©ldrop packets,¦pªGb,c,d,e¤W¼h¬O¨Ï¥ÎTCPµ¥¦³flow control
> ªºprotocol, ¤W¼hªºprotocol·|¦]¬°packet loss¦Ó½Õ¾ãpacket°e¨ìdata linkªº³t«×.
> ©ÎªÌswitch¤]¥i¥H°e¥X PAUSE Frame(full-duplex¸Ì,ÄÝ©óMAC¼h),½Ðsending host­°§C¶Ç°e
> ³t«×.
> 
> > > b,c,d,e¤@¦@40mbpsªºtraffic¬y¨ìa portªºbuffer³B²z¡A¦ý¹ê»Ú¤Wa portªºÀW¼e
> > > ¤]¥u¦³10mbps¡A©Ò¥Ha portªºbufferº¡¤F¡Adata¶}©l³Qdrop¡A¦P®É¦]¬°a portªºloading
> > > ¶W¥X­t²ü¡Aswitch¤]·|¦bb,c,d,e portµo¥Xnotification¡A¨Ï±ob,c,d,e¥|¥x¾÷¾¹
> > > ´î½w¸ê®Æ°e¥Xªº³t«×¡A¦]¦¹·íb,c,d,e¦P®É¦s¨úa®É¡A·N¨ýµÛb,c,d,e¦@¦Pshare aªº10mbps
> > > ¥Hªø´Á¬Ý¨Ó¡Ab,c,d,e½T¹ê¥u¯à¨Ï¥Î2.5mbps¡C
> > ¤W­±³o¤@¬q¬O§AÙTªº§a~~  ¯ºµh§Ú¤F..
> > > ¦ý³o¨Ã¤£¥Nªí³Ñ¤Uªº7.5mbps¥­¥ÕµL¬G®ø¥¢¡A7.5mbpsÁÙ¬O¥i¥H¹B¥Î¦b
> > > ¨ä¥Lªºtraffic pattern¡AÄ´¦p¤Winternet©Î¬O¦s¨ú¥t¥~¤@­Óf¡C
> > «z @_@  §ó²r!  ¥H¤Wªº¯º¸Ü¤w¸g°÷Ãz¯º¤F, ©~µMÁÙ¥i¥HÙT¥X³Q drop ªº¸ê®ÆÁÙ¦³¨ä¥L
> > ¹B¥Î«¨~~
> > -----------
> > ­þ¨Ó¥b¸ô¶]¨Ó³o¶ÃÙTÁ¿¯º¸Üªº?  ¤j®a¬Ý¬Ý¯º¯º´N¦n  «¢  §Ú¯ºµh¤F..
> airbone  ¥S»¡ªº¨S¿ù
> ¦pªG a ¸ò b¤¬¶Ç,¦b100base-TX, full-duplex¤UÁ`ÀW¼e¥i¥H¹F¨ì200Mbps.¥i¬O¨Ã¤£¬O»¡
> a --> b = 200Mbps ©Î b --> a = 200Mbps ©Î a -> b + b -> a = 200Mbps
> ¦Ó¬O«ü a->b ³Ì¦h 100Mbps, b->a ³Ì¦h 100Mbps, ¦P®É¶¡Á`©M 200Mbps
> 
> Á`¦Ó¨¥¤§, ¦bfull-duplex¤U,Any host ªº outgoing ©Î incoming data ¬O¤£¨ü©¼¦¹¤zÂZ
> ³Ì¥D­nªº­ì¦]¬O¤£±Ä¥ÎCSMA/CDªº¦s¨ú¤è¦¡. ¥uswitch°÷powerful, incoming/outgoing³£
> ¥i¥H¦b¦P¤@®É¶¡¹F¨ì·¥³t,¦Ó¤£¨ü¨ì¸ò´X¥x¥D¾÷¦P®É³s½uªº­­¨î
> 
> For more information, the following book is a great reference.
> The Switch Book: The Complete Guide to LAN Switching Technology
> by Rich Seifert
> John Wiley & Sons
> ISBN: 0471345865


----------



¦Ï¤j«K»P¥©§J¤O  wrote in message news:3h2k3F$NC1@bbs.ntu.edu.tw...
> ==> angus.bbs@bbs.svdcc.fju.edu.tw (ÁôÂ꺴¼¼z) ´£¨ì:
> > ¡i ¦b spen. ªº¤j§@¤¤´£¨ì: ¡j
> > : ¹ï¤£°_ ´¡­Óªá ½Ð±Ð¤@¤U..
> > : ¥þÂù¤u ¬O¤£¬O«ü "¦P®É¶¡¥i¥H¤W¤U¶Ç¤@°_°Ê§@" ?
> > : A port ÁÙ¬O¦³¥i¯à " ¦P®É±µ¦¬ " ¨ì B.C port °eµ¹ A port ªº¸ê®Æ.
> > : (¦pªG¤£¨ü CSMA/CD ­­¨î)
> > : ¥i¥H¦A»¡©ú¤@¤U ¬°¦ó ¨Ï¥Î ful-duplex¤§¤U,¤w¸g¨S¦³CSMA/CD ?
> >  ÁÙ¬O¦³collision °Õ¡A¤£«H¥Î Sniffer ¦Û¤w¬Ý¬Ý
> >  ¹ï¬Û¦P¹q¸£§@¦s¨ú
> >  ³o¼Ë¤£´Nª¾¤F¶Ü¡H
> 
> full-duplex¬O¥Î©óend-to-end¡A§Yswitch-to-switch or switch-to-pc¡A
> ¤¤¶¡¨S¦³hub¡A¤W¶Ç©M¤U¶Ç¨«¤£¦P¹ïªº½u¡A¥i¥H¦P®É¶i¦æ¡A
> ¥Ñ©ó¬Oend-to-end¡Aswitchªºport¬Odedicateµ¹client¡A©Ò¥H¸Óclient¦b¤W¤U¶Ç®É
> ®Ú¥»¨S¤H¸ò¥L·m¡C­Y¬O¦h¤H¦s¨ú¦P¤@¥xserver¡A¥u­nserver©Mswitch¤§¶¡¬Ofull-deplex
> ´N¹³¬O¤@±øÂù½u¹D¡A¤W¶Ç¦³¤W¶Çªº¸ô¡A¤U¶Ç¦³¤U¶Çªº¸ô¡C
> °ò©ófull-duplex¤W¤U¶Ç¥i¦P®É¶i¦æ¤Îend-to-end(¨S¦³¨ä¥L¤H¦bÄvª§media access)
> ªº¯S©Ê¡Afull-duplex¤£·|¦³collision¤]¤£»Ý­nCSMA/CD¡C
> --


---------



¦Ë­·«l°_  wrote in message news:3h33HN$TX6@BirdNest.infoX.Net...
> ¡° ¤Þ­z¡mairborne.bbs@bbs.ntu.edu.tw (¦Ï¤j«K»P¥©§J¤O)¡n¤§»Ê¨¥¡G
> : full-duplex¬O¥Î©óend-to-end¡A§Yswitch-to-switch or switch-to-pc¡A
> : ¤¤¶¡¨S¦³hub¡A¤W¶Ç©M¤U¶Ç¨«¤£¦P¹ïªº½u¡A¥i¥H¦P®É¶i¦æ¡A
> 
> ¤W¶Ç©M¤U¶Ç¨«¤£¦P¹ïªº½u¨Ã«Dfull duplexªº¥²­n±ø¥ó¡C
> 1000BASE-Tªº¤W¶Ç©M¤U¶Ç¦bfull duplex¤UÁÙ¬O¨«¦P¤@¹ï½u(¥¦¥|¹ï½u¥þ¥Î¨ì)¡A
> ·íµM¥N»ù´N¬O½ÆÂøªº«H¸¹³B²z¹q¸ô¨Ó§â³o¨âºØ«H¸¹¤À¥X¨Ó¡C
> 
> : ¥Ñ©ó¬Oend-to-end¡Aswitchªºport¬Odedicateµ¹client¡A©Ò¥H¸Óclient¦b¤W¤U¶Ç®É
> : ®Ú¥»¨S¤H¸ò¥L·m¡C­Y¬O¦h¤H¦s¨ú¦P¤@¥xserver¡A¥u­nserver©Mswitch¤§¶¡¬Ofull-deplex
> : ´N¹³¬O¤@±øÂù½u¹D¡A¤W¶Ç¦³¤W¶Çªº¸ô¡A¤U¶Ç¦³¤U¶Çªº¸ô¡C
> : °ò©ófull-duplex¤W¤U¶Ç¥i¦P®É¶i¦æ¤Îend-to-end(¨S¦³¨ä¥L¤H¦bÄvª§media access)
> : ªº¯S©Ê¡Afull-duplex¤£·|¦³collision¤]¤£»Ý­nCSMA/CD¡C
> 
> ¦b¨Ï¥ÎUTPªº±¡§Î¤U¡A¹ïtransmitter¦Ó¨¥¡Acollision´N¬O¦b¥¦¶Ç°e«Ê¥]®É¡A
> µo²{¦P®É¦³§Oªº«Ê¥]ªº«H¸¹¶i¨Ó¡C³o®É­Ô¥¦·|°e¥Xjam¨Ã­«·s¦w±Æ¤U¤@¦¸ªº¶Ç°e¡C
> ¦bfull duplex¤U¡AMAC¤£·|²z·|physical layer¹q¸ô©Ò²£¥Íªºcollision detect¡A
> ¦]¦¹´N¤£·|¦³jam¤Î­«·s¶Ç°e¡C©Ò¥HÄY®æ¨Ó»¡¡AÀ³¸Ó»¡MAC·|©¿²¤collision¡C
> 



-------




§O»¡¸Üªº¦n ..  wrote in message news:3h3MQV$Kbx@bbs.yzu.edu.tw...
> ¡° ¤Þ­z¡msiklo.bbs@bbs.cis.nctu.edu.tw (¤p¯Í»H)¡n¤§»Ê¨¥¡G
> > §Ú¤¬³qªº·N«ä¬O«ü¥i¥H route ªº¤¬³q¡A©Ò¥H¤p§Ì»{¬° VLAN ­n¤¬³q»Ý­n
> > Layer 3 Switch.¡@¦U­Ó Virtual LAN ¥i¥H¥Ñ Layer 3 Switch ¦Ó¹F¨ì
> > ¤¬³q.
> > ±z¥Îªº Layer 2 À³¸Ó¬Oª½±µ°µ port trunking (¨Ò¦p CISCO ªº InterLink)
> > ³o¼Ë§a?
> 
>   ¹ï¤F...§n¤F¥b¤Ñ¡A¨S¦³¤Hª¾¹D³o¤~¬O¥¿½Tµª®×¶Ü¡H¡H
>   L2 Switch ¯à¤Á VLAN ¬O°ò¥»ªº³nÅé¥\¯à¡ã¡ã
>   ¨C­Ó VLAN ¤§¶¡¨S¦³³z¹L Routing Module ªº Work ·|³q¤~©Ç ..
>   ©Ò¥H¡A³o¦ì Siklo ¥S»¡ªº¬O¹ïªº ..
>   ¨Æ¹ê¤W¡A¥H Cisco implementation ¦Ó¨¥¡A1Áû 26XXªº¤p Router
>   ¥[¤WÀH«K¤@´Ú¤p Switch ´N¥i¥H°µ InterVLAN Routing ¤F ..
>   Á`¤§¡AVLAN ­n¤¬³q¥»¨Ó´N­n³z¹L Layer 3 Function¡C
> 
>   ¦Ü©ó¤°»ò¬O L3 Switch ¡A§A­Ì¯uªº¦³¥Î¹L¶Ü¡H¨S¥Î¹L´N¤£¥Î§n¤F ...
>   ¦]¬°¥úŪ®Ñ¤WªºªFªF¬O¨S¦³¥Îªº ...
>   ¤£­n¸ò§Ú»¡ L3 Switch ¥i¥H¶] L2 Switching + L3 Routing ...
>   ³o¬O¤j¿ù¯S¿ù ......
>   ¦³¤HÅ¥¹L L3 Switching ³oªF¦è¶Ü¡H L3 Switch ´N¬O¥Î¨Ó°µ³o­Ó Function ªº ..
>   ¤°»ò¬O L3 Switching ©O¡H¡uHardware-Base Routing¡v¬O¤]¡ã¡ã
>   ­°¤lÀ´¤F§a¡I¡H®³ Cisco¨Ó»¡¡]¦]¬°§Ú¥u¼ô Cisco :p¡^¡A¥u­n¯à¤ä´© MLSP ªº
>   Switch¡A³£¥s L3 Switch¡A§Y¨Ï¨S¦³¤º«Ø RSM©ÎRSFC¡A³£ÁÙ¬O....
>   ½Ð¤j®a¥ý¥J²Ó·Q¦n¡A¡uHardware-Base Routing¡vªº©w¸q¦n¶Ü¡H¡H
>   ¦A¨Ó°Q½×¤°»ò¬O L3 Switch¡H
> 
>   ÁÙ¦³¡A³z¹L ISL °µ Trunk ¨Ã¤£¬OÅý¤£¦Pªº VLANs ¤¬³q¡A¦Ó¬OÅý¡u¤£¦P¡v
>   Switch ¤W¾Ö¦³¡u¬Û¦P¡vªº¡uVLAN ID¡vªº VLAN ¬Û³q¡C
> 
> 


---------

Hub & switch ¦b³B²zÀW¼eªº®t²§
§@ªÌ: ±i§Ê·u (211.79.149.---)
¤é´Á:   01/07/26 14:31

HUB¬O©Ò¦³PORT¦@¥Î¤@­ÓÀW¼e¡ASWITCH«h¦UPORT¿W¥ß¤@­ÓÀW¼e¡C°²¦p¥H100Mbits¬°¨Ò¡A
«hHUB ¤§¦U­ÓPORT¬O¦p¦ó¤À¨ÉÀW¼e¡A°²³]¦UPORT§¡¦b¨Ï¥Î¤¤¡A«h¦UPORT¤À¨É¨ì¦h¤ÖÀW
¼e¡A¥i§_Á|¨Ò»¡©ú¡H
¥H¤W­z¬°¨Ò¡A«hSWITCH¦UPORT¨É¨ü¨ì¦h¤ÖÀW¼e¡H


¦^ÂÐ¥»¤å
 Re: Hub & switch ¦b³B²zÀW¼eªº®t²§
§@ªÌ: netman (---.seed.net.tw)
¤é´Á:   01/07/26 15:57

¶â¡M·§©À¤W¤£¤j¥¿½T¡C

HUB ©M SWITCH ªº¤À§O¡M¤£¦bÀW¼eªº¡¥¤Á³Î¡¦¡M¦Ó¦b©ó¹ïÀW¼eªº¡¥¨Ï¥Î®É¾÷¡¦¡M¨ä¤¤³Ì
¤j¤À§O¬O¡R¦b HUB ¤W­±¡M¦P¤@®É¶¡¤º¡M¥u¯à¦³¤@­Ó port ¶i¦æ¶Ç°e¡M¦Ó¦b switch «h
¤¹³\©Ò¦³ port ¦P®É¶Ç°e¡C

¦pªG¤µ¤Ñ¡M³s±µ 5 ¥x¾÷¾¹¦b switch ¤W­±¡M¦pªG abcd ³£¦P®É¦V e ¶Ç°e¼Æ¾Ú¡M¨º
abcd °e¥Xªº¼Æ¾Ú¡M³£·|¥ý³Q queue °_¨Ó¡MµM«á switch ·|¥Î¦Û¤vªº CPU ¶i¦æ³B²z¡M
±N queue ¤¤ªº¼Æ¾Ú³B²z±¼¡Q¦Ó´«¦¨ hub¡M¨º»ò¡Ma ¦b°eªº¸Ü¡Mbcd ³£­nµ¥¡M¦pªG b ¦b
°eªº¸Ü¡Macd ³£­nµ¥....


 Re: Hub & switch ¦b³B²zÀW¼eªº®t²§
§@ªÌ: spen (---.hinet-ip.hinet.net)
¤é´Á:   01/07/26 18:40

¤p§Ì¹ï©ó³o¬q¸Ü «Ü·P¿³½ì

³s±µ 5 ¥x¾÷¾¹¦b switch ¤W­±¡M¦pªG abcd ³£¦P®É¦V e ¶Ç°e¼Æ¾Ú¡M¨º abcd °e¥Xªº¼Æ
¾Ú¡M³£·|¥ý³Q queue °_¨Ó¡MµM«á switch ·|¥Î¦Û¤vªº CPU ¶i¦æ³B²z¡M±N queue ¤¤ªº
¼Æ¾Ú³B²z±¼.

½Ð±Ðªº¬O.¤£ºÞswitch ¦p¦ó³B²z.©l²×­n°e¥X¸ê®Æµ¹ abcd.³o®É¸òhub ªº¶Ç°e¦³¤À§O¶Ü
?
switch °eµ¹aªº¦P®É.b or c or d ÁÙ¯à¦P®É¶¡±µ¦¬ e ªº«Ê¥]¶Ü ? ¦pªG¤£¯à.
¥H¤W­±ªº¨Ò¤l.¤p§Ì¬Ý¤£¥X¸ò hub ¦b³o¬q®É¶¡¤º.¸òswitch ¦³¦ó¤À§O.
½Ð«ü±Ð.


 Re: Hub & switch ¦b³B²zÀW¼eªº®t²§
§@ªÌ: netman (---.seed.net.tw)
¤é´Á:   01/07/26 23:45

¦³°Ú¡M´N¬O§ïµ½¤F carry sensce ªºµ¥«Ý°Ú(½Ð­«·s°Ñ¦Ò CSMA/CD ³o­Ó§Þ³N)¡M³o¼Ë»¡
¦n¤F¡M¦pªG abcd ¦P®Éµ¹ e °e¼Æ¾Ú¡M¦Ó¥B a ¤S¦P®É¦V b °e¡M¦Ó f ©M g ¤]¹Á¸Õ¦b°e
¼Æ¾Ú¡C

³o®É­Ô¡Ma ¥u­n±Nµ¹ e ªº¼Æ¾Ú©¹ switch ¥á¤§«á¡M¨º´N¥i¥HÄ~Äò¦V b ¥á¤U¤@­Ó¤F¡M¦Ó
¦P®É bcd ¤]¥i¥H¦V e °e¡M¥H¤Î f ¤]¥i¥H¦V g ¥á¼Æ¾Ú¡C

¦pªG´«¦¨ hub ©O¡M·í a ¦V e °eªº®É­Ô¡M¨º»ò b ­nµ¥¡MµM«á½ü¨ì c ©M d¡M¦Ó a ¦V b
°eªº¡M¤]­nµ¥ d °e§¹¡M³s f ¨ì g ªº¤]­nµ¥´N¬O¤F¡C

¤£ª¾¹D¯à¬Ý¨ì¥¦­Ìªº¤À§O¶Ü¡S°²¦p¥H¨C 1 ¬í¬°¤@­Ó¹Bºâ¶g´Á¨Ó¬Ý¡M§Ú­Ì¥i¥Hµo²{¡R

¥Î switch ªº(²z·Q)±¡§Î¦p¤U­±¡R
²Ä¤@¬í¡Rabcd->e,f->g
²Ä¤G¬í¡Ra->b (§¹¦¨)

¦Ó¥Î hub ©O¡R
²Ä¤@¬í¡Ra->e
²Ä¤G¬í¡Rb->e
²Ä¤T¬í¡Rc->e
²Ä¥|¬í¡Rd->e
²Ä¤­¬í¡Rf->g
²Ä¤»¬í¡Ra->b (§¹¦¨)

¤£¹L¡M½Ð¯d·N¡M¥H¤W¬O°²³]ªº²z·Qª¬ºA¡M¦Ó¥B³æ¯Â°w¹ï carry sensce (¤]´N¬O node
¨ì switch)ªº³¡¥÷¡M¦Ü©ó collision detect¡MÁÙ¦³ switch ³B²z§¹ queue ¤§«á±N¼Æ¾Ú
°eµ¹ nodes ªº³¡¥÷©|¥¼¦Ò¼{¶i¨Ó¡C

§Ú¤£´±½T©w¡M¦ý§Ú²q e ¦Û¤vªº±µ¦¬ÁÙ¬O¨ü¨ì±µ¦¬¶¶§Ç­­¨îªº¡M´Nºâ¦p¦¹¡M¥H¤ñ¸û
switch port °e¦Ü nodes ªº®É¶¡¡M³Ìªøªº¦î¦C¥u¬O switch ¨ì e ªº®É¶¡¡M¦Ó¦b¥¦§¹¦¨
¤§«e¡M¨ä¥¦ªº queue ¤w¸g²MªÅ¤F(§Ú·Q³o­n¬Ý switch ªº³B²z¯à¤O¦Ó©w§a)¡Q¦ý´«¦¨
hub ªº¸Ü¡M¨ä¥¦ queue ´N¨S¦P®É³B²zªº¥i¯à¡M¤]¥u¯à¬O FIFO ³B²z¡C

°²¦p¦U¥D¾÷¡M¦P®É¤S¶}¤F¤@°ï³s½u¤À§O©M¤£¦P¥D¾÷³s½u¡M´N§ó½ÆÂø¤F¡M¦ý§Ú¥i¥HªÖ©w¤@
ÂI¬O¡M³s½u¶V¦h¡Mswitch ¶V¦³µo´§ªº»ù­È¡M¥Î hub «h¥u¯à§óºG¡C

¦pªG±z¤@©w­n±j½Õ±q e °e«Ê¥]¥X¨Óµ¹ abcd (¦Ó¤£¬O abcd ¦P®É¦V e °e)¡M¨º¥ú´N CS
¨Ó»¡¡Mªº½T¨S¤°»ò¤À§O¡M¦ý¥u³o³æ¯Â¬O local ºÝ°e¥X«Ê¥]ªº¶¶§Ç­­¨î¦Ó¤w¡M¦ü¥G¤£À³
¸Ó§è¤W switch ©M hub¡C

ÁÙ¦³¡M¥H¤W»¡ªº¥þ¬O¦b haff-duplex ªº±¡§Î¤Uµo¥Í¡M¦Ó¦b full-duplex ¤U­±«h¤£¬O³o
¼Ëªº¡M¤£¹L¡M´N¤£¯à¥Î hub ¤F¡C


----------





--