/etc/network/interfaces
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.
*
.
*
←PCのIPアドレス
network 192.168.
*
.0
netmask 255.255.255.0
broadcast 192.168.
*
.255
gateway 192.168.
*
.* ←ルーターのIPアドレス
赤色の
*
は同じ数字にする一般的には0