Skip to content

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

조회 수 28571 추천 수 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/465/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
367 linux daemon (리눅스 데몬 설명) ADMINPLAY 2014-02-26 648334
366 대용량 HDD 파티셔닝(Mass storage Partitioning) (GPT 파... ADMINPLAY 2010-04-14 74893
365 FFMPEG를 가장쉽게 설치하는 방법(ffmpeg-php 등) ADMINPLAY 2010-05-03 67650
364 rrdtool 컴파일시 에러 configure: error: Please fix the... ADMINPLAY 2009-08-08 66015
363 커널 2.6으로 업그레이드!「A to Z」 ADMINPLAY 2009-08-08 65674
362 e2fsck - 파일 시스템 복구 및 검사. - fsck file ADMINPLAY 2010-09-12 60959
361 Maskrading ADMIN 2008-11-11 60036
360 시스템 백업과 응급 복구 ADMINPLAY 2009-05-11 59986
359 배치파일을 이용한 백업방법 l2zeo 2010-03-31 59627
358 리눅스 전원부터 부팅이 되기까지의 과정이해 ADMIN 2008-11-11 58878
357 리눅스 디렉토리 구조와 파티션 관리의 기본 ADMINPLAY 2009-05-22 58826
356 hdparm 세부옵션 ADMINPLAY 2012-01-16 56403
355 CentOS 설치 - VMware 상에서 CentOS 설치하기 file l2zeo 2010-02-24 52157
354 Red Hat Linux 9 ADMINPLAY 2009-09-24 51597
353 Dell OMSA 설치 및 이용방법 ADMINPLAY 2014-08-13 51119
352 2TB이상의 Disk를 사용한 Raid6 구성 ADMINPLAY 2015-08-08 47530
351 sulinux 1.0. 서버 패키지 리스트 ADMINPLAY 2011-04-30 46757
350 ORA-01031: insufficient privileges 오류 ADMINPLAY 2010-02-24 41074
349 [APM] 리눅스에서 Apache, PHP, MySQL 등 제거 방법 ADMINPLAY 2009-06-29 39450
348 AIX 필수 명령어 ADMINPLAY 2009-12-10 39189

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234