知道IP地址和子网掩码,怎么求网络地址?直接广播地址?受限广播地址?子网内的第一个可用的IP地址? 怎么根据IP地址和子网掩码算出网络地址,直接广播地址及主机号
\u5df2\u77e5IP\u5730\u5740\u548c\u5b50\u7f51\u63a9\u7801\u600e\u4e48\u8ba1\u7b97\u5176\u5b50\u7f51\u53f7,\u7f51\u7edc\u5730\u5740,\u76f4\u63a5\u5e7f\u64ad\u5730\u5740??\u6b63\u89c4\u7684\u65b9\u6cd5\u662fIP\u5730\u5740\u548c\u5b50\u63a9\u903b\u8f91\u4e0e\u8fd0\u7b97,\u5f97\u5230\u7684\u5c31\u662f\u7f51\u7edc\u5730\u5740,\u7136\u540e\u6839\u636e\u5b50\u63a9\u5224\u65ad\u4f60\u7684\u5b50\u7f51\u5bb9\u7eb3\u591a\u5c11\u673a\u5668,\u52a0\u4e0a\u4e3b\u673a\u6570-1\u5c31\u662f\u5e7f\u64ad\u5730\u5740
\u4f8b\u5982192.168.0.1,\u5b50\u63a9255.255.255.240,\u7f51\u7edc\u5730\u5740\u5c31\u662f192.168.0.0,\u5e7f\u64ad\u5730\u5740\u5c31\u662f192.168.0.15
1\u3001IP\u5730\u5740\u548c\u5b50\u7f51\u63a9\u7801\u5747\u5316\u4e3a\u4e8c\u8fdb\u5236\u540e\u505a\u903b\u8f91\u4e0e\u8fd0\u7b97\uff0c\u53ef\u5f97\u7f51\u7edc\u5730\u5740\uff0c\u4e3b\u673a\u4f4d\u7f6e\u4e3a\u51681\u5219\u53ef\u5f97\u5e7f\u64ad\u5730\u5740\uff0c\u7f51\u7edc\u5730\u5740\u4e0e\u5e7f\u64ad\u5730\u5740\u4e4b\u95f4\u7684\u5730\u5740\u5c31\u662fIP\u8303\u56f4\u3002
2\u3001\u5982\uff1aip\u5730\u5740200.200.200.111 \u5b50\u7f51\u63a9\u7801255.255.255.252 \uff0c\u7f51\u7edc\u5730\u5740\u662f200.200.200.108\uff0c\u5e7f\u64ad\u5730\u5740\u662f200.200.200.111\uff0cIP\u8303\u56f4\u5c31\u662f200.200.200.108\u5230200.200.200.111\u4e4b\u95f4\u7684\u6240\u6709\u5730\u5740\u3002
3\u3001\u7b2c\u4e8c\u4e2a177.177.177.177\u5b50\u7f51\u63a9\u7801255.255.248.0\uff0c\u7f51\u7edc\u5730\u5740\u662f177.177.176.0\uff0c\u5e7f\u64ad\u5730\u5740\u662f177.177.183.255\uff0cIP\u5730\u5740\u8303\u56f4\u5c31\u662f177.177.176.0\u5230177.177.183.255\u4e4b\u95f4\u7684\u6240\u6709\u5730\u5740\u3002
\u6269\u5c55\u8d44\u6599\uff1a\u5728\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\uff0c\u6709\u4e24\u4e2aIP\u5730\u5740\u6bd4\u8f83\u7279\u6b8a\uff0c\u4e00\u4e2a\u662f\u7f51\u7edc\u53f7\uff0c\u4e00\u4e2a\u662f\u5e7f\u64ad\u5730\u5740\u3002\u7f51\u7edc\u53f7\u662f\u7528\u4e8e\u4e09\u5c42\u5bfb\u5740\u7684\u5730\u5740\uff0c\u5b83\u4ee3\u8868\u4e86\u6574\u4e2a\u7f51\u7edc\u672c\u8eab\u3002
\u53e6\u4e00\u4e2a\u662f\u5e7f\u64ad\u5730\u5740\uff0c\u5b83\u4ee3\u8868\u4e86\u7f51\u7edc\u5168\u90e8\u7684\u4e3b\u673a\u3002\u7f51\u7edc\u53f7\u662f\u7f51\u6bb5\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5730\u5740\uff0c\u5e7f\u64ad\u5730\u5740\u662f\u7f51\u6bb5\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u5730\u5740\uff0c\u8fd9\u4e24\u4e2a\u5730\u5740\u662f\u4e0d\u80fd\u914d\u7f6e\u5728\u8ba1\u7b97\u673a\u4e3b\u673a\u4e0a\u7684\u3002
\u4f8b\u5982\u5728192.168.0.0\u8fd9\u6837\u7684\u7f51\u6bb5\u4e2d\uff0c\u7f51\u7edc\u53f7\u662f192.168.0.0\uff0c\u5e7f\u64ad\u5730\u5740\u662f192.168.0.255\u3002\u56e0\u6b64\uff0c\u5728\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\uff0c\u80fd\u914d\u7f6e\u5728\u8ba1\u7b97\u673a\u4e2d\u7684\u5730\u5740\u6bd4\u7f51\u6bb5\u5185\u7684\u5730\u5740\u8981\u5c11\u4e24\u4e2a\uff0c\u8fd9\u4e9b\u5730\u5740\u79f0\u4e4b\u4e3a\u4e3b\u673a\u5730\u5740\u3002\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u4e3b\u673a\u5730\u5740\u5c31\u53ea\u6709192.168.0.1\u81f3192.168.0.254\u53ef\u4ee5\u914d\u7f6e\u5728\u8ba1\u7b97\u673a\u4e0a\u4e86\u3002
进行《与》操作得出的就是网络地址
绛旓細鏈鍚IP鐨勪簩杩涘埗鍜屾眰鍙嶅悗鐨勪簩杩涘埗杩涜涓庤繍绠楀緱鍒板嵆涓轰富鏈哄彿銆傛瘮濡傦細IP锛192.168.200.13 瀛愮綉鎺╃爜锛255.255.255.0 ip浜岃繘鍒讹細11000000.00001001.1100100.00001101 瀛愮綉鎺╃爜锛1111111.11111111.11111111.00000000 鍙嶏細0000000.0000000.0000000.11111111 涓绘満鍙峰嵆涓猴細0.0.0.13 寰堥珮鍏翠负浣犺В绛 ...
绛旓細闂涓銆佸凡鐭P鍜屽瓙缃戞帺鐮侊紝姹缃戠粶浣嶃佷富鏈轰綅鏂规硶濡備笅锛氫妇渚嬶細I P 鍦板潃锛121.40.81.200 瀛愮綉鎺╃爜: 255.255.252.0 1銆佸厛鎶IP鍦板潃鍜屽瓙缃戞帺鐮杞崲鎴愪簩杩涘埗 I P 鍦板潃锛121.40.81.200 杞崲浜岃繘鍒 01111001.00101000.01010001.11001000 瀛愮綉鎺╃爜锛255.255.252.0 杞崲浜岃繘鍒 11111111.11111111....
绛旓細5銆佸彲鐢鐨刬p灏辨槸18121鍒1812126銆傝绠椾富鏈烘暟閭e氨鏄湅浣犵殑涓绘満浣嶏紝浣犵湅瀛愮綉鎺╃爜鏈7涓富鏈轰綅锛岄偅涔堜富鏈烘暟灏辨槸2鐨7娆℃柟鍑忓幓2(涓涓綉缁滃彿鍜屼竴涓箍鎾彿)銆傚瓙缃1916119/28鐨勪富鏈鍦板潃鑼冨洿鎬庝箞绠楋紵姹傝缁嗙畻娉曘6銆佺敱瀛愮綉鎺╃爜2525220鐨2杩涘埗涓猴紙11111111111111111110000000000000锛夊彲鐭ュ瓙缃戜綅搴斾负3浣嶏紝涓绘満浣嶅簲涓...
绛旓細1锛嶢绫IP鍦板潃A绫籌P鍦板潃鐨勫洓娈靛彿鐮佷腑锛岀涓娈靛彿鐮佷负缃戠粶鍙凤紝鍓╀笅鐨勪笁娈靛彿鐮佷负涓绘満鍙枫2锛嶣绫籌P鍦板潃B绫籌P鍦板潃鐨勫洓娈靛彿鐮佷腑锛屽墠涓ゆ鍙风爜涓虹綉缁滃彿锛屽墿涓嬬殑涓ゆ鍙风爜涓轰富鏈哄彿銆3锛嶤绫籌P鍦板潃C绫籌P鍦板潃鐨勫洓娈靛彿鐮佷腑锛屽墠涓夋鍙风爜涓虹綉缁滃彿锛屽墿涓嬬殑涓娈靛彿鐮佷负涓绘満鍙枫傞鐩腑鐨202.16.12.8涓篊绫籌P鍦板潃...
绛旓細1銆侀鍏堝皢缃戠粶鐨処P鍦板潃鍜屽瓙缃戞帺鐮閮借浆鎹㈡垚32浣嶄簩杩涘埗瀛楃銆2銆佸皢杞崲鍚庣殑浜岃繘鍒剁殑IP鍦板潃鍜屽瓙缃戞帺鐮佽繘琛屸滈昏緫涓庘濊繍绠楋紝寰楀埌鏂扮殑32浣嶄簩杩涘埗瀛楃銆3銆佹妸寰楀埌鐨勬柊鐨32浣嶄簩杩涘埗瀛楃杞崲鎴愬崄杩涘埗锛屽氨鏄富鏈虹殑缃戠粶鍙蜂簡銆備緥濡傦細鏈満IP涓192.168.1.16锛屽瓙缃戞帺鐮佷负255.255.255.0 杞崲鎴愪簩杩涘埗锛氭湰鏈...
绛旓細瀛愮綉鎺╃爜鍜IP鍦板潃绫讳技锛屼篃鏄32浣嶇殑浜岃繘鍒舵暟瀛楋紝涔熸槸杞崲鎴10杩涘埗琛ㄧず銆侫绫诲湴鍧鑼冨洿锛1.0.0.1-126.255.255.254B绫诲湴鍧鑼冨洿锛128.0.0.1-191.255.255.254C绫诲湴鍧鑼冨洿锛192.0.0.1-223.255.255.254D绫诲湴鍧鑼冨洿锛224.0.0.1-239.255.255.254鑰屽瓙缃戯紝灏辨槸鍦ˋ銆丅銆丆銆丏杩欏嚑绫荤綉缁滅殑鎯呭喌涓...
绛旓細1銆侀鍏堝皢缃戠粶鐨処P鍦板潃鍜屽瓙缃戞帺鐮閮借浆鎹㈡垚32浣嶄簩杩涘埗瀛楃銆傚皢杞崲鍚庣殑浜岃繘鍒剁殑IP鍦板潃鍜屽瓙缃戞帺鐮佽繘琛屸滈昏緫涓庘濊繍绠楋紝寰楀埌鏂扮殑32浣嶄簩杩涘埗瀛楃銆傛妸寰楀埌鐨勬柊鐨32浣嶄簩杩涘埗瀛楃杞崲鎴愬崄杩涘埗锛屽氨鏄富鏈虹殑缃戠粶鍙蜂簡銆2銆佹妸IP鍦板潃鍜屽瓙缃戞帺鐮侀兘鐢ㄤ簩杩涘埗琛ㄧず锛岀劧鍚庡悇浣嶅仛鐩镐笌杩愮畻锛屽緱鍒扮殑缁撴灉灏辨槸缃戠粶鍦板潃銆侾S...
绛旓細IP鍦板潃涓124.196.27.59锛屽嵆01111100.11000100.00011011.00111011 瀛愮綉鎺╃爜涓猴細255.244.0.0锛屽嵆11111111.11110100.00000000.00000000 IP鍦板潃涓庡瓙缃戞帺鐮鍋氫笌杩愮畻锛屽嵆01111100.11000100.00000000.00000000 IP鐨勭綉缁滃湴鍧124.196.0.0 瀛愮綉鎺╃爜鍙栧弽(00000000.00001011.11111111.11111111 )锛屽啀鍜孖P鍋氫笌杩愮畻锛...
绛旓細1銆侀鍏堝皢缃戠粶鐨処P鍦板潃鍜屽瓙缃戞帺鐮閮借浆鎹㈡垚32浣嶄簩杩涘埗瀛楃銆2銆佸皢杞崲鍚庣殑浜岃繘鍒剁殑IP鍦板潃鍜屽瓙缃戞帺鐮佽繘琛屸滈昏緫涓庘濊繍绠楋紝寰楀埌鏂扮殑32浣嶄簩杩涘埗瀛楃銆3銆佹妸寰楀埌鐨勬柊鐨32浣嶄簩杩涘埗瀛楃杞崲鎴愬崄杩涘埗锛屽氨鏄富鏈虹殑缃戠粶鍙蜂簡銆備緥濡傦細鏈満IP涓192.168.1.16 锛屽瓙缃戞帺鐮佷负255.255.255.0 杞崲鎴愪簩杩涘埗锛氭湰鏈...
绛旓細鍦ㄤ簩杩涘埗杩涜瀵规瘮锛屾帺鐮涓1浠h〃缃戠粶鍙凤紝0浠h〃涓绘満鍙 渚嬪鐜板湪鐨勭綉鍏虫槸 192.168.1.56 瀛愮綉 255.255.255.240 鎶婁袱涓崲鍘讳簩杩涘埗 11000000 10101000 00000001 00111000 11111111 11111111 11111111 11110000 杩涜瀵规瘮锛岀劧鍚庢妸涓や釜閮芥槸鈥1鈥濈殑鍐欎笅鈥1鈥濆叾浠栫殑涓衡0鈥濆氨寰楀埌缃戠粶鍦板潃浜 1...