请教问题,知道网关和子网掩码怎么求网络地址范围,总是做不对 知道 网关 子网掩码 如果求IP 范围
\u77e5\u9053\u7f51\u5173\u5730\u5740\u548c\u5b50\u7f51\u63a9\u7801\uff0c\u600e\u4e48\u6c42\u5408\u6cd5IP\u5730\u5740\u8303\u56f4\uff1fIP\u5730\u5740\u8303\u56f4\u4e3b\u8981\u6709\u5b50\u7f51\u63a9\u7801\u63a7\u5236\uff0c\u5177\u4f53\u8303\u56f4\u7b97\u6cd5\u5f88\u7b80\u5355\uff1a
1.\u5c06\u5b50\u7f51\u63a9\u7801\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236
2.\u4ece\u53f3\u81f3\u5de6\u770b\u770b\u6709\u591a\u5c11\u4e2a\u20180\u2019
3.\u5c06\u8fd9\u4e9b\u20180\u2019\u53d8\u4e3a\u20181\u2019\u7136\u540e\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u6570
4.\u51cf\u53bb\u5e7f\u64ad\u5730\u5740\u4e00\u4e2a\uff0c\u4fdd\u7559\u5730\u5740\u4e00\u4e2a\uff0c\u5269\u4e0b\u7684\u5c31\u662f\u8303\u56f4\u4e86\u3002
255.255.240.0\u5bf9\u5e94\u7684\u662f11111111,11111111,11111000,00000000
195.26.16.1\u662f11000011.00011010.00010000.00000001
\u5bf9\u5e94\u7684\u5e94\u8be5\u662f11000011.00011010.00010\u6bb5\u5730\u5740\u4e0d\u53d8\uff0c\u6240\u4ee5\u5730\u5740\u8303\u56f4\u4e3a
11000011.00011010.00010000.00000000-
11000011.00011010.00010111.11111111
\u8f6c\u6362\u6210IP\u5730\u5740\u4e3a\uff1a195.26.16.0-195.26.23.255
\u5f53\u7136\u5728\u8fd9\u4e2a\u8303\u56f4\u91cc\u9762\u7b2c\u4e00\u4e2a\u548c\u6700\u540e\u4e00\u4e2a\u5730\u5740\u4e00\u822c\u90fd\u53e6\u6709\u7528\u5904\u3002
256-192=64,说明这个子网有64个ip,并且所在的网络号肯定是64的倍数,所以网络号是192.168.1.128
,因为128是最靠近的64的倍数。
可用的ip是从192.168.1.128到192.168.1.191 ,除去网络地址和广播地址和网关,所以可用的主机地址范围从192.168.1.130到192.168.1.190
绛旓細XP,WIN7绯荤粺杩愯寮濮嬨嬭缃嬬綉缁滆繛鎺ャ俉IN8锛學IN10绯荤粺鍦ㄧ數鑴戝彸涓嬭鐨勭綉缁滃浘鏍囦笂鐐瑰彸閿紝閫夋嫨鎵撳紑缃戠粶涓庡叡浜腑蹇冿紝閫夋嫨濡備笅鍥炬湰鍦拌繛鎺ユ垨鑰呬互澶綉銆傛渶缁堝湪internet鍗忚鐗堟湰锛圱CP/IPv4锛夊湪閲岄潰杈撳叆IP鍦板潃銆瀛愮綉鎺╃爜銆缃戝叧鍦板潃銆備笅闈㈢殑DNS濡傛灉涓鐭ラ亾灏卞~鍐欑綉鍏冲湴鍧銆
绛旓細妤间富鍘夊锛 灏忓紵鐚笂涓ょ鏂规硶锛 4鍙g殑璺敱鍙兘杩4鍙扮數鑴戠粍寤哄眬鍩熺綉杩欏父璇嗘病闂鍚с1銆佹湁绾胯繛鎺ャ傜涓姝ワ紝鍏堢‘璁ゆ槸鍚︽槸杩涙埛绾跨洿鎺ユ帴璺敱鍣ㄥ氨鍙互涓婄綉锛屼笉闇瑕佺尗锛佽繛鎺ュソ绾跨紗锛 鍒嗗埆璁剧疆4鍙皃c鐨刬p鍦板潃锛堝彸閿綉缁-灞炴-鏈湴杩炴帴-ipv4鍗忚锛夛細绗竴鍙癷p 192.168.0.100 瀛愮綉鎺╃爜榛樿255.255.255....
绛旓細鍦╓indows绯荤粺涓紝鏌ョ湅缃戝叧鍜屽瓙缃戞帺鐮鐨勬楠ゅ涓嬶細1銆佹墦寮鍛戒护鎻愮ず绗︺備綘鍙互閫氳繃鎸変笅Win+R閿紝杈撳叆cmd骞舵寜鍥炶溅鏉ユ墦寮鍛戒护鎻愮ず绗︺2銆佸湪鍛戒护鎻愮ず绗︿腑杈撳叆ipconfig锛岀劧鍚庢寜鍥炶溅閿3銆佸湪鏄剧ず鐨勭粨鏋滀腑锛屾壘鍒颁綘姝e湪浣跨敤鐨勭綉缁滈傞厤鍣紙閫氬父鏄疎thernet鎴朩i-Fi锛夛紝骞舵煡鐪嬪叾涓嬫柟鐨勯粯璁ょ綉鍏冲拰瀛愮綉鎺╃爜銆傚湪杩欎釜...
绛旓細璺敱鍣╓AN鍙d笂鎺ヤ粠浣犻偦灞呭鎷夎繃鏉ョ殑閭f牴绾匡紝鐧诲綍杩涜矾鐢卞櫒绠$悊椤甸潰鍚庯紝鎸夌収浣犵幇鍦ㄧ數鑴戜笂鐨勫弬鏁版潵閰嶇疆WAN鍙g殑鍙傛暟銆備箣鍚庡皢浣犵殑璺敱鍣ㄦ敼鎴愯窡浣犵數鑴慖P鍦板潃涓嶅悓缃戞鐨勫湴鍧锛屾瘮濡傚師鏉ョ數鑴戝湴鍧涓192.168.1.x缃戞锛屼綘鍙互鏇存敼涓172.168.1.x缃戞锛岀劧鍚庨厤缃垚dhcp鏂瑰紡鍒嗗湴鍧鍗冲彲銆
绛旓細榛樿缃戝叧鍜屽瓙缃戞帺鐮绠楀嚭IP鍦板潃鑼冨洿 棣栧厛瑕佹槑纭殑锛屽氨鏄瓙缃戞帺鐮併両P鍦板潃杩欎簺鍏跺疄閮芥槸浠ヤ簩杩涘埗鏉ヨ绠楃殑锛屽寘鎷綉鍏充篃鏄紝瀹冧滑閮芥槸4鑺8浣2杩涘埗鏁扮殑缁勫悎锛屽嵆0000 0000. 0000 0000. 0000 0000. 0000 0000~1111 1111. 1111 1111. 1111 1111. 1111 1111 瀛愮綉鎺╃爜涓庣綉鍏宠繘琛屸滀笌鈥濊繍绠楋紝鍙互寰楀埌瀛愮綉IP...
绛旓細ip鍓嶄笁浣嶆槸涓鏍风殑銆傚悗涓浣嶆槸浠1-254鐨勩傞櫎鍘缃戝叧ip鍜屼綘鐨刬p銆傚墿涓嬬殑閮芥湁鍙兘銆傚鏋瀛愮綉鎺╃爜鏄255.255.255.0璇濆氨鏄涓婅鐨勯偅浜涖
绛旓細闂浜:鐢佃剳鐨瀛愮綉鎺╃爜鍜岄粯璁缃戝叧鏄灏 瀛愮綉涓鑸殑灏辨槸255.255.255.255,瀹冩槸涓绉嶇敤鏉ユ寚鏄庝竴涓狪P鍦板潃鐨勫摢浜涗綅鏍囪瘑鐨勬槸涓绘満鎵鍦ㄧ殑瀛愮綉,浠ュ強鍝簺浣嶆爣璇嗙殑鏄富鏈虹殑浣嶆帺鐮併 缃戝叧瀹炶川涓婃槸涓涓綉缁滈氬悜鍏朵粬缃戠粶鐨 IP 鍦板潃銆傜綉鍏冲熀鏈笂鍙互璁や负灏辨槸璺敱鍣ㄧ殑鐧诲叆鍦板潃銆傛病鏀硅繃鐨勮瘽涓鑸槸192.168.0.1鎴栬192.168.1.1 闂...
绛旓細鍗曞嚮榧犳爣鍙抽敭骞堕夋嫨鈥滃睘鎬р濋夐」锛屽涓嬪浘鎵绀猴紝鐒跺悗杩涘叆涓嬩竴姝ャ4銆佺劧鍚庯紝瀹屾垚涓婅堪姝ラ鍚庯紝鍙屽嚮涓嬪浘涓孩妗嗘爣娉ㄧ殑閫夐」锛屽涓嬪浘鎵绀猴紝鐒跺悗杩涘叆涓嬩竴姝ャ5銆佹渶鍚庯紝瀹屾垚涓婅堪姝ラ鍚庯紝鎵撳紑ip鍜宒ns鐨勮缃獥鍙o紝灏卞彲浠ュ~鍐橧P鍦板潃銆瀛愮綉鎺╃爜鍜缃戝叧淇℃伅浜嗭紝濡備笅鍥炬墍绀恒傝繖鏍锛岄棶棰灏辫В鍐充簡銆
绛旓細瀛愮綉鎺╃爜涓255.255.255.192 鍒欙細姣忎釜瀛愮綉鐨処P鍦板潃鏁伴噺=256-192=64涓 鍗崇綉缁滆鍒掑垎涓4涓瓙缃戯紝鍒嗗埆涓 60.217.227.0-60.217.227.63 60.217.227.64-60.217.227.127 60.217.227.128-60.217.227.191 60.217.227.192-60.217.227.255 IP涓60.217.227.200鐨勪富鏈烘槸鍦ㄥ瓙缃60.217.227.192...
绛旓細1銆瀛愮綉鎺╃爜鍜缃戝叧鏄鐪嬫墍澶勭殑灞鍩熺綉鐨勮姹備簡锛岃繖涓病娉鐭ラ亾鐨勩2銆佹瘮濡傛渤鍗楃殑DNS鏄 202.102.224.68 202.102.227.68 鍏朵粬鍦板尯瑕佷笂缃戞煡鐨 3銆佷竴浜涘父鐢ㄧ殑璁剧疆鍙傝冧竴涓 瀛愮綉鎺╃爜涓鑸槸255.255.255.0 缃戝叧涓鑸槸 浣犵殑IP鍦板潃锛屾渶鍚庝竴娈垫敼鎴1锛屼緥濡傦細IP鏄192.168.0.123锛岄偅缃戝叧涓鑸槸192.168....