> CentOS > CentOS教程 >

centos6.5桌面版网络设置情况

DEVICE=eth0 
TYPE=Ethernet 
UUID=3769d1ce-fcb8-4cc9-b4f6-fb24204d10ef 
ONBOOT=yes 
NM_CONTROLLED=yes 
BOOTPROTO=none 
IPADDR=192.168.1.181 
PREFIX=24 
GATEWAY=192.168.1.1 
DNS1=192.168.1.1 
DEFROUTE=yes 
IPV4_FAILURE_FATAL=yes 
IPV6INIT=no 
NAME="System eth0" 
HWADDR=08:00:27:3D:53:C4 
LAST_CONNECT=1395584344 

NETWORKING=yes
HOSTNAME=centos2
NTPSERVERARGS=iburst 

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.181 centos2

# Generated by NetworkManager
nameserver 192.168.1.1

[root@centos2 ~]# nano /etc/sysconfig/network-scripts/ifcfg-eth0 
[root@centos2 ~]# nano /etc/sysconfig/network
[root@centos2 ~]# nano /etc/hosts
[root@centos2 ~]# nano /etc/hosts
[root@centos2 ~]# nano /etc/resolv.conf

(责任编辑:IT)