Thursday, May 26, 2005

windows之常用網路指令介紹(三)-- ipconfig

各位網友,這次介紹的是ipconfig
請在DOS模式下輸入
ipconfig /?
出現畫面
=============================================
Windows IP Configuration

Command line options:

/All - Display detailed information.

/Batch [file] - Write to file or ./WINIPCFG.OUT

/renew_all - Renew all adapters.

/release_all - Release all adapters.

/renew N - Renew adapter N.

/release N - Release adapter N.
============================================
較常用的有
ipconfig
出現如下
================================================
Windows IP Configuration
0 Ethernet adapter :
IP Address. . . . . . . . . : 192.168.1.30
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.1.1
1 Ethernet adapter :
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
2 Ethernet adapter :
IP Address. . . . . . . . . : 61.216.214.63
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 61.216.214.63
3 Ethernet adapter :
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
=================================================
從這可知道你的內部網路IP及上網的IP及相關設定
如果要詳細的資料可輸入
ipconfig /all


end........

0 Comments:

Post a Comment

<< Home