Skip to content

고정아이피 설정하기(Ubuntu Server DIY )

조회 수 28540 추천 수 0 2010.02.20 17:14:26
관리자에게 IP , Gateway , Subnetmask, DNS 의 정보를 얻은 뒤
다 음 단계로 설정하였다.

1. 고정아이피 설정하기 
sudo vim /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 203.xxx.xxx.xxx
netmask 255.255.255.0
gateway 203.xxx.xxx.xxx


2. DNS 설정하기
sudo vim /etc/resolv.conf

domain xxx.com
search xxx.com
nameserver 203.xxx.xxx.xxx

nameserver 란에 관리자에게서 받은 DNS 주소를 입력한다. 내 경우 회사였기 때문에, domain이나 search 정보는 기본으로 잡혀있었다.

3. 변경된 설정 적용하기
sudo /etc/init.d/networking restart

이렇게 성공적으로 고정아이피가 설정되었다
profile

I see no changes, wake up in the morning and I ask myself

Is life worth living should I blast myself

Things would never be the same.

태그
엮인글 :
http://adminplay.com/5741/2c9/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
167 [Fedora5]부트로더 설정하기 ADMINPLAY 2009-07-08 20646
166 libc-client-2002e-8 패키지 ADMINPLAY 2009-06-01 20535
165 강제로 언마운트 하기 ADMIN 2008-11-11 20500
164 CentOS 리눅스에서 완벽 동영상 재생하기 ADMINPLAY 2009-09-24 20481
163 [hdparm] 하드디스크 성능측정 file ADMINPLAY 2010-05-03 20469
162 Setting promiscuous mode ADMINPLAY 2009-06-04 20434
161 shell programming l2zeo 2010-03-08 20424
160 리눅스로그파일삭제 어떤걸삭제하나요? ADMINPLAY 2009-07-02 20401
159 리눅스 클러스터링 LVS(Linux Virtual Server) ADMINPLAY 2009-11-04 20396
158 find 와 grep을 잘 사용하자 ADMINPLAY 2009-12-10 20374
157 리스너(Listener)란? ADMINPLAY 2010-01-29 20366
156 리눅스 시스템 log 파일 정리 ADMINPLAY 2009-05-22 20357
155 Linux 서버에서 yum 으로 X-Window 설치하기 ADMINPLAY 2010-03-24 20314
154 /var 디렉토리 용량이 갑자기!!! ADMINPLAY 2008-12-14 20237
153 MRTG 설치 ADMINPLAY 2009-07-01 20219
152 [우분투] 노하드 서버 설정하기 ADMINPLAY 2014-08-05 20159
151 커널패닉시 자동으로 리부팅되도록 설정 ADMINPLAY 2011-02-07 20119
150 파일시스템 체크 ADMINPLAY 2009-01-22 20116
149 rm -rf / ==> 그 결과는...ㄷㄷ;; ADMINPLAY 2009-03-17 20105
148 net-snmp-5.3.2.3 ADMINPLAY 2009-07-01 20104

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234