Skip to content

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

조회 수 28575 추천 수 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/c29/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
47 System V 메시지 큐(Message Queue), 세마포어(Semaphore)... ADMINPLAY 2010-04-28 27371
46 악성코드 일괄 삭제 ADMINPLAY 2010-04-17 27453
45 리눅스 패키지 정보 확인 ADMINPLAY 2010-05-03 27678
44 FFmpeg ADMINPLAY 2010-05-03 27957
43 [linux] 리눅스에서 hostname 변경과 구동과정 ADMINPLAY 2010-12-16 28333
» 고정아이피 설정하기(Ubuntu Server DIY ) l2zeo 2010-02-20 28575
41 Http Live Streaming 으로 아이폰 동영상 서비스 ADMINPLAY 2012-02-07 29140
40 [Linux_CentOS_5.5] 텍스트 모드(Text mode)에서 해상도 변경 file ADMINPLAY 2011-02-11 29274
39 CentOS 5.3에서 samba구축방법 file l2zeo 2010-03-08 29508
38 ruby on rails 설치 (Ubuntu Server DIY ) l2zeo 2010-02-20 30477
37 Dstat - 모니터링 file ADMINPLAY 2009-10-30 30733
36 Apache 설치(Ubuntu Server DIY ) l2zeo 2010-02-20 31134
35 FFMpeg + rtspdump + segmenter 를 이용한 iPhone 스트리... ADMINPLAY 2012-02-07 31411
34 Cent OS-5.2 설치 문서 file l2zeo 2010-02-24 31839
33 가상화 (XEN & KVM) 리눅스 - CentOS 5.4 에서 XEN 설치 file ADMINPLAY 2010-03-24 32484
32 리눅스 서버 부하 점검 - htop 소스설치 file [3] ADMINPLAY 2010-09-12 32598
31 시스칼리지- 꿔니님의 클러스트링 강좌 l2zeo 2010-03-08 32820
30 HTTP Live Streaming 구축 ADMINPLAY 2012-02-07 33198
29 리눅스 IO 스케쥴러 변경하기 ADMINPLAY 2010-12-13 33224
28 [Ubuntu] 부팅시 시작되는 데몬 관리하기 – update-rc.d ADMINPLAY 2013-03-05 33285

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234