2010年2月6日土曜日

ubuntu server - IPアドレス、その他

/etc/network/interface

auto eth0
iface eth0 inet static
address 192.168.*.*
netmask 255.255.255.0
network 192.168.*.1
broadcast 192.168.*.255
gateway 192.168.*.1

を入力後

sudo /etc/init.d/networking restart

0 件のコメント: