歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Unix知識 >> 關於Unix

redhat linux network setup

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

Copyright © Linux教程網 All Rights Reserved