澶ф紶鑽掗|涓涓潚娴锋补鐢板瓙寮熺殑濂嬫枟鍙

涓涓潚娴锋补鐢板瓙寮熺殑濂嬫枟鍙

瀛︿範鎵瑰鐞嗕慨鏀 IP鍦板潃锛堟厧鐢紝闃蹭笂涓嶄簡缃戯級

| |
20:46 , 鍖楃含36搴
@echo.
@echo           -----------------------------------------
@echo            鏈懡浠ゅ皢鑷姩涓衡滄湰鍦拌繛鎺モ濆~鍐欎互涓嬪唴瀹:
@echo               IP鍦板潃锛192.168.0.118
@echo               缃戝叧锛  192.168.0.1
@echo               DNS:    202.96.128.86
@echo           -----------------------------------------
@echo.
@echo.
@echo 娌℃湁鎺ュ叆灞鍩熺綉鐨勭敤鎴凤紝寮鏈烘椂锛岀郴缁熷洜鎼滅储涓嶅埌IP鍦板潃锛岃繘绯荤粺鐨勯熷害绋嶆參锛岃鍦
@echo 鏈湴杩炴帴濉笂IP鍦板潃(浠绘剰)锛屽氨鍙姞蹇郴缁熺殑鍚姩閫熷害銆傛墍浠ユ湰鎵瑰鐞嗕粎鏄负鍗曟満鎷
@echo 鍙蜂笂缃戠殑鐢ㄦ埛鍑嗗鐨勶紝灞鍩熺綉鐢ㄦ埛璇蜂笉瑕佺悊浼氭湰鎵瑰鐞嗭紝涔辨敼鍙兘瀵艰嚧鎮ㄤ笂涓嶄簡缃戙
@echo.
@echo.
@ pause
@echo off
netsh interface ip set address name="鏈湴杩炴帴" source=static addr=192.168.0.118 mask=255.255.255.0 gateway=192.168.0.1 1
netsh interface ip set dns name="鏈湴杩炴帴" source=static addr=202.96.128.86


@echo.
@echo           -----------------------------------------
@echo            鏈懡浠ゅ皢鑷姩涓衡滄湰鍦拌繛鎺モ濆~鍐欎互涓嬪唴瀹:
@echo               IP鍦板潃锛192.168.1.118
@echo               缃戝叧锛  192.168.1.1
@echo               DNS:    202.96.128.86
@echo           -----------------------------------------
@echo.
@echo.
@echo 娌℃湁鎺ュ叆灞鍩熺綉鐨勭敤鎴凤紝寮鏈烘椂锛岀郴缁熷洜鎼滅储涓嶅埌IP鍦板潃锛岃繘绯荤粺鐨勯熷害绋嶆參锛岃鍦
@echo 鏈湴杩炴帴濉笂IP鍦板潃(浠绘剰)锛屽氨鍙姞蹇郴缁熺殑鍚姩閫熷害銆傛墍浠ユ湰鎵瑰鐞嗕粎鏄负鍗曟満鎷
@echo 鍙蜂笂缃戠殑鐢ㄦ埛鍑嗗鐨勶紝灞鍩熺綉鐢ㄦ埛璇蜂笉瑕佺悊浼氭湰鎵瑰鐞嗭紝涔辨敼鍙兘瀵艰嚧鎮ㄤ笂涓嶄簡缃戙
@echo.
@echo.
@ pause
@echo off
netsh interface ip set address name="鏈湴杩炴帴" source=static addr=192.168.1.118 mask=255.255.255.0 gateway=192.168.1.1 1
netsh interface ip set dns name="鏈湴杩炴帴" source=static addr=202.96.128.86
类别:MY IT TEXT | Tags: , | 0 条评论, 610 次阅读
网友评论(0):
发表评论:

鏄电О: 
鐢甸偖:
缃戝潃: