# vi /etc/network/interface
** DHCP **
auto eth0
iface eth0 inet dhcp
** static ip **
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers xxx.xxx.xxx.xxx
** DHCP **
auto eth0
iface eth0 inet dhcp
** static ip **
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers xxx.xxx.xxx.xxx
'도서관 I > 리눅스' 카테고리의 다른 글
[바람이] 간단한 Shell 명령어 정리 (0) | 2006.09.02 |
---|---|
[바람이] mm_struct 에 대한 개요 (0) | 2005.09.28 |
[바람이] task의 순환 (Running , Ready , Blocked) (0) | 2005.09.28 |
[바람이] linux-2.6.12.3 중에 sched.h안에 task_struct 분석 (0) | 2005.09.28 |
[펌] 특정 유저의 shell 접속 차단 (0) | 2005.08.22 |