❶ SDN緋葷粺鏂規硶 | 6. 緗戠粶鎿嶄綔緋葷粺
嬈㈣繋鏉ュ埌SDN緋葷粺鏂規硶鐨勬繁鍏ユ帰璁錛屾湰絝犺仛鐒︿簬緗戠粶鎿嶄綔緋葷粺鐨勯潻鏂扳斺擮NOS銆備綔涓轟富嫻佹瀯寤虹綉緇滅殑鏂版柟寮忥紝SDN浠ュ叾鍔ㄦ佸拰鐏墊椿鐨勭壒鎬у紩棰嗙潃琛屼笟鍙橀潻銆傝╂垜浠涓璧鋒帰緔ONOS鍦ㄧ6絝犱腑鐨勬牳蹇冭掕壊錛屽畠濡備綍閫氳繃妯″潡鍖栬捐″拰鍒嗗竷寮忕粍浠訛紝濉戦犵幇浠g綉緇滅殑鏅烘収涓鏋銆
ONOS浣滀負鍏抽敭鐨勭綉緇滄搷浣滅郴緇燂紝鍏舵灦鏋勫崜瓚婏紝鐢辨澗鑰﹀悎鐨勫瓙緋葷粺鏋勬垚錛屼緥濡傛墿灞曠殑閿/鍊煎瓨鍌錛屾棬鍦ㄦ敮鎸侀珮搴︾伒媧葷殑鎺у埗紼嬪簭鍜岃懼囩$悊銆傚畠鐨勫寳鍚戞帴鍙(NBI)璐熻矗閰嶇疆銆佽繍緇村拰鎺у埗錛屽崡鍚戞帴鍙(SBI)鍒欎笌搴曞眰緗戠粶璁懼囪繘琛屾棤緙濅氦浜掋傚浘30鎻紺轟簡ONOS鐨勪笁灞傛灦鏋勶細鏍稿績閮ㄥ垎閲囩敤鍒嗗竷寮忔牳蹇冿紝鍊熷姪Atomix鐨勫彲浼哥緝瀛樺偍錛屼繚璇佹湇鍔$殑楂樻晥榪愯屻傛帶鍒剁▼搴忛氳繃NBI涓庣綉緇滆繘琛屼氦浜掞紝鍒╃敤璇稿倈NMI鍜実NOI絳夋爣鍑嗗寲鎺ュ彛錛屽疄鐜伴浂鎺ヨЕ綆$悊錛屾彁渚涘叏鏂逛綅鐨勯厤緗銆佺洃鎺у拰榪愮淮鏈嶅姟銆
ONOS鐨勫己澶т箣澶勫湪浜庡叾瀵瑰氭牱緗戠粶璁懼囩殑鏀鎸侊紝濡俥nFlow鍜孭4Runtime錛屽畠浠鍏卞悓鏋勬垚浜哋NOS鐨勬牳蹇冿紝鍏朵腑鍒嗗竷寮忚〃錛岄噰鐢ㄥ厛榪涚殑Raft綆楁硶錛屼負鏈嶅姟鎶借薄鎻愪緵浜嗗潥瀹炵殑鍩虹銆侫tomix浣滀負鍒嗗竷寮忓伐鍏鳳紝涓篛NOS瀹炰緥鐨勬按騫蟲墿灞曞拰鍗忚皟鎻愪緵浜嗗叧閿鏀鎸侊紝瀹冪殑鍒嗗竷寮忔暟鎹緇撴瀯銆侀氫俊鍜屽崗璋冨姛鑳斤紝濡侫tomicMap鍜孌istributedMap錛屾瀯寤轟簡ONOS鏈嶅姟鐨勫熀鐭籌紝濡俆opology銆丩ink鍜孌evice鏈嶅姟錛屽畠浠緔у瘑鐩歌繛錛屽叡鍚屾瀯寤轟簡緗戠粶鐨勫姩鎬佽嗗浘銆
鍦∣NOS涓錛屾湇鍔$殑閫傞厤鍜屼氦浜掕嚦鍏抽噸瑕併備緥濡傦紝Topology Service閫氳繃緙撳瓨緗戠粶鐘舵侊紝涓虹敤鎴鋒彁渚涗綆寤惰繜鐨勮塊棶錛岃孭ath Service鍒欎笌鍏朵粬鏈嶅姟濡侶ost Service鍜孭acket Service鍗忓悓宸ヤ綔銆傚湪鍥哄畾鎷撴墤鍦烘櫙涓嬶紝Topology Service鎺ユ敹鏉ヨ嚜Network Config鐨勬寚浠わ紝紜淇濈綉緇滈厤緗鐨勫噯紜鎬у拰鍙闈犳с
ONOS鐨勬牳蹇冩湇鍔″寘鎷涓緋誨垪閲嶈佺粍浠訛紝濡備富鏈恆佽懼囥侀摼璺銆佹嫇鎵戙 Mastership鍜岄泦緹ょ$悊錛屼互鍙婄綉緇滈厤緗鏈嶅姟錛屽叡鍚屾瀯寤轟簡涓涓鍔熻兘寮哄ぇ鐨勭綉緇滄搷浣滅郴緇熴傝繖浜涙湇鍔′笉浠呭厑璁歌嚜瀹氫箟緗戠粶琛屼負錛岃繕鎻愪緵浜嗗垎甯冨紡瀛樺偍鍜屽疄鏃墮氱煡錛屾瀯寤轟簡涓涓鎶借薄鐨勬祦姘寸嚎妯″瀷錛屽叾涓緇勪歡閰嶇疆銆佹姤鏂囧勭悊銆佽礬鐢辮勫垯絳夐兘寰椾互瀹炵幇銆
ONOS鐨勫寳鍚戞帴鍙h捐″閥濡欙紝鍖呮嫭鏈嶅姟API銆丄tomix緙栫▼鎺ュ彛鍜屾爣鍑嗗寲鎺ュ彛錛屽畠浠鍏卞悓鏀鎸佸簲鐢ㄧ▼搴忔墿灞曞叾鍔熻兘銆傞氳繃鍗楀悜鎺ュ彛(SBI)錛孫NOS鑳藉熺伒媧誨湴閫傚簲涓嶅悓綾誨瀷鐨勭綉緇滆懼囷紝濡侽penFlow鍜実NMI鍗忚鎻愪緵鑰咃紝紜淇濅簡涓庡簳灞傝懼囩殑楂樻晥浜や簰銆
鍦ㄦц兘鍜岃勬ā鏂歸潰錛孫NOS琛ㄧ幇鍑鴻壊錛屾敮鎸佸ぇ瑙勬ā璁懼囧拰楂樻晥鎿嶄綔錛屼緥濡50,000涓閰嶇疆鎿嶄綔姣忓ぉ澶勭悊錛岀『淇濅簡鐢熶駭鐜澧冪殑紼沖畾鎬у拰楂樺彲鐢ㄦс傞氬父錛岀敓浜х幆澧冧細閮ㄧ講澶氫釜ONOS瀹炰緥錛屼互瀹炵幇璐熻澆鍧囪鍜屾晠闅滆漿縐匯
ONOS鐨勫彲鎵╁睍鎬у拰楂樺彲鐢ㄦх諱笉寮Atomix鐨勬敮鎸侊紝渭ONOS寰鏈嶅姟鏋舵瀯鐨勫紩鍏ワ紝浣垮緱鏍稿績鍔熻兘鍜屾湇鍔¤灝佽呬負鐙絝嬬殑緇勪歡錛屾彁楂樹簡緋葷粺鐨勭伒媧繪у拰鍙緇存姢鎬с傝屼綔鑰呬繛鍑″湪閫氫俊鍜岀綉緇滈嗗煙鐨勬繁鍘氶犺o紝涓篛NOS鐨勬帰緔㈡彁渚涗簡娣卞帤鑳屾櫙銆
娣卞叆鐞嗚ВONOS錛屾槸鎶婃彙SDN緋葷粺鏂規硶鐨勫叧閿錛屽畠姝e湪閲嶅戞垜浠瀵圭綉緇滀笘鐣岀殑璁ょ煡銆傝╂垜浠涓鍚屾帰緔㈡洿澶氬叧浜嶰NOS鐨勫壋鏂扮粏鑺傦紝浠ュ強瀹冨備綍椹卞姩緗戠粶鎶鏈鐨勬湭鏉ャ傛蹭簡瑙f洿澶氾紝鍙浠ュ弬鑰銆奡oftware-Defined Networks: A Systems Approach銆錛岀敱mdnice鍙戝竷浜庡叕浼楀彿DeepNoMind錛屽叡鍚屾彮寮緗戠粶鎿嶄綔緋葷粺鐨勭炵橀潰綰便
不用IP,沒那麼復雜。設置上網這塊要看你用的是什麼機型,手機是什麼系統的才好給你解答
以安卓為例,只需要在設置-網路設置-接入點-新增,接入點名稱zain,APN internet即可
❸ 鍒╃敤SDN鎵╁睍鉶氭嫙緗戠粶
SDN鍙浠ュ皢浣犲甫鍒扮幇鏈夌綉緇滄病鏈夊埌榪囩殑鍦版柟錛屼絾浣犲彲鑳借侀噸鏂拌冭檻杞鍙戣〃銆
SDN琚璁や負鏄浼佷笟瀹炵幇瀹屽叏鉶氭嫙鍖栫綉緇滅殑涓昏侀斿緞錛屼箖鑷沖疄鐜板畬鍏ㄨ櫄鎷熸暟鎹涓蹇冪殑涓昏佹柟寮忋
鎵鏈夎繖浜涜櫄鎷熷寲鐨勪富瑕佸ソ澶勪箣涓鏄瑙勬ā銆備笉鍙楃‖浠墮檺鍒訛紝SDN鐜澧冨皢鑳藉熸牴鎹鐢ㄦ埛鐨勫彉鍖栬屽彉鍖栵紝榪欏甫鏉ヤ簡闅忔椂闅忓湴瀹炵幇鏁版嵁榪炴帴鐨勬椂浠c
鐒惰岋紝濡傛灉鏄榪欐牱鐨勮瘽錛屼負浠涔堣繕鏈夎繖涔堝氬洿緇曡櫄鎷熺綉緇滃鉤鍙扮殑鍙鎵╁睍鎬ч檺鍒剁殑闂棰樺嚭鐜板憿?
杞鍙戣〃闄愬埗
浜嬪疄璇佹槑錛岃櫧鐒舵帶鍒跺鉤闈㈠拰杞鍙戝鉤闈㈢殑鍒嗙誨彲浠ュ甫鏉ュ緢澶氬ソ澶勶紝浣嗚櫄鎷熺綉緇滀粛鐒跺彈鍒拌漿鍙戣〃鑳藉姏鐨勯檺鍒訛紝鉶氭嫙緗戦渶瑕佽漿鍙戣〃鏉ヨ板綍鎺ㄥ姩鏁版嵁鍖呭埌鍏舵渶緇堢洰鐨勫湴鎵闇瑕佺殑MAC鍦板潃鍜屽叾浠栫綉緇滄暟鎹銆備簨瀹炰笂錛岄殢鐫鏉ヨ嚜鐗╃悊灞傚熀紜璁炬柦浠ュ強蹇閫熷彉鍖栫殑鉶氭嫙鍩虹璁炬柦鐨勫懡浠ゅ拰璇鋒眰鍏呮枼鐫杞鍙戣〃錛岃繖縐嶆寫鎴樹細涓嶆柇澧炲姞銆傚埌鐩鍓嶄負姝錛屾垜浠宸茬粡寮鍙戜簡涓浜涙妧鏈鏉ヨВ鍐寵繖涓闂棰橈紝渚嬪傛渶鐭璺寰勬ˉ鎺ュ拰IP寮忔暟鎹鍖呮飯娌★紝浣嗛棶棰樻槸鐜板湪鐨勮櫄鎷熺綉緇滃鉤鍙版槸鍚﹁兘澶熶負浼佷笟鎻愪緵鍙鎵╁睍鎬с
鏄劇劧錛屾垜浠鍙浠ユ兂鍒扮殑絎涓縐嶈В鍐蟲柟妗堟槸鏀硅繘嫻侀噺琛ㄦ湰韜銆傝繖鏄疌orsa Technology鍏鍙稿湪鍏舵柊鐨凮penFlow紜浠舵暟鎹騫抽潰(DP6420鍜孌P6440)涓閲囧彇鐨勬柟娉曪紝榪欎袱涓鏁版嵁騫抽潰鏃ㄥ湪鐢ㄤ簬鏁版嵁涓蹇冨拰榪愯惀鍟嗙幆澧冧腑銆傝ヨ懼囨彁渚涙湰鍦癘penFlow 1.3鏀鎸侊紝騫惰兘澶熷勭悊澶氫釜嫻侀噺琛ㄥ拰鏁扮櫨涓囨祦閲忥紝鏀鎸佸揩閫熷壋寤烘祦閲忚〃浠ュ強姣忕掗厤緗鏁頒竾嫻侀噺淇鏀廣傚畠浠榪樻敮鎸佸氱嶇綉緇滅鍙i厤緗錛屽寘鎷48x10GbE銆 4x40GbE鍜4x100GbE銆
濡傛灉鏁頒竾嫻侀噺鍛戒護鍙樻垚浜嗘暟鍗冧竾(浼佷笟寰堝彲鑳戒細閮ㄧ講瓚呭ぇ瑙勬ā鏋舵瀯)鍛?浣犳庢牱鑳藉熷圭撼(浠ュ悎鐞嗙殑鎴愭湰)澶ч噺TCP榪炴帴鍜孶DP嫻侀噺?鍏跺疄榪欎簺闂棰樻槸浣犳棤娉曟壙鍙楃殑錛屼綘搴旇ヤ嬌鐢ㄧ洰鍓嶅湪澶у氭暟2灞傚拰3灞傜綉緇滀氦鎹㈡満閮ㄧ講鐨勫熀浜庣洰鐨勫湴鐨勮漿鍙戞柟娉曘傞氳繃鏅鴻兘鏋舵瀯錛孲DN璁懼囪兘澶熼氳繃鑷鍔ㄦ煡璇㈠拰API緙栫▼鏉ヨ繘琛屾g『鐨勯厤緗銆傝漿鍙戣〃鏈韜鐨勫彉鍖栭熷害鍏跺疄寰涔庡叾寰銆備簨瀹炰笂錛屼綘浼氱湅鍒版瘮鐜板湪鏇村皬鐨勮漿鍙戣〃錛屽洜涓烘帶鍒跺櫒浼氫笉鏂鍦板垏闄ゆ婚摼鎺ワ紝鑰屼笉鏄瑕嗙洊MAC鍦板潃鍒版瘡涓鉶氭嫙浜ゆ崲鏈恆
鉶氭嫙緗戝彲瑙嗘
鐒惰岋紝鍚戝栨墿灞曠綉緇滀笉浠呬粎浼氬獎鍝嶈漿鍙戣〃錛岃繕鏈夊彲瑙嗘х殑闂棰樸俆ilera鍏鍙稿拰Procera緗戠粶鍏鍙歌仈鎵嬮氳繃鏂扮殑SoC瑙e喅鏂規堟潵瑙e喅鍚戝栨墿灞曡櫄鎷熺綉緇滀腑鐨凞PI錛岃繖涓瑙e喅鏂規堢粨鍚堜簡TLEncore-Gx閫傞厤鍣ㄤ笌Procera緗戠粶搴旂敤鍙瑙嗘у簱銆傝繖閲岀殑鐩鐨勬槸鐩存帴鍦ㄦ湇鍔″櫒鐨4灞傚埌7灞傜綉緇滄彁渚涚嚎閫熷簲鐢ㄦ櫤鑳斤紝浠ュ疄鐜版繁搴﹀▉鑳佺洃鎺с丵oS綆$悊鍜屽叾浠栧姛鑳姐傝ョ郴緇熻繕鎻愪緵姣忕掗珮杈225000涓鐙鐗圭殑緗戝潃浠ュ強7灞傜綉緇滄祦閲忓垎綾伙紝榪欏彲鐢ㄦ潵杞鍙戠壒瀹氭祦閲忔潵浼樺寲涓繪満銆
涓嶇′綘濡備綍鎵╁睍鉶氭嫙緗戠粶錛屾湁涓や釜浜嬪疄鏄涓嶅圭疆鐤戠殑錛氬叾涓鏄錛屽嵆浣挎槸鏈楂樻晥鐨勮祫婧愬埄鐢ㄧ巼涔熶笉鑳界『淇濊蔣浠跺畾涔夋灦鏋勮兘澶熸棤闄愭墿灞曘傚湪鏌愪簺鏃跺欙紝紜浠朵細鍙戞尌涓浜涗綔鐢錛岃櫧鐒墮氳繃閫傚綋鐨勮捐★紝榪欑嶇‖浠跺獎鍝嶅彲浠ユ帶鍒跺湪鏈灝忚寖鍥淬
鍏朵簩鏄錛屾墍鏈夌綉緇滅粨鏋勫繀欏繪壘鍒頒竴縐嶆柟娉曟潵鍙戠幇鍜屾槧灝勫叾浠栬祫婧愶紝鐢氳嚦鏄閭d簺浼佷笟鐩存帴鎺у埗涔嬪栫殑璧勬簮銆傚苟涓旓紝闅忕潃SDN鍙樺緱鏇村姞鏅鍙婏紝瀵硅繖浜涙祦紼嬭嚜鍔ㄥ寲鐨勯渶瑕佸皢浼氬炲姞銆
浠庢湰璐ㄤ笂璁詫紝鉶氭嫙緗戠粶琚璁捐′負鍙鎵╁睍錛岃繖鑲瀹氳繙榪滆秴榪囦簡鐗╃悊緗戠粶銆備絾榪欏苟涓嶆剰鍛崇潃浣犲彲浠ヨ幏寰楁棤闄愮殑璧勬簮銆