
固定IPを割り当てたBeagle Bone Blackがあります。私のインターフェースファイルは次のとおりです。
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 172.16.41.226
netmask 255.255.255.0
gateway 172.16.41.1
BBBには起動後に割り当てたIPがありますが、LANケーブルを抜いて再接続するとIPがなくなります。
ifconfig
このコマンドはIPを表示しませんeth0
。