본문 바로가기
  • AI (Artificial Intelligence)
Skills/RedHat, CentOS

CentOS 6.4 네트워크 설정

by 로샤스 2014. 4. 21.

■ CentOS 6.4 네트워크 설정

 

 

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

 

 DEVICE=eth0

 HWADDR=00:0C:29:CA:83:4C

 TYPE=Ethernet

 UUID=a8f9716e-3037-4451-b91f-99589246f3d7

 ONBOOT=yes

 NM_CONTROLLED=yes

 BOOTPROTO=static

 IPADDR=192.168.0.0

 NETMASK=255.255.255.255

 GATEWAY=192.168.0.1

 

 

 

# vi /etc/resolv.conf

 

 nameserver 168.126.63.1

 nameserver 168.126.63.2

 

 

 

# service network restart

 

 

 

 

 

 

 

 

 

 

 

 

 

출처 : http://blog.naver.com/allhana83?Redirect=Log&logNo=150178822858

 

 

 

 

 

 

 

 

 

댓글