配置文件(Redhat)
/etc/sysconfig/network-scripts/* : 网卡
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/resolv.conf: DNS配置
命令行
ifconfig [eth0]
# ifconfig eth0 202.38.85.10 netmask 255.255.255.0 broadcast 202.38.85.255
ifup [eth0] 启动网卡
ifdown [eth0] 禁用网卡
图形界面
yum install netconfig
运行命令: system-config-network