Win7+xpÃüÁîÐÐ Ò»¼üÐÞ¸ÄIP¡¢DNS
¾³£Íù·µÓÚʵÑéÊÒµÄͬѧһ¶¨³£»áÓöµ½Ò»¸öÎÊÌ⣺ ËÞÉáµÄ·ÓÉÆ÷Ò»°ãÊÇ×Ô¶¯»ñÈ¡IP£¬ µ«ÊÇʵÑéÊÒÀïÃæÒ»°ãÊǾ²Ì¬IP¡£ ÿ´ÎÍù·µ£¬Ã¿Ìì¾ÍÒªÐ޸ģ¬ºÜÂé·³¡£ ÕâÀïÌṩÁËÒ»¸ö¼ò±ã·½·¨£º£¨¸Ã·½·¨ÎªWin7ϵģ¬XPϵļû×îºóÒ»ÐУ© µÚÒ»²½£ºÐ½¨Ò»¸ötxtÎļþ µÚ¶þ²½£ºÔÚÎļþÖÐÌí¼ÓÈçÏÂÄÚÈÝ£º netsh interface ip set address name="±¾µØÁ¬½Ó" source=static addr=10.60.37.99mask=255.255.255.0gateway=10.60.37.254 netsh interface ip set dns "±¾µØÁ¬½Ó" source=static addr=202.120.190.208 4¸öºìÉ«µÄ²¿·ÖÐèÒªÎÒÃǸù¾ÝÐèÒªÐ޸ģº 10.60.37.99 ÊÇIPµØÖ· 255.255.255.0 ÊÇÑÚÂëµØÖ· 10.60.37.254 ÊÇĬÈÏÍø¹Ø 202.120.190.208 ÊÇDNS µÚÈý²½£º½«txtÎļþµÄºó׺ÓÉ .txt ¸ÄΪ .cmd µÚËIJ½£ºÓÒ¼üµã»÷.cmdÎļþ£¬Ñ¡Ôñ¡°ÒÔ¹ÜÀíÔ±Éí·ÝÔËÐС± ´ó¹¦¸æ³É£¡ PS: Èç¹û»Øµ½ÇÞÊÒ£¬Ïë¸Ä»Ø×Ô¶¯»ñÈ¡IPºÍDNS£¬ Ö»Ðè´´½¨Ò»¸öеÄcmdÎļþ£¬ÄÚÈÝΪ£º netsh interface ip set address name="±¾µØÁ¬½Ó" source=dhcp netsh interface ip set dns name="±¾µØÁ¬½Ó" source=dhcp XPÖеÄÖ¸ÁîÉÔÓв»Í¬£º netsh interface ip set address name="±¾µØÁ¬½Ó" source=static addr=10.60.37.96 mask=255.255.255.0 netsh interface ip set address name="±¾µØÁ¬½Ó" gateway=10.60.37.254 gwmetric=0 netsh interface ip set dns "±¾µØÁ¬½Ó" source=static addr=202.120.190.208 |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |