System/Linux

[centos] network 설정

신씅 2014. 6. 19. 22:49

cd /etc/sysconfig/network-scripts/

vi ifcfg-eth{x}

service network restart


[고정 IP]

DEVICE=eth1

BOOTPROTO=static

NM_CONTROLLED=NO

ONBOOT=yes

TYPE=Ethernet

IPADDR=192.168.56.101


[유동 IP]

DEVICE=eth0

TYPE=Ethernet

ONBOOT=yes

NM_CONTROLLED=no

BOOTPROTO=dhcp



'System > Linux' 카테고리의 다른 글

Ubuntu - 방화벽 설정  (0) 2016.08.12
user 생성 및 password 변경  (0) 2014.06.22
password-less SSH  (0) 2014.06.20
[Linux] 방화벽 포트 제한  (0) 2012.02.24
[Linux] SVN 서버 구축  (0) 2012.02.24