码迷,mamicode.com
首页 > 其他好文 > 详细

centos6 配置静态IP

时间:2017-05-23 11:16:23      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:ice   netmask   uuid   class   prot   ipaddr   names   ifcfg   res   

cat /etc/sysconfig/network-scripts/ifcfg-eth0 

  

DEVICE=eth0
HWADDR=08:00:27:52:55:0A
TYPE=Ethernet
UUID=06855d06-2d18-4ac0-a721-f5629f221642
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static

IPADDR=192.168.0.239
NETMASK=255.255.255.0

cat /etc/resolv.conf 

nameserver 114.114.114.114
nameserver 8.8.8.8

cat /etc/sysconfig/network

  

GATEWAY=192.168.0.1

 

centos6 配置静态IP

标签:ice   netmask   uuid   class   prot   ipaddr   names   ifcfg   res   

原文地址:http://www.cnblogs.com/shijiu520/p/6892866.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!