redhat linux network setup

发表于:2007-05-26来源:作者:点击数: 标签:

network setup files (redhat fc 4)

网络配置命令(收藏)(http://chinaunix.net/jh/4/544660.html

/etc/hosts : host ip and host name

/etc/sysconfig/network  :  NETWORKING=yes ; HOSTNAME=localhost.localdomain

/etc/sysconfig/network-scripts/ifcfg-eth0 : DEVICE=eth0 ; HWADDR=00:0C:29:D0:23:80 ; ONBOOT=yes ; TYPE=Ethernet ; NETMASK=255.255.255.0 ; IPADDR=192.168.70.3 ; GATEWAY=192.168.70.2

/etc/resolv.conf : search localdomain ; nameserver  192.168.70.2

原文转自:http://www.ltesting.net