歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> redhat linux network setup

redhat linux network setup

日期:2017/3/6 15:29:06   编辑:關於Unix

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