ネットワークの設定
/etc/network/interfaces.d/eth0
で,以下の設定を記述する.
以下はIPアドレスを192.168.6.10に固定する例.addressを変えれば固定するIPアドレスを設定できる.
auto eth0:0
iface eth0:0 inet static
address 192.168.6.10
netmask 255.255.255.0
gateway 192.168.6.1
dns-nameservers 192.168.6.1 8.8.8.8