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/5d0/trackback
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
47 top 화면 내용중 load average와 PRI : priority(우선순위... ADMINPLAY 2013-12-24 5200
46 ModSecurity 로그파일의 사이즈가 너무 큰데 이를 날짜나 ... file ADMINPLAY 2013-12-29 6570
45 ll 명령시 날짜 전체가 보이도록 하기 ADMINPLAY 2014-01-02 5481
44 ZFS 파일에 ACL 설정 ADMINPLAY 2014-02-03 5336
43 ctime, mtime, atime 다른 점 설명 ADMINPLAY 2014-02-07 5987
42 VirtualBox 4.3 Released – Install on RHEL/CentOS/Fedor... ADMINPLAY 2014-02-14 7308
41 CentOS 6.5 에서 VirtualBox 4.3 설치후 VirtualBox 구동... ADMINPLAY 2014-02-14 7830
40 Strace - 시스템콜과 신호 추적 file ADMINPLAY 2014-02-25 6094
39 linux daemon (리눅스 데몬 설명) ADMINPLAY 2014-02-26 648446
38 디스크 UUID 변경후 하드부팅정보 수정하기 ADMINPLAY 2014-02-26 21064
37 Linux 마우스 휠 방향 바꾸기 (mac 처럼 마우스 휠 바꾸기) ADMINPLAY 2014-02-27 11901
36 vimrc 설정 file ADMINPLAY 2014-03-01 6145
35 telnet 과 ssh 의 차이점 ADMINPLAY 2014-03-01 6515
34 OS X 10.9 매버릭스의 기본 파일공유 프로토콜은 AFP가 아... ADMINPLAY 2014-03-04 11119
33 OS X 매버릭스가 NAS, 윈도우 PC 등 SMB 장비에 연결하지 ... ADMINPLAY 2014-03-04 6801
32 CentOS 6.X GUI 로그인 화면에서 로그인 했던 계정 리스트... ADMINPLAY 2014-03-05 16705
31 SVN 클라이언트 명령어 ADMINPLAY 2014-03-18 7493
30 python mysql connector 설치 및 SQLAachemy 연동 ADMINPLAY 2014-03-27 7934
29 python과 mysql 연동시 libmysqlclient_r.so.* 에러가 날 ... ADMINPLAY 2014-03-27 5592
28 CentOS 6.5 + Python2.7 + MySQL_Python-1.2.3 ADMINPLAY 2014-03-28 8010

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234