Wednesday, July 21, 2010

Concept: exchange, exchange of routing and the third layer


To meet the challenges of network applications to deepen the network size and speed in the direction of both the rapid development of LAN speed from the original 10Mbit / s up to 100Mbit / s, Gigabit Ethernet technology is now widely applied.

The network structure from the early development of the shared medium local area network to the current switched LAN. Switched LAN technology enables bandwidth of dedicated users as opposed to greatly improve the local area network transmission efficiency. Can be said that the technology in the network system integration, direct user-oriented interface, the first layer and second layer switching technology has been satisfactory answer. However, as the network core, to play the role of gateway router interconnect technology has no qualitative breakthrough. In this case, a new routing technology came into being, this is the third layer switching technology: it is a router, because it is operational in the third layer network protocol is a routing device and can be understood from The role of the routing decision; it is the switch because it's fast, almost to the second tier exchange rate. Layer switches, three switches and routers, three technical about who was superior and who, with their respective application and the circumstances? To answer this question, we start with these three technologies working principle of:

1. Layer Switching

Layer is the data link layer switch equipment, it can read data packet in the MAC address information and the exchange according to MAC address.

An internal switch address table, the address table indicating the switch port MAC address and correspondence. When the switch from a port receives a packet, it first reads the header of the source MAC address, so that it knows the source MAC address of the machine is connected on which port it go read the purpose of MAC header address and the address table to find the appropriate port, if the table has the objective of MAC addresses with the corresponding port, put the packets directly copied to the port, if not found in the table put the data packets corresponding port broadcast to all ports on the machine when the purpose of responding to the source machine, the switch can also learn a purpose which port the MAC address corresponding to the next transmit data no longer need to broadcast to all ports.

This switch is the two-story building and maintaining its own address table. As the layer switches generally have a wide exchange of bus bandwidth, so you can at the same time a lot of ports for data exchange. If the layer switch with N ports, each port's bandwidth is M, and it switches the bus bandwidth of more than N 脳 M, then this switch can be achieved wire-speed switching. Layer makes the switch on the broadcast packet is limited to broadcast packets to all ports on the copy.

Layer switches are generally designed to process data packets containing the forwarding ASIC (Application specific Integrated Circuit) chip, it can be done very fast forward speed.




[Next]


2. Routing

Router is in the OSI seven layer network model, the third layer - the network layer operations.

Routers within a routing table, this table indicate that if a place to go, where to take the next step should be. From a port router receives a packet, it first remove the link layer header (unpacking), read the purpose of IP address, and then find the routing table, if we determine where to send the next step, then the combined link layer header (packaged), put forward the packet out; If you can not determine the address of the next step, then returns a message to the source address, and to discard the packet.

銆??璺敱鎶?湳鍜屼簩灞備氦鎹㈢湅璧锋潵鏈夌偣鐩镐技锛屽叾瀹炶矾鐢卞拰浜ゆ崲涔嬮棿鐨勪富瑕佸尯鍒氨鏄氦鎹㈠彂鐢熷湪OSI鍙傝?妯″瀷鐨勭浜屽眰(鏁版嵁閾捐矾灞?锛岃?璺敱鍙戠敓鍦ㄧ涓夊眰銆傝繖涓?尯鍒喅瀹氫簡璺敱鍜屼氦鎹㈠湪浼犻?鏁版嵁鐨勮繃绋嬩腑闇?浣跨敤涓嶅悓鐨勬帶鍒朵俊鎭紝鎵?互涓よ?瀹炵幇鍚勮嚜鍔熻兘鐨勬柟寮忔槸涓嶅悓鐨勩?

銆??璺敱鎶?湳鍏跺疄鏄敱涓ら」鏈?熀鏈殑娲诲姩缁勬垚锛屽嵆鍐冲畾鏈?紭璺緞鍜屼紶杈撴暟鎹寘銆傚叾涓紝鏁版嵁鍖呯殑浼犺緭鐩稿杈冧负绠?崟鍜岀洿鎺ワ紝鑰岃矾鐢辩殑纭畾鍒欐洿鍔犲鏉備竴浜涖?璺敱绠楁硶鍦ㄨ矾鐢辫〃涓啓鍏ュ悇绉嶄笉鍚岀殑淇℃伅锛岃矾鐢卞櫒浼氭牴鎹暟鎹寘鎵?鍒拌揪鐨勭洰鐨勫湴閫夋嫨鏈?匠璺緞鎶婃暟鎹寘鍙戦?鍒板彲浠ュ埌杈捐鐩殑鍦扮殑涓嬩竴鍙拌矾鐢卞櫒澶勩?褰撲笅涓?彴璺敱鍣ㄦ帴鏀跺埌璇ユ暟鎹寘鏃讹紝涔熶細鏌ョ湅鍏剁洰鏍囧湴鍧?紝骞朵娇鐢ㄥ悎閫傜殑璺緞缁х画浼犻?缁欏悗闈㈢殑璺敱鍣ㄣ?渚濇绫绘帹锛岀洿鍒版暟鎹寘鍒拌揪鏈?粓鐩殑鍦般?

銆??璺敱鍣ㄤ箣闂村彲浠ヨ繘琛岀浉浜掗?璁紝鑰屼笖鍙互閫氳繃浼犻?涓嶅悓绫诲瀷鐨勪俊鎭淮鎶ゅ悇鑷殑璺敱琛ㄣ?璺敱鏇存柊淇℃伅涓绘槸杩欐牱涓?淇℃伅锛屼竴鑸槸鐢遍儴鍒嗘垨鍏ㄩ儴璺敱琛ㄧ粍鎴愩?閫氳繃鍒嗘瀽鍏跺畠璺敱鍣ㄥ彂鍑虹殑璺敱鏇存柊淇℃伅锛岃矾鐢卞櫒鍙互鎺屾彙鏁翠釜缃戠粶鐨勬嫇鎵戠粨鏋勩?閾捐矾鐘舵?骞挎挱鏄彟澶栦竴绉嶅湪璺敱鍣ㄤ箣闂翠紶閫掔殑淇℃伅锛屽畠鍙互鎶婁俊鎭彂閫佹柟鐨勯摼璺姸鎬佸強杩涚殑閫氱煡缁欏叾瀹冭矾鐢卞櫒銆?br />
銆??3.涓夊眰浜ゆ崲鎶?湳

銆??涓?釜鍏锋湁绗笁灞備氦鎹㈠姛鑳界殑璁惧鏄竴涓甫鏈夌涓夊眰璺敱鍔熻兘鐨勭浜屽眰浜ゆ崲鏈猴紝浣嗗畠鏄簩鑰呯殑鏈夋満缁撳悎锛屽苟涓嶆槸绠?崟鐨勬妸璺敱鍣ㄨ澶囩殑纭欢鍙婅蒋浠剁畝鍗曞湴鍙犲姞鍦ㄥ眬鍩熺綉浜ゆ崲鏈轰笂銆?br />
銆??浠庣‖浠朵笂鐪嬶紝绗簩灞備氦鎹㈡満鐨勬帴鍙fā鍧楅兘鏄?杩囬珮閫熻儗鏉?鎬荤嚎(閫熺巼鍙珮杈惧嚑鍗丟bit/s)浜ゆ崲鏁版嵁鐨勶紝鍦ㄧ涓夊眰浜ゆ崲鏈轰腑锛屼笌璺敱鍣ㄦ湁鍏崇殑绗笁灞傝矾鐢辩‖浠舵ā鍧椾篃鎻掓帴鍦ㄩ珮閫熻儗鏉?鎬荤嚎涓婏紝杩欑鏂瑰紡浣垮緱璺敱妯″潡鍙互涓庨渶瑕佽矾鐢辩殑鍏朵粬妯″潡闂撮珮閫熺殑浜ゆ崲鏁版嵁锛屼粠鑰岀獊鐮翠簡浼犵粺鐨勫鎺ヨ矾鐢卞櫒鎺ュ彛閫熺巼鐨勯檺鍒躲?鍦ㄨ蒋浠舵柟闈紝绗笁灞備氦鎹㈡満涔熸湁閲嶅ぇ鐨勪妇鎺紝瀹冨皢浼犵粺鐨勫熀浜庤蒋浠剁殑璺敱鍣ㄨ蒋浠惰繘琛屼簡鐣屽畾銆?br />
銆??鍏跺仛娉曟槸锛?br />
銆??瀵逛簬鏁版嵁鍖呯殑杞彂锛氬IP/IPX鍖呯殑杞彂锛岃繖浜涜寰嬬殑杩囩▼閫氳繃纭欢寰椾互楂橀?瀹炵幇銆?br />
銆??瀵逛簬绗笁灞傝矾鐢辫蒋浠讹細濡傝矾鐢变俊鎭殑鏇存柊銆佽矾鐢辫〃缁存姢銆佽矾鐢辫绠椼?璺敱鐨勭‘瀹氱瓑鍔熻兘锛岀敤浼樺寲銆侀珮鏁堢殑杞欢瀹炵幇銆?br />
[Next]
銆??鍋囪涓や釜浣跨敤IP鍗忚鐨勬満鍣ㄩ?杩囩涓夊眰浜ゆ崲鏈鸿繘琛岄?淇$殑杩囩▼锛屾満鍣ˋ鍦ㄥ紑濮嬪彂閫佹椂锛屽凡鐭ョ洰鐨処P鍦板潃锛屼絾灏氫笉鐭ラ亾鍦ㄥ眬鍩熺綉涓婂彂閫佹墍闇?鐨凪AC鍦板潃銆傝閲囩敤鍦板潃瑙f瀽(ARP)鏉ョ‘瀹氱洰鐨凪AC鍦板潃銆傛満鍣ˋ鎶婅嚜宸辩殑IP鍦板潃涓庣洰鐨処P鍦板潃姣旇緝锛屼粠鍏惰蒋浠朵腑閰嶇疆鐨勫瓙缃戞帺鐮佹彁鍙栧嚭缃戠粶鍦板潃鏉ョ‘瀹氱洰鐨勬満鍣ㄦ槸鍚︿笌鑷繁鍦ㄥ悓涓?瓙缃戝唴銆傝嫢鐩殑鏈哄櫒B涓庢満鍣ˋ鍦ㄥ悓涓?瓙缃戝唴锛孉骞挎挱涓?釜ARP璇锋眰锛孊杩斿洖鍏禡AC鍦板潃锛孉寰楀埌鐩殑鏈哄櫒B鐨凪AC鍦板潃鍚庡皢杩欎竴鍦板潃缂撳瓨璧锋潵锛屽苟鐢ㄦMAC鍦板潃灏佸寘杞彂鏁版嵁锛岀浜屽眰浜ゆ崲妯″潡鏌ユ壘MAC鍦板潃琛ㄧ‘瀹氬皢鏁版嵁鍖呭彂鍚戠洰鐨勭鍙c? If the two machines not on the same subnet, such as the sending machine A to machine C with the purpose of communication, sending machine A to a "default gateway" issue ARP packets, and the "default gateway" IP address is already in the system software set. The IP address actually corresponds to the third level of the third layer of switches, switching module.鎵?互褰撳彂閫佹満鍣ˋ瀵光?缂虹渷缃戝叧鈥濈殑IP鍦板潃骞挎挱鍑轰竴涓狝RP璇锋眰鏃讹紝鑻ョ涓夊眰浜ゆ崲妯″潡鍦ㄤ互寰?殑閫氫俊杩囩▼涓凡寰楀埌鐩殑鏈哄櫒C鐨凪AC鍦板潃锛屽垯鍚戝彂閫佹満鍣ˋ鍥炲C鐨凪AC鍦板潃锛涘惁鍒欑涓夊眰浜ゆ崲妯″潡鏍规嵁璺敱淇℃伅鍚戠洰鐨勬満鍣ㄥ箍鎾竴涓狝RP璇锋眰锛岀洰鐨勬満鍣–寰楀埌姝RP璇风ず鍚庡悜绗笁灞備氦鎹㈡ā鍧楀洖澶嶅叾MAC鍦板潃锛岀涓夊眰浜ゆ崲妯″潡淇濆瓨姝ゅ湴鍧?苟鍥炲缁欏彂閫佹満鍣ˋ銆?Later, when further data packets between A and C transmitted into, the ultimate goal would be to use the MAC address of packaging machinery, process all data transmitted to the second exchange processing, and information to high-speed switching. Both the so-called a routing, multiple exchange.

銆??绗笁灞備氦鎹㈠叿鏈変互涓嬬獊鍑虹壒鐐癸細

銆??鏈夋満鐨勭‖浠剁粨鍚堜娇寰楁暟鎹氦鎹㈠姞閫燂紱

銆??浼樺寲鐨勮矾鐢辫蒋浠朵娇寰楄矾鐢辫繃绋嬫晥鐜囨彁楂橈紱

銆??闄や簡蹇呰鐨勮矾鐢卞喅瀹氳繃绋嬪锛屽ぇ閮ㄥ垎鏁版嵁杞彂杩囩▼鐢辩浜屽眰浜ゆ崲澶勭悊锛?br />
銆??澶氫釜瀛愮綉浜掕繛鏃跺彧鏄笌绗笁灞備氦鎹㈡ā鍧楃殑閫昏緫杩炴帴锛屼笉璞′紶缁熺殑澶栨帴璺敱鍣ㄩ偅鏍烽渶澧炲姞绔彛锛屼繚鎶や簡鐢ㄦ埛鐨勬姇璧勩?

銆??4.涓夌鎶?湳鐨勫姣?br />
銆??鍙互鐪嬪嚭锛屼簩灞備氦鎹㈡満涓昏鐢ㄥ湪灏忓瀷灞?煙缃戜腑锛屾満鍣ㄦ暟閲忓湪浜屻?涓夊崄鍙颁互涓嬶紝杩欐牱鐨勭綉缁滅幆澧冧笅锛屽箍鎾寘褰卞搷涓嶅ぇ锛屼簩灞備氦鎹㈡満鐨勫揩閫熶氦鎹㈠姛鑳姐?澶氫釜鎺ュ叆绔彛鍜屼綆寤変环鏍间负灏忓瀷缃戠粶鐢ㄦ埛鎻愪緵浜嗗緢瀹屽杽鐨勮В鍐虫柟妗堛?鍦ㄨ繖绉嶅皬鍨嬬綉缁滀腑鏍规湰娌″繀瑕佸紩鍏ヨ矾鐢卞姛鑳戒粠鑰屽鍔犵鐞嗙殑闅惧害鍜岃垂鐢紝鎵?互娌℃湁蹇呰浣跨敤璺敱鍣紝褰撶劧涔熸病鏈夊繀瑕佷娇鐢ㄤ笁灞備氦鎹㈡満銆?br />
銆??涓夊眰浜ゆ崲鏈烘槸涓篒P璁捐鐨勶紝鎺ュ彛绫诲瀷绠?崟锛屾嫢鏈夊緢寮轰簩灞傚寘澶勭悊鑳藉姏锛屾墍浠ラ?鐢ㄤ簬澶у瀷灞?煙缃戯紝涓轰簡鍑忓皬骞挎挱椋庢毚鐨勫嵄瀹筹紝蹇呴』鎶婂ぇ鍨嬪眬鍩熺綉鎸夊姛鑳芥垨鍦板煙绛夊洜绱犲垝浠栨垚涓?釜涓?釜鐨勫皬灞?煙缃戯紝涔熷氨鏄竴涓竴涓殑灏忕綉娈碉紝杩欐牱蹇呯劧瀵艰嚧涓嶅悓缃戞杩欓棿瀛樺湪澶ч噺鐨勪簰璁匡紝鍗曠函浣跨敤浜屽眰浜ゆ崲鏈烘病鍔炴硶瀹炵幇缃戦棿鐨勪簰璁胯?鍗曠函浣跨敤璺敱鍣紝鍒欑敱浜庣鍙f暟閲忔湁闄愶紝璺敱閫熷害杈冩參锛岃?闄愬埗浜嗙綉缁滅殑瑙勬ā鍜岃闂?搴︼紝鎵?互杩欑鐜涓嬶紝鐢变簩灞備氦鎹㈡妧鏈拰璺敱鎶?湳鏈夋満缁撳悎鑰屾垚鐨勪笁灞備氦鎹㈡満灏辨渶涓洪?鍚堛?

銆??璺敱鍣ㄧ鍙g被鍨嬪锛屾敮鎸佺殑涓夊眰鍗忚澶氾紝璺敱鑳藉姏寮猴紝鎵?互閫傚悎浜庡湪澶у瀷缃戠粶涔嬮棿鐨勪簰杩烇紝铏界劧涓嶅皯涓夊眰浜ゆ崲鏈虹敋鑷充簩灞備氦鎹㈡満閮芥湁寮傝川缃戠粶鐨勪簰杩炵鍙o紝浣嗕竴鑸ぇ鍨嬬綉缁滅殑浜掕繛绔彛涓嶅锛屼簰杩炶澶囩殑涓昏鍔熻兘涓嶅湪浜庡湪绔彛涔嬮棿杩涜蹇?浜ゆ崲锛岃?鏄閫夋嫨鏈?匠璺緞锛岃繘琛岃礋杞藉垎鎷咃紝閾捐矾澶囦唤鍜屾渶閲嶈鐨勪笌鍏跺畠缃戠粶杩涜璺敱淇℃伅浜ゆ崲锛屾墍鏈夎繖浜涢兘鏄矾鐢卞畬鎴愮殑鍔熻兘銆?br />
銆??鍦ㄨ繖绉嶆儏鍐典笅锛岃嚜鐒朵笉鍙兘浣跨敤浜屽眰浜ゆ崲鏈猴紝浣嗘槸鍚︿娇鐢ㄤ笁灞備氦鎹㈡満锛屽垯瑙嗗叿浣撴儏鍐佃?涓嬨?褰卞搷鐨勫洜绱犱富瑕佹湁缃戠粶娴侀噺銆佸搷搴旈?搴﹁姹傚拰鎶曡祫棰勭畻绛夈?涓夊眰浜ゆ崲鏈虹殑鏈?噸瑕佺洰鐨勬槸鍔犲揩澶у瀷灞?煙缃戝唴閮ㄧ殑鏁版嵁浜ゆ崲锛屾弶鍚堣繘鍘荤殑璺敱鍔熻兘涔熸槸涓鸿繖鐩殑鏈嶅姟鐨勶紝鎵?互瀹冪殑璺敱鍔熻兘娌℃湁鍚屼竴妗f鐨勪笓涓氳矾鐢卞櫒寮恒?鍦ㄧ綉缁滄祦閲忓緢澶х殑鎯呭喌涓嬶紝濡傛灉涓夊眰浜ゆ崲鏈烘棦鍋氱綉鍐呯殑浜ゆ崲锛屽張鍋氱綉闂寸殑璺敱锛屽繀鐒朵細澶уぇ鍔犻噸浜嗗畠鐨勮礋鎷咃紝褰卞搷鍝嶅簲閫熷害銆傚湪缃戠粶娴侀噺寰堝ぇ锛屼絾鍙堣姹傚搷搴旈?搴﹀緢楂樼殑鎯呭喌涓嬬敱涓夊眰浜ゆ崲鏈哄仛缃戝唴鐨勪氦鎹紝鐢辫矾鐢卞櫒涓撻棬璐熻矗缃戦棿鐨勮矾鐢卞伐浣滐紝杩欐牱鍙互鍏呭垎鍙戞尌涓嶅悓璁惧鐨勪紭鍔匡紝鏄竴涓緢濂界殑閰嶅悎銆傚綋鐒讹紝濡傛灉鍙楀埌鎶曡祫棰勭畻鐨勯檺鍒讹紝鐢变笁灞備氦鎹㈡満鍏煎仛缃戦棿浜掕繛锛屼篃鏄釜涓嶉敊鐨勯?鎷┿?





相关链接:



Convert .mov to .wmv free



Alibaba Ma: Even if I have to finally kneeling down



flv converter



New Worm VBS / VBSWG.an @ MM Small Files



Mars Text Input Text Input V2.7.2 Version Of Easy Fun



Newpentium DVD Cloner



Youtube to iPod Application



Flash highlights Examples of forms produced (6)



Free download converter mp4 to 3gp



Merry MP3 ID3 Audio to WAV Recorder



Expert Printer



Merry DVD-AUDIO VQF ID3 to RA Player



H264 Format



Top Calculators And Converters