① 緗戠粶鍓嶇紑閮芥湁鍝浜涗綔鐢錛
緗戠粶鍓嶇紑鐨勯暱搴︼紝鍗沖湴鍧鐨勭綉緇滈儴鍒嗗瑰簲鐨処P鍦板潃閮ㄥ垎錛岀敤浜庡敮涓鏍囪瘑榪炴帴鍒頒簰鑱旂綉鐨勭綉緇滅殑緗戠粶鍙鳳紝縐頒負緗戠粶鍓嶇紑銆
渚嬶細
ip鍦板潃 錛192.168.1.1
瀛愮綉鎺╃爜錛255.255.255.0
濡傛灉浣跨敤瀛愮綉鍓嶇紑闀垮害鍙浠ュ啓鎴 192.168.1.1/24
涔熷彲浠ヨ存槸瀛愮綉鎺╃爜鎵鍖呭惈鐨 鈥1鈥
255.255.255.0 鍦ㄤ簩榪涗綅閲屾槸
11111111.11111111.11111111.00000000 = 涓鍏辨槸24涓鈥1鈥
瀛愮綉鎺╃爜
瀛愮綉鎺╃爜瀹冪殑涓昏佷綔鐢ㄦ湁涓や釜錛屼竴鏄鐢ㄤ簬灞忚斀IP鍦板潃鐨勪竴閮ㄥ垎浠ュ尯鍒緗戠粶鏍囪瘑鍜屼富鏈烘爣璇嗭紝騫惰存槑璇IP鍦板潃鏄鍦ㄥ矓鍩熺綉涓婏紝榪樻槸鍦ㄨ繙紼嬬綉涓娿備簩鏄鐢ㄤ簬灝嗕竴涓澶х殑IP緗戠粶鍒掑垎涓鴻嫢騫插皬鐨勫瓙緗戠粶銆
浣跨敤瀛愮綉鏄涓轟簡鍑忓皯IP鐨勬氮璐廣傚洜涓洪殢鐫浜掕仈緗戠殑鍙戝睍錛岃秺鏉ヨ秺澶氱殑緗戠粶浜х敓錛屾湁鐨勭綉緇滃氬垯鍑犵櫨鍙幫紝鏈夌殑鍙鏈夊尯鍖哄嚑鍙幫紝榪欐牱灝辨氮璐逛簡寰堝欼P鍦板潃錛屾墍浠ヨ佸垝鍒嗗瓙緗戙備嬌鐢ㄥ瓙緗戝彲浠ユ彁楂樼綉緇滃簲鐢ㄧ殑鏁堢巼銆
② 浠涔堟槸緗戠粶鐨勫墠緙錛
緗戠粶鐨勫墠緙涓猴細11111111.11111111.1010銆
鐢遍樻剰鍙寰楋紝棰樼洰涓緇欏嚭鐨勫艦寮忎負鏃犲垎綾葷紪鍧鐨勫湴鍧錛屾墍浠IP鍦板潃鍚庨潰鏂滄潬涔嬪悗鐨勬暟瀛椾唬琛ㄧ綉緇滃墠緙鐨勪綅鏁幫紝鎵浠ュ緱鍑哄瓙緗戞帺鐮佷負255.255.240.0銆傛墍浠ヤ笌IP鍦板潃鐩鎬笌寰楀嚭緗戠粶鍙227.82.160.0銆傛墍浠ヨ寸綉緇滅殑鍓嶇紑涓11111111.11111111.1010銆
緗戠粶鍓嶇紑鍙浠ョ敤鏉ユ爣璇嗘湰緗戠粶錛屽悓鏃跺彲浠ユ嫇灞曚富鏈哄彿錛屾潵榪涜屽瓙緗戠殑鍒掑垎銆傝繘鑰屾彁楂業P鍦板潃鐨勫埄鐢ㄦ晥鐜囥
鎵╁睍璧勬枡錛
鏃犲垎綾葷紪鍧鐨勭壒鐐癸細
1銆丆IDR娑堥櫎浜嗕紶緇熺殑A綾匯丅綾誨拰C綾誨湴鍧浠ュ強鍒掑垎瀛愮綉鐨勬傚康錛屽洜鑰屽彲浠ユ洿鍔犳湁鏁堝湴鍒嗛厤IPv4鐨勫湴鍧絀洪棿銆
2銆丆IDR浣跨敤鍚勭嶉暱搴 "緗戠粶鍓嶇紑" 鏉ヤ唬鏇垮垎綾誨湴鍧涓緗戠粶鍙峰拰瀛愮綉鍙楓
3銆佺綉緇滀腑鐨処P鍦板潃鐢辯綉緇滃湴鍧鍜屼富鏈哄彿鏋勬垚錛屽洜姝や嬌寰桰P鍦板潃浠庝笁綰х紪鍒跺張鍥炲埌浜嗕袱綰х紪鍒躲
4銆丆IDR浣跨敤"鏂滅嚎璁板繂娉"錛屽張縐頒負"CIDR璁版硶"錛屽嵆鍦↖P鍦板潃鍚庨潰鍔犱笂涓涓鏂滅嚎 "/"錛岀劧鍚庡啓涓婄綉緇滃墠緙鎵鍗犵殑姣旂壒鏁般
5銆佸彲浠ヨ村垎綾葷紪鍧鏄鏃犲垎綾葷紪鍧鐨勭壒渚嬨傜綉緇滃墠緙鐩稿悓鐨処P鍦板潃絀洪棿緇勬垚浜咰IDR鍦板潃鍧楋紝鍦板潃鍧楃殑澶у皬涓2^(32-N)錛圢涓虹綉緇滃墠緙浣嶆暟錛夛紝CIDR鍦板潃鍧楀氨鐢ㄨュ湴鍧鍧楃殑璧峰嬪湴鍧鍜屽湴鍧鍧楀ぇ灝忥紙鍦板潃鍧椾腑鐨勫湴鍧鏁幫級琛ㄧず銆
6銆丆IDR鍙栨秷浜嗗瓙緗戞傚康錛屼笉榪涜屽瓙緗戝垝鍒嗭紝浣嗚繕浣跨敤鎺╃爜銆傚逛竴涓鏈塏涓虹綉緇滃墠緙鐨処P鍦板潃錛屽叾鎺╃爜灝辨槸楂樹綅N涓榪炵畫鐨1錛屼綑涓嬬殑鏄32-N涓0銆
7銆丆IDR鐨勭敤閫斾箣涓灝辨槸鏋勯犺秴緗戙備嬌鐢–IDR鍦板潃鍧楀悗錛岀綉緇滆礬鐢卞櫒涓鐨勮礬鐢辮〃欏瑰彲浠ヨ〃紺哄緢澶氫釜浼犵粺IP鍦板潃鐨勮礬鐢變俊鎮錛岀浉褰撲簬鎶婅嫢騫蹭釜緗戠粶鍚堝苟涓轟竴涓瓚呯綉鏉ヨ繘琛岃礬鐢便傝繖縐嶅湴鍧鐨勮仛鍚堢О涓鴻礬鐢辮仛鍚堬紝涔熺О涓烘瀯閫犺秴緗戙