Linux ifconfig 可以用来配置网络接口的IP地址.掩码.网关.物理地址等:值得一说的是用Linux ifconfig 为网卡指定IP地址,这只是用来调试网络用的,并不会更改系统关于网卡的配置文件. 如果您想把网络接口的IP地址固定下来,目前有三个方法:一是通过各个发行和版本专用的工具来修改IP地址:二是直接修改网络接口的配置文件:三是修改特定的文件,加入Linux ifconfig 指令来指定网卡的IP地址,比如在redhat或Fedora中,把Linux ifconfig 的语名写