이 블로그 검색

일요일, 3월 11, 2012

Debian network setup

#vi /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcase 192.168.0.255
gateway 192.168.0.1
dns-nameservers 168.126.63.1 168.126.63.2


#ifup eth0

I have seen many how-to docs and they all instructs 'ifdown eth0' first.
I kept failing to do and now I found ifdown was not necessary because this process is separated from the real module eth0. I just simply ifup eth0 instead. I need to research about this a bit later.

댓글 없음:

댓글 쓰기