
087
第2章 仮想環境によるハッキング・ラボの構築
root@kali:~# vi /etc/network/interfaces
"/etc/network/interfaces" ファイル(編集前)
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# The secondary network interface
allow-hotplug eth1
iface eth1 inet dhcp
"/etc/network/interfaces" ファイル(編集後)
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.2
netmask 255.255.255.0
# The secondary network interface
allow-hotplug eth1
iface eth1 inet dhcp