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/315/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

[Fedora5]부트로더 설정하기

libc-client-2002e-8 패키지

강제로 언마운트 하기

  • ADMIN
  • 2008-11-11
  • 조회 수 20542

CentOS 리눅스에서 완벽 동영상 재생하기

[hdparm] 하드디스크 성능측정 file

Setting promiscuous mode

shell programming

  • l2zeo
  • 2010-03-08
  • 조회 수 20473

리눅스 클러스터링 LVS(Linux Virtual Server)

리눅스로그파일삭제 어떤걸삭제하나요?

find 와 grep을 잘 사용하자

리스너(Listener)란?

리눅스 시스템 log 파일 정리

Linux 서버에서 yum 으로 X-Window 설치하기

/var 디렉토리 용량이 갑자기!!!

MRTG 설치

[우분투] 노하드 서버 설정하기

커널패닉시 자동으로 리부팅되도록 설정

파일시스템 체크

rm -rf / ==> 그 결과는...ㄷㄷ;;

net-snmp-5.3.2.3

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234