Skip to content

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

조회 수 28577 추천 수 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/3d0/trackback
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
327 CentOS 6.5 에서 VirtualBox 4.3 설치후 VirtualBox 구동... ADMINPLAY 2014-02-14 7830
326 VirtualBox 4.3 Released – Install on RHEL/CentOS/Fedor... ADMINPLAY 2014-02-14 7308
325 ctime, mtime, atime 다른 점 설명 ADMINPLAY 2014-02-07 5987
324 ZFS 파일에 ACL 설정 ADMINPLAY 2014-02-03 5338
323 ll 명령시 날짜 전체가 보이도록 하기 ADMINPLAY 2014-01-02 5483
322 ModSecurity 로그파일의 사이즈가 너무 큰데 이를 날짜나 ... file ADMINPLAY 2013-12-29 6570
321 top 화면 내용중 load average와 PRI : priority(우선순위... ADMINPLAY 2013-12-24 5200
320 hddtemp와 mrtg를 이용한 하드디스크 온도 체크 file ADMINPLAY 2013-12-19 5514
319 tar 압축을 실수로 디렉토리 생성 안하고 풀었을때 대처법 ADMINPLAY 2013-09-22 5462
318 windows smartctl ADMINPLAY 2013-09-22 5328
317 HDD Guardian (a graphical user interface for smartctl) ADMINPLAY 2013-09-22 4998
316 리눅스 벤치마크 프로그램 목록 ADMINPLAY 2013-09-09 7599
315 Adaptec 컨트롤러 StorMan 에러 및 각종 확인 방법 ADMINPLAY 2013-06-12 9031
314 linux 커널 파라메터 수정 ADMINPLAY 2013-05-12 5613
313 특정 데몬의 메모리 점유율 확인하기 ADMINPLAY 2013-05-12 6178
312 make 정리 ADMINPLAY 2013-05-12 5340
311 What are the bandwidth requirements for running a BigB... ADMINPLAY 2013-05-06 5967
310 스트리밍 서비스 위한 각 회사 와우자,어도비,마이크로 ... ADMINPLAY 2013-05-06 9930
309 파일비교 명령어 diff 사용법 ADMINPLAY 2013-05-03 9672
308 웹서버 트래픽 시각화 logstalgia l2zeo 2013-05-03 6116

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234